]> git.pld-linux.org Git - packages/perl-SVN-Look.git/blob - perl-SVN-Look.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SVN-Look.git] / perl-SVN-Look.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    SVN
6 %define         pnam    Look
7 Summary:        SVN::Look - A caching wrapper aroung the svnlook command
8 Name:           perl-SVN-Look
9 Version:        0.39
10 Release:        1
11 # "same as perl"
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  48d0443d0bb2c4a79c3141e553e699b6
16 URL:            http://search.cpan.org/dist/SVN-Look/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  perl-XML-Simple
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  subversion
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 The svnlook command is the workhorse of Subversion hook scripts, being
26 used to gather all sorts of information about a repository, its
27 revisions, and its transactions. This script provides a simple object
28 oriented interface to a specific svnlook invocation, to make it easier
29 to hook writers to get and use the information they need. Moreover,
30 all the information gathered buy calling the svnlook command is cached
31 in the object, avoiding repetitious calls.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} pure_install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %{perl_vendorlib}/SVN/Look.pm
55 %{_mandir}/man3/SVN::Look.3pm*
This page took 0.097483 seconds and 4 git commands to generate.