Explorar o código

add more companion modules to SVN::Notify

Ralf S. Engelschall %!s(int64=17) %!d(string=hai) anos
pai
achega
7a60612162
Modificáronse 1 ficheiros con 40 adicións e 4 borrados
  1. 40 4
      svnnotify/svnnotify.spec

+ 40 - 4
svnnotify/svnnotify.spec

@@ -22,9 +22,13 @@
 ##
 
 #   package version
-%define       V_svn_notify        2.78
-%define       V_svn_notify_config 0.0911
-%define       V_svn_notify_mirror 0.038
+%define       V_svn_notify                        2.78
+%define       V_svn_notify_config                 0.0911
+%define       V_svn_notify_mirror                 0.038
+%define       V_svn_notify_snapshot               0.04
+%define       V_svn_notify_filter_authzmail       1.01
+%define       V_svn_notify_filter_emailflatfiledb 1.01
+%define       V_svn_notify_filter_watchers        0.09
 
 #   package information
 Name:         svnnotify
@@ -37,7 +41,7 @@ Class:        EVAL
 Group:        SCM
 License:      GPL/Artistic
 Version:      %{V_svn_notify}
-Release:      20080924
+Release:      20081026
 
 #   package options
 %option       with_config  yes
@@ -47,6 +51,10 @@ Release:      20080924
 Source0:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-%{V_svn_notify}.tar.gz
 Source1:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Config-%{V_svn_notify_config}.tar.gz
 Source2:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Mirror-%{V_svn_notify_mirror}.tar.gz
+Source3:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Snapshot-%{V_svn_notify_snapshot}.tar.gz
+Source4:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Filter-AuthZMail-%{V_svn_notify_filter_authzmail}.tar.gz
+Source5:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Filter-EmailFlatFileDB-%{V_svn_notify_filter_emailflatfiledb}.tar.gz
+Source6:      http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Filter-Watchers-%{V_svn_notify_filter_watchers}.tar.gz
 Patch0:       svnnotify.patch
 
 #   build information
@@ -93,6 +101,26 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/SVN/
         regex     = SVN-Notify-Mirror-(__VER__)\.tar\.gz
     }
+    prog svnnotify:SVN-Notify-Snapshot = {
+        version   = %{V_svn_notify_snapshot}
+        url       = http://www.cpan.org/modules/by-module/SVN/
+        regex     = SVN-Notify-napshot-(__VER__)\.tar\.gz
+    }
+    prog svnnotify:SVN-Notify-Filter-AuthZMail = {
+        version   = %{V_svn_notify_filter_authzmail}
+        url       = http://www.cpan.org/modules/by-module/SVN/
+        regex     = SVN-Notify-Filter-AuthZMail-(__VER__)\.tar\.gz
+    }
+    prog svnnotify:SVN-Notify-Filter-EmailFlatFileDB = {
+        version   = %{V_svn_notify_filter_emailflatfiledb}
+        url       = http://www.cpan.org/modules/by-module/SVN/
+        regex     = SVN-Notify-Filter-EmailFlatFileDB-(__VER__)\.tar\.gz
+    }
+    prog svnnotify:SVN-Notify-Filter-Watchers = {
+        version   = %{V_svn_notify_filter_watchers}
+        url       = http://www.cpan.org/modules/by-module/SVN/
+        regex     = SVN-Notify-Filter-Watchers-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -102,6 +130,10 @@ AutoReqProv:  no
 %if "%{with_mirror}" == "yes"
     %setup -q -D -T -a 2
 %endif
+    %setup -q -D -T -a 3
+    %setup -q -D -T -a 4
+    %setup -q -D -T -a 5
+    %setup -q -D -T -a 6
     %{l_sed} <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
 
 %build
@@ -116,6 +148,10 @@ AutoReqProv:  no
 %if "%{with_mirror}" == "yes"
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
 %endif
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
         %{l_files_std} `cat perl-openpkg-files`