]> git.pld-linux.org Git - packages/perl-Text-PDF.git/blob - perl-Text-PDF.spec
cleanup; revision++
[packages/perl-Text-PDF.git] / perl-Text-PDF.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Text
3 %define pnam    PDF
4 Summary:        Text-PDF perl module
5 Summary(pl):    Modu³ perla Text-PDF
6 Name:           perl-Text-PDF
7 Version:        0.18
8 Release:        3
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 Patch0:         %{name}-fix.patch
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRequires:  perl >= 5.6.1
15 BuildRequires:  perl-Compress-Zlib
16 BuildRequires:  perl-Font-TTF
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Text-PDF - PDF manipulation module.
22
23 %description -l pl
24 Text-PDF umo¿liwia operowanie na plikach PDF.
25
26 %prep
27 %setup -q -n %{pdir}-%{pnam}-%{version}
28 %patch0 -p1
29
30 %build
31 perl Makefile.PL
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38
39 gzip -9nf *txt
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc *.gz
47 %{perl_sitelib}/Text/PDF
48 %{_mandir}/man3/*
This page took 0.10022 seconds and 4 git commands to generate.