]> git.pld-linux.org Git - packages/perl-Text-PDF.git/blob - perl-Text-PDF.spec
- added fix for File.pm
[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.13
6 Release:        2
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(de):      Entwicklung/Sprachen/Perl
10 Group(pl):      Programowanie/Jêzyki/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/Text-PDF-%{version}.tar.gz
12 Patch0:         %{name}-fix.patch
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRequires:  perl >= 5.6
15 BuildRequires:  perl-Compress-Zlib
16 BuildRequires:  perl-Font-TTF
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 %patch0 -p1
28
29 %build
30 perl Makefile.PL
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 gzip -9nf *txt
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc *.gz
46 %{perl_sitelib}/Text/PDF
47 %{_mandir}/man3/*
This page took 0.079376 seconds and 3 git commands to generate.