1 %define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
2 Summary: File-Cat perl module
3 Summary(pl): Modu³ perla File-Cat
8 Group: Development/Languages/Perl
9 Group(pl): Programowanie/Jêzyki/Perl
10 Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/File/File-Cat-%{version}.tar.gz
11 BuildRequires: perl >= 5.005_03-10
13 Requires: %{perl_sitearch}
14 BuildRoot: /tmp/%{name}-%{version}-root
17 File-Cat perl module - Perl implementation of cat(1).
20 Modu³ perla File-Cat - cat(1) dla perla.
23 %setup -q -n File-Cat-%{version}
30 rm -rf $RPM_BUILD_ROOT
31 make install DESTDIR=$RPM_BUILD_ROOT
34 cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/File/Cat
35 sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
36 mv .packlist.new .packlist
39 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
49 %{perl_sitelib}/File/Cat.pm
50 %{perl_sitearch}/auto/File/Cat