1 %include /usr/lib/rpm/macros.perl
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 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/File/File-Cat-%{version}.tar.gz
11 BuildRequires: rpm-perlprov >= 3.0.3-16
12 BuildRequires: perl >= 5.005_03-14
14 Requires: %{perl_sitearch}
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 File-Cat perl module - Perl implementation of cat(1).
21 Modu³ perla File-Cat - cat(1) dla perla.
24 %setup -q -n File-Cat-%{version}
31 rm -rf $RPM_BUILD_ROOT
32 make install DESTDIR=$RPM_BUILD_ROOT
35 cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/File/Cat
36 sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
37 mv .packlist.new .packlist
40 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
50 %{perl_sitelib}/File/Cat.pm
51 %{perl_sitearch}/auto/File/Cat