]> git.pld-linux.org Git - packages/perl-File-Cat.git/blob - perl-File-Cat.spec
1fb0327f69d921e8550551bbca8995a80b9398c4
[packages/perl-File-Cat.git] / perl-File-Cat.spec
1 %include        /usr/lib/rpm/macros.perl
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 License:        GPL
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
13 %requires_eq    perl
14 Requires:       %{perl_sitearch}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 File-Cat perl module - Perl implementation of cat(1).
19
20 %description -l pl
21 Modu³ perla File-Cat - cat(1) dla perla.
22
23 %prep
24 %setup -q -n File-Cat-%{version}
25
26 %build
27 perl Makefile.PL
28 make
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 make install DESTDIR=$RPM_BUILD_ROOT
33
34 (
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
38 )
39
40 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
41         Changes
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc Changes.gz
49
50 %{perl_sitelib}/File/Cat.pm
51 %{perl_sitearch}/auto/File/Cat
52
53 %{_mandir}/man3/*
This page took 0.046226 seconds and 3 git commands to generate.