]> git.pld-linux.org Git - packages/perl-Text-PDF.git/blame - perl-Text-PDF.spec
- tabs in preamble
[packages/perl-Text-PDF.git] / perl-Text-PDF.spec
CommitLineData
51a70055 1#
2# Conditional build:
b065d9f8 3%bcond_without tests # do not perform "make test"
51a70055 4#
33913a7c 5%include /usr/lib/rpm/macros.perl
4d7a3d0e 6%define pdir Text
7%define pnam PDF
d4c5c800 8Summary: Text::PDF perl module
9e5f854e 9Summary(pl.UTF-8): Moduł perla Text::PDF
2d544272 10Name: perl-Text-PDF
1ae77168 11%define base_version 0.29
12Version: %{base_version}a
74c73c1f 13Release: 1
51923aca 14# one module mentions License=Artistic
15License: Artistic
2d544272 16Group: Development/Languages/Perl
048dd26d 17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
1ae77168 18# Source0-md5: 2fdf4c3170e53a083715888237914a9b
599a26af 19Patch0: %{name}-fix.patch
5852d9f2 20BuildRequires: perl-devel >= 1:5.8.0
2d544272 21BuildRequires: perl-Compress-Zlib
cea9f8b0 22BuildRequires: perl-Font-TTF
c4f1b2e8 23BuildRequires: rpm-perlprov >= 4.1-13
176b8da9 24BuildArch: noarch
77ce7f3a 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
2d544272 26
27%description
d4c5c800 28Text::PDF - PDF manipulation module.
2d544272 29
ed1dd429
JR
30%description -l pl.UTF-8
31Text::PDF umożliwia operowanie na plikach PDF.
2d544272 32
33%prep
1ae77168 34%setup -q -n %{pdir}-%{pnam}-%{base_version}
599a26af 35%patch0 -p1
2d544272 36
37%build
c4f1b2e8 38%{__perl} Makefile.PL \
79c91147 39 INSTALLDIRS=vendor
37ef21b4 40%{__make}
b065d9f8 41
42%{?with_tests:%{__make} test}
2d544272 43
44%install
45rm -rf $RPM_BUILD_ROOT
2d544272 46
b065d9f8 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
2d544272 49
2d544272 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
51a70055 55%doc *txt lib/Text/PDF/changes
15d7b263 56%attr(755,root,root) %{_bindir}/*
1ae77168 57%{perl_vendorlib}/Text/PDF.pm
c4f1b2e8 58%dir %{perl_vendorlib}/Text/PDF
59%{perl_vendorlib}/Text/PDF/*.pm
2d544272 60%{_mandir}/man3/*
This page took 0.295287 seconds and 4 git commands to generate.