Author: glen Date: Tue Jan 11 08:20:17 2011 GMT Module: packages Tag: HEAD ---- Log message: - created with pldcpan
---- Files affected: packages/perl-SVN-Look: perl-SVN-Look.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-SVN-Look/perl-SVN-Look.spec diff -u /dev/null packages/perl-SVN-Look/perl-SVN-Look.spec:1.1 --- /dev/null Tue Jan 11 09:20:17 2011 +++ packages/perl-SVN-Look/perl-SVN-Look.spec Tue Jan 11 09:20:12 2011 @@ -0,0 +1,64 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" + +%define pdir SVN +%define pnam Look +%include /usr/lib/rpm/macros.perl +Summary: SVN::Look - A caching wrapper aroung the svnlook command +Name: perl-SVN-Look +Version: 0.20 +Release: 1 +# "same as perl" +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-authors/id/G/GN/GNUSTAVO/modules/SVN-Look-%{version}.tar.gz +# Source0-md5: 12537712a54aaa23f5d15d8fe023147d +URL: http://search.cpan.org/dist/SVN-Look/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The svnlook command is the workhorse of Subversion hook scripts, being +used to gather all sorts of information about a repository, its +revisions, and its transactions. This script provides a simple object +oriented interface to a specific svnlook invocation, to make it easier +to hook writers to get and use the information they need. Moreover, +all the information gathered buy calling the svnlook command is cached +in the object, avoiding repetitious calls. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/SVN/Look.pm +%{_mandir}/man3/SVN::Look.3pm* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/01/11 08:20:12 glen +- created with pldcpan ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
