Author: glen                         Date: Tue Jan 11 08:32:58 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- created with pldcpan

---- Files affected:
packages/perl-SVN-Hooks:
   perl-SVN-Hooks.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-SVN-Hooks/perl-SVN-Hooks.spec
diff -u /dev/null packages/perl-SVN-Hooks/perl-SVN-Hooks.spec:1.1
--- /dev/null   Tue Jan 11 09:32:58 2011
+++ packages/perl-SVN-Hooks/perl-SVN-Hooks.spec Tue Jan 11 09:32:52 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+
+%define                pdir    SVN
+%define                pnam    Hooks
+%include       /usr/lib/rpm/macros.perl
+Summary:       SVN::Hooks - A framework for implementing Subversion hooks
+Name:          perl-SVN-Hooks
+Version:       0.32
+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-Hooks-%{version}.tar.gz
+# Source0-md5: 8a9768120374a41eeb1f5386e69cf209
+URL:           http://search.cpan.org/dist/SVN-Hooks/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Email-Send
+BuildRequires: perl-Email-Simple
+BuildRequires: perl-JIRA-Client
+BuildRequires: perl-SOAP-Lite
+BuildRequires: perl-SVN-Look
+BuildRequires: perl-SVN-Notify
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A single, simple script can be used as any kind of Subversion hook.
+
+%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 TODO
+%{_mandir}/man3/SVN::Hooks*.3pm*
+%{perl_vendorlib}/SVN/Hooks.pm
+%{perl_vendorlib}/SVN/Hooks
+
+%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:32:52  glen
+- created with pldcpan
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to