]>
Commit | Line | Data |
---|---|---|
79586db3 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
33a70f71 | 4 | |
c2d69ea7 | 5 | %define pdir PatchReader |
be5e52a8 | 6 | Summary: PatchReader - utilities to read and manipulate patches and CVS |
f6c96593 | 7 | Summary(pl.UTF-8): PatchReader - narzędzia do czytania i manipulowania łatami i CVS |
36b36c84 | 8 | Name: perl-PatchReader |
69e618f7 | 9 | Version: 0.9.6 |
02b058a3 | 10 | Release: 1 |
33a70f71 | 11 | # CVSClient.pm MPL v1.1, the other files do not contain any copyright info |
ee6b7e04 | 12 | License: unknown |
79586db3 | 13 | Group: Development/Languages/Perl |
69e618f7 SS |
14 | Source0: http://www.cpan.org/modules/by-authors/id/T/TM/TMANNERM/%{pdir}-%{version}.tar.gz |
15 | # Source0-md5: bd8da2388cd5ebc99a860b6d6bfeb8ad | |
33a70f71 | 16 | URL: http://search.cpan.org/dist/PatchReader/ |
79586db3 | 17 | BuildRequires: perl-devel >= 1:5.8.0 |
18 | BuildRequires: rpm-perlprov >= 4.1-13 | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
ee6b7e04 JB |
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. | |
79586db3 | 26 | |
82121ed9 JR |
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 | |
30 | łatach. | |
79586db3 | 31 | |
32 | %prep | |
36b36c84 | 33 | %setup -q -n %{pdir}-%{version} |
79586db3 | 34 | |
35 | %build | |
36 | %{__perl} Makefile.PL \ | |
37 | INSTALLDIRS=vendor | |
79586db3 | 38 | %{__make} |
39 | ||
40 | %{?with_tests:%{__make} test} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
79586db3 | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc Changes README | |
ee6b7e04 JB |
53 | %{perl_vendorlib}/PatchReader.pm |
54 | %{perl_vendorlib}/PatchReader | |
55 | %{_mandir}/man3/* |