1 %include /usr/lib/rpm/macros.perl
3 %define pnam PreProcessor
4 Summary: Devel::PreProcessor - module inlining and other Perl source manipulations
5 Summary(pl.UTF-8): Devel::PreProcessor - moduł osadzający i inne manipulacje na źródłach w Perlu
6 Name: perl-Devel-PreProcessor
10 # README says it is Artistic only
11 License: GPL v1+ or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5: 1bb472d159833263085b44d866381deb
15 Patch0: %{name}-paths.patch
16 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Devel::PreProcessor is a Perl module that prforms inlining and other
23 Perl source manipulations.
25 %description -l pl.UTF-8
26 Moduł Perla Devel::PreProcessor obsługuje osadzanie kodu i inne
27 manipulacje na kodzie źródłowym w Perlu.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Devel/PreProcessor.pm