]> git.pld-linux.org Git - packages/perl-File-Cat.git/blob - perl-File-Cat.spec
1cd2f76da55b923f25406a1cb94f71bf8f85c3c2
[packages/perl-File-Cat.git] / perl-File-Cat.spec
1 %define         perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
2 Summary:        File-Cat perl module
3 Summary(pl):    Modu³ perla File-Cat
4 Name:           perl-File-Cat
5 Version:        1.2
6 Release:        3
7 Copyright:      GPL
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
12 %requires_eq    perl
13 Requires:       %{perl_sitearch}
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 File-Cat perl module - Perl implementation of cat(1).
18
19 %description -l pl
20 Modu³ perla File-Cat - cat(1) dla perla.
21
22 %prep
23 %setup -q -n File-Cat-%{version}
24
25 %build
26 perl Makefile.PL
27 make
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 make install DESTDIR=$RPM_BUILD_ROOT
32
33 (
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
37 )
38
39 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
40         Changes
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Changes.gz
48
49 %{perl_sitelib}/File/Cat.pm
50 %{perl_sitearch}/auto/File/Cat
51
52 %{_mandir}/man3/*
This page took 0.031379 seconds and 3 git commands to generate.