packages: perl-File-Listing/perl-File-Listing.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Sat Mar 12 12:21:30 CET 2011
Author: qboosh Date: Sat Mar 12 11:21:30 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-File-Listing:
perl-File-Listing.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-File-Listing/perl-File-Listing.spec
diff -u /dev/null packages/perl-File-Listing/perl-File-Listing.spec:1.1
--- /dev/null Sat Mar 12 12:21:30 2011
+++ packages/perl-File-Listing/perl-File-Listing.spec Sat Mar 12 12:21:25 2011
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir File
+%define pnam Listing
+%include /usr/lib/rpm/macros.perl
+Summary: File::Listing - parse directory listing
+Summary(pl.UTF-8): File::Listing - analiza listingu katalogu
+Name: perl-File-Listing
+Version: 6.00
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 24de3a0be854ce5d1f8879992882b050
+URL: http://search.cpan.org/dist/File-Listing/
+BuildRequires: perl-devel >= 1:5.8.8
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-HTTP-Date >= 6
+%endif
+Conflicts: perl-libwww < 6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module exports a single function called parse_dir(), which can be
+used to parse directory listings.
+
+%description -l pl.UTF-8
+Ten moduł eksportuje jedną funkcję: parse_dir(), służącą do analizy
+listingów katalogó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}/File/Listing.pm
+%{_mandir}/man3/File::Listing.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/12 11:21:25 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list