3 %bcond_without tests # do not perform "make test"
5 %define pdir PatchReader
6 Summary: PatchReader - utilities to read and manipulate patches and CVS
7 Summary(pl.UTF-8): PatchReader - narzędzia do czytania i manipulowania łatami i CVS
11 # CVSClient.pm MPL v1.1, the other files do not contain any copyright info
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-authors/id/T/TM/TMANNERM/%{pdir}-%{version}.tar.gz
15 # Source0-md5: bd8da2388cd5ebc99a860b6d6bfeb8ad
16 URL: http://search.cpan.org/dist/PatchReader/
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.
27 %description -l pl.UTF-8
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 %{pdir}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/PatchReader.pm
54 %{perl_vendorlib}/PatchReader