3 %bcond_without tests # do not perform "make test"
7 Summary: SVN::Look - A caching wrapper aroung the svnlook command
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
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} pure_install \
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorlib}/SVN/Look.pm
55 %{_mandir}/man3/SVN::Look.3pm*