3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 %define pnam PatchReader
7 Summary: PatchReader - utilities to read and manipulate patches and CVS
8 Summary(pl): PatchReader - narzêdzia do czytania i manipulowania ³atami i CVS
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-authors/id/J/JK/JKEISER/%{pnam}-%{version}.tar.gz
15 # Source0-md5: c0d48aa7025426ac4da04edcccccd8b0
16 URL: http://search.cpan.org/~jkeiser/PatchReader-0.9.2/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This Perl library allows you to manipulate patches programmatically by
24 chaining together a variety of objects that read, manipulate, and
25 output patch information.
28 Ten modu³ Perla pozwala programowo manipulowaæ ³atami poprzez ³±czenie
29 obiektów czytaj±cych, modyfikuj±cych i zwracaj±cych informacje o
33 %setup -q -n %{pnam}-%{version}
36 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/PatchReader.pm
56 %{perl_vendorlib}/PatchReader