]> git.pld-linux.org Git - packages/perl-Text-PDF.git/blob - perl-Text-PDF.spec
- spec adapterized.
[packages/perl-Text-PDF.git] / perl-Text-PDF.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Text-PDF perl module
3 Summary(pl):    Modu³ perla Text-PDF
4 Name:           perl-Text-PDF
5 Version:        0.07
6 Release:        1
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/Text/Text-PDF-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 BuildRequires:  perl-Compress-Zlib
14 BuildRequires:  perl-Font-TTF
15 %requires_eq    perl
16 Requires:       %{perl_sitearch}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Text-PDF - PDF manipulation module.
21
22 %description -l pl
23 Text-PDF umo¿liwia operowanie na plikach PDF.
24
25 %prep
26 %setup -q -n Text-PDF-%{version}
27
28 %build
29 perl Makefile.PL
30 make
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 make install DESTDIR=$RPM_BUILD_ROOT
35
36 (
37   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Text/PDF
38   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
39   mv .packlist.new .packlist
40 )
41
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
43         *txt
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc readme.txt.gz
51
52 %{perl_sitelib}/Text/PDF
53 %{perl_sitearch}/auto/Text/PDF
54
55 %{_mandir}/man3/*
This page took 0.030784 seconds and 3 git commands to generate.