]> git.pld-linux.org Git - packages/perl-PatchReader.git/blob - perl-PatchReader.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-PatchReader.git] / perl-PatchReader.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
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
8 Name:           perl-PatchReader
9 Version:        0.9.6
10 Release:        1
11 # CVSClient.pm MPL v1.1, the other files do not contain any copyright info
12 License:        unknown
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
26
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.
31
32 %prep
33 %setup -q -n %{pdir}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
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
53 %{perl_vendorlib}/PatchReader.pm
54 %{perl_vendorlib}/PatchReader
55 %{_mandir}/man3/*
This page took 0.095973 seconds and 4 git commands to generate.