forked from pool/perl-File-Next
53 lines
1.1 KiB
RPMSpec
53 lines
1.1 KiB
RPMSpec
![]() |
# norootforbuild
|
||
|
|
||
|
Name: perl-File-Next
|
||
|
Version: 1.02
|
||
|
Release: 0
|
||
|
Summary: File-Finding Iterator
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/File-Next-1.02.tar.gz
|
||
|
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:
|