Search
j0ke.net Open Build Service
>
Projects
>
devel
:
subversion
>
svnnotify
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
perl-SVN-Notify.spec
@@ -0,0 +1,77 @@ +# norootforbuild + +Name: perl-SVN_Notify +Version: 2.65 +Release: 0 +Summary: Subversion activity notification +License: GPL, Artistic License +Group: Development/Libraries/Perl +Url: http://search.cpan.org/~dwheeler/SVN-Notify/ +# Source0: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz +Source0: SVN-Notify-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Packager: Richard Bos <richard@radoeka.nl> + +Requires: perl = %{perl_version} +BuildRequires: perl +BuildRequires: perl-Module-Build + + +%description +svnnotify is an application for Subversion activity notification. There ar +a number of different modes supported. By default, A list of all the files +affected by the commit will be assembled and listed in a single message. +An additional option allows diffs to be calculated for the changes and either +appended to the message or added as an attachment. + +To use svnnotify, simply add a call to svnnotify to your Subversion +repository's post-commit script. + +Author: +------- + David Wheeler + +%prep +%setup -q -n SVN-Notify-%{version} + +%build +%__perl Makefile.PL destdir=%{buildroot} +%__make +%__make test + +%install +make DESTDIR=$RPM_BUILD_ROOT install +%perl_process_packlist + +%clean +# %__rm -rf %{BuildRoot} + +%files +%defattr(-, root, root) +%doc Changes README +%{_bindir}/svnnotify +%{_mandir}/man1/svnnotify.1.gz +%{_mandir}/man3/SVN::Notify*.3pm.gz +%{perl_sitelib}/SVN/Notify.pm +%{perl_sitelib}/SVN/Notify/Alternative.pm +%{perl_sitelib}/SVN/Notify/HTML.pm +%{perl_sitelib}/SVN/Notify/HTML/ColorDiff.pm +# The suse_version check can be removed when SLES 9 is discontinued +%if 0%{?suse_version} > 910 +%ifarch %{ix86} +%{perl_sitelib}/i586-linux-thread-multi/auto/SVN/Notify/.packlist +%endif +%ifarch x86_64 +%{perl_sitelib}/x86_64-linux-thread-multi/auto/SVN/Notify/.packlist +%endif +%endif + +%changelog +* Sat May 26 2007 Richard Bos <richard@radoeka.nl> - 2.65 +- Added destdir={buildroot} to the __perl Makefile.PL to make it build + for older versions +- Added if 0{?suse_version} > 910 check to make it build for SLES 9 +* Fri May 25 2007 Richard Bos <richard@radoeka.nl> - 2.65 +- initial build + +