packages: perl-Package-DeprecationManager/perl-Package-DeprecationManager.s...
qboosh
qboosh at pld-linux.org
Tue Mar 1 20:00:33 CET 2011
Author: qboosh Date: Tue Mar 1 19:00:33 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Package-DeprecationManager:
perl-Package-DeprecationManager.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Package-DeprecationManager/perl-Package-DeprecationManager.spec
diff -u /dev/null packages/perl-Package-DeprecationManager/perl-Package-DeprecationManager.spec:1.1
--- /dev/null Tue Mar 1 20:00:33 2011
+++ packages/perl-Package-DeprecationManager/perl-Package-DeprecationManager.spec Tue Mar 1 20:00:28 2011
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Package
+%define pnam DeprecationManager
+%include /usr/lib/rpm/macros.perl
+Summary: Package::DeprecationManager - manage deprecation warnings for your distribution
+Summary(pl.UTF-8): Package::DeprecationManager - zarządzanie ostrzeżeniami o przestarzałych elementach
+Name: perl-Package-DeprecationManager
+Version: 0.10
+Release: 1
+License: Artistic 2.0
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz
+# Source0-md5: a2efce2d3098e2ddc1dc87f89d1aa8b2
+URL: http://search.cpan.org/dist/Package-DeprecationManager/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-List-MoreUtils
+BuildRequires: perl-Params-Util
+BuildRequires: perl-Sub-Install
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Requires
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module allows you to manage a set of deprecations for one or more
+modules.
+
+%description -l pl.UTF-8
+Ten moduł pozwala na zarządzanie zbiorem przestarzałych elementów dla
+jednego lub większej liczby modułów.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Package/DeprecationManager.pm
+%{_mandir}/man3/Package::DeprecationManager.3pm*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/03/01 19:00:28 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list