Author: draenog                      Date: Mon Nov 30 19:17:53 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial release

---- Files affected:
packages/perl-File-Next:
   perl-File-Next.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-File-Next/perl-File-Next.spec
diff -u /dev/null packages/perl-File-Next/perl-File-Next.spec:1.1
--- /dev/null   Mon Nov 30 20:17:53 2009
+++ packages/perl-File-Next/perl-File-Next.spec Mon Nov 30 20:17:48 2009
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    File
+%define        pnam    Next
+Summary:       File::Next - File-finding iterator
+Name:          perl-File-Next
+Version:       1.06
+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: 8d901b18e40c477acd18a6ea0fd7de64
+URL:           http://search.cpan.org/dist/File-Next/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Pod
+BuildRequires: perl-Test-Pod-Coverage
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+File::Next is an iterator-based module for finding files. It's
+lightweight, has no dependencies, runs under taint mode, and puts your
+program more directly in control of file selection.
+
+It's taken heavily from Mark Jason Dominus' excellent book "Higher
+Order Perl". http://hop.perl.plover.com/
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?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/Next.pm
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/11/30 19:17:48  draenog
+- initial release
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to