2008-03-25 17:15:28 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-File-Next
|
2010-11-10 14:15:36 +00:00
|
|
|
Version: 1.06
|
2008-03-25 17:15:28 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: File-Finding Iterator
|
2010-11-10 14:15:36 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/File-Next-1.06.tar.gz
|
2008-03-25 17:15:28 +00:00
|
|
|
URL: http://search.cpan.org/dist/File-Next/
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
|
|
Requires: perl
|
|
|
|
BuildRequires: make perl
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "File-Next-%{version}"
|
|
|
|
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/File
|
|
|
|
%{perl_vendorlib}/File/Next.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/File
|
|
|
|
%{perl_vendorarch}/auto/File/Next
|
|
|
|
%doc %{perl_man3dir}/File::Next.%{perl_man3ext}*
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue Mar 25 2008 Pascal Bleser <guru@unixtech.be> 1.02
|
|
|
|
- new package
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# mode: rpm-spec
|
|
|
|
# tab-width: 3
|
|
|
|
# End:
|