packages: perl-SVN-Notify/perl-SVN-Notify.spec (NEW) - created with pldcpan

glen glen at pld-linux.org
Tue Jan 11 09:25:51 CET 2011


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

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

---- Diffs:

================================================================
Index: packages/perl-SVN-Notify/perl-SVN-Notify.spec
diff -u /dev/null packages/perl-SVN-Notify/perl-SVN-Notify.spec:1.1
--- /dev/null	Tue Jan 11 09:25:51 2011
+++ packages/perl-SVN-Notify/perl-SVN-Notify.spec	Tue Jan 11 09:25:46 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%define		pdir	SVN
+%define		pnam	Notify
+%include	/usr/lib/rpm/macros.perl
+Summary:	SVN::Notify - Subversion activity notification
+Name:		perl-SVN-Notify
+Version:	2.80
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz
+# Source0-md5:	a91d42660ffd46a224cac95e2d17f016
+URL:		http://search.cpan.org/dist/SVN-Notify/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This class may be used for sending email messages for Subversion
+repository activity.
+
+There are a number of different modes supported, and SVN::Notify is
+fully subclassable, to add new functionality, and offers comprehensive
+content filtering to easily modify the format of its messages.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%attr(755,root,root) %{_bindir}/svnnotify
+%{_mandir}/man1/svnnotify.1p*
+%{_mandir}/man3/SVN::Notify*.3pm*
+%{perl_vendorlib}/SVN/Notify.pm
+%{perl_vendorlib}/SVN/Notify
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/01/11 08:25:46  glen
+- created with pldcpan
================================================================


More information about the pld-cvs-commit mailing list