Logoj0ke.net Open Build Service > Projects > devel:subversion > svnnotify > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added perl-SVN-Notify.spec
x
 
1
@@ -0,0 +1,77 @@
2
+# norootforbuild
3
+
4
+Name:          perl-SVN_Notify
5
+Version:       2.65
6
+Release:       0
7
+Summary:       Subversion activity notification
8
+License:       GPL, Artistic License
9
+Group:         Development/Libraries/Perl
10
+Url:           http://search.cpan.org/~dwheeler/SVN-Notify/
11
+# Source0:     http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz
12
+Source0:       SVN-Notify-%{version}.tar.gz
13
+BuildRoot:     %{_tmppath}/%{name}-%{version}-build
14
+Packager:      Richard Bos <richard@radoeka.nl>
15
+
16
+Requires:      perl = %{perl_version}
17
+BuildRequires:     perl
18
+BuildRequires:     perl-Module-Build
19
+
20
+
21
+%description
22
+svnnotify is an application for Subversion activity notification. There ar
23
+a number of different modes supported. By default, A list of all the files
24
+affected by the commit will be assembled and listed in a single message.
25
+An additional option allows diffs to be calculated for the changes and either
26
+appended to the message or added as an attachment.
27
+ 
28
+To use svnnotify, simply add a call to svnnotify to your Subversion
29
+repository's post-commit script.
30
+
31
+Author:
32
+-------
33
+   David Wheeler
34
+
35
+%prep
36
+%setup -q -n SVN-Notify-%{version}
37
+
38
+%build
39
+%__perl Makefile.PL destdir=%{buildroot}
40
+%__make
41
+%__make test
42
+
43
+%install
44
+make DESTDIR=$RPM_BUILD_ROOT install
45
+%perl_process_packlist
46
+
47
+%clean
48
+# %__rm -rf %{BuildRoot}
49
+
50
+%files
51
+%defattr(-, root, root)
52
+%doc Changes README
53
+%{_bindir}/svnnotify
54
+%{_mandir}/man1/svnnotify.1.gz
55
+%{_mandir}/man3/SVN::Notify*.3pm.gz
56
+%{perl_sitelib}/SVN/Notify.pm
57
+%{perl_sitelib}/SVN/Notify/Alternative.pm
58
+%{perl_sitelib}/SVN/Notify/HTML.pm
59
+%{perl_sitelib}/SVN/Notify/HTML/ColorDiff.pm
60
+# The suse_version check can be removed when SLES 9 is discontinued
61
+%if 0%{?suse_version} > 910
62
+%ifarch %{ix86}
63
+%{perl_sitelib}/i586-linux-thread-multi/auto/SVN/Notify/.packlist
64
+%endif
65
+%ifarch x86_64
66
+%{perl_sitelib}/x86_64-linux-thread-multi/auto/SVN/Notify/.packlist
67
+%endif
68
+%endif
69
+
70
+%changelog
71
+* Sat May 26 2007 Richard Bos <richard@radoeka.nl> - 2.65
72
+- Added destdir={buildroot} to the __perl Makefile.PL to make it build
73
+  for older versions
74
+- Added if 0{?suse_version} > 910 check to make it build for SLES 9
75
+* Fri May 25 2007 Richard Bos <richard@radoeka.nl> - 2.65
76
+- initial build
77
+
78
+
79