浏览代码

add two more often requested IPC modules

Ralf S. Engelschall 21 年之前
父节点
当前提交
c0ead6f010
共有 1 个文件被更改,包括 21 次插入1 次删除
  1. 21 1
      perl-sys/perl-sys.spec

+ 21 - 1
perl-sys/perl-sys.spec

@@ -30,7 +30,9 @@
 %define       V_archive_zip         1.10
 %define       V_expect              1.15
 %define       V_storable            2.12
+%define       V_ipc_sharelite       0.09
 %define       V_ipc_shareable       0.60
+%define       V_ipc_sharedcache     1.3
 %define       V_file_tail           0.98
 %define       V_freezethaw          0.43
 %define       V_authen_sasl         2.07
@@ -50,7 +52,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20040411
+Release:      20040413
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
@@ -66,6 +68,8 @@ Source9:      http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar
 Source10:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
 Source11:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
 Source12:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
+Source13:     http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz
+Source14:     http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -83,7 +87,9 @@ AutoReqProv:  no
     - Archive::Tar (%{V_archive_tar})
     - Expect (%{V_expect})
     - Storable (%{V_storable})
+    - IPC::ShareLite (%{V_ipc_sharelite})
     - IPC::Shareable (%{V_ipc_shareable})
+    - IPC::SharedCache (%{V_ipc_sharedcache})
     - File::Tail (%{V_file_tail})
     - FreezeThaw (%{V_freezethaw})
     - Authen::SASL (%{V_authen_sasl})
@@ -144,6 +150,16 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/IPC/
         regex     = IPC-Shareable-(__VER__)\.tar\.gz
     }
+    prog perl-sys:IPC-ShareLite = {
+        version   = %{V_ipc_sharelite}
+        url       = http://www.cpan.org/modules/by-module/IPC/
+        regex     = IPC-ShareLite-(__VER__)\.tar\.gz
+    }
+    prog perl-sys:IPC-SharedCache = {
+        version   = %{V_ipc_sharedcache}
+        url       = http://www.cpan.org/modules/by-module/IPC/
+        regex     = IPC-SharedCache-(__VER__)\.tar\.gz
+    }
     prog perl-sys:Storable = {
         version   = %{V_storable}
         url       = http://www.cpan.org/modules/by-module/Storable/
@@ -174,6 +190,8 @@ AutoReqProv:  no
     %setup -q -T -D -a 10
     %setup -q -T -D -a 11
     %setup -q -T -D -a 12
+    %setup -q -T -D -a 13
+    %setup -q -T -D -a 14
 
 %build
 
@@ -192,6 +210,8 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} 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`