ソースを参照

add IO::All and its Spiffy dependency (which itself is interesting, too)

Ralf S. Engelschall 21 年 前
コミット
16edc36019
1 ファイル変更22 行追加2 行削除
  1. 22 2
      perl-sys/perl-sys.spec

+ 22 - 2
perl-sys/perl-sys.spec

@@ -40,6 +40,8 @@
 %define       V_filehandle_deluxe   0.92
 %define       V_filehandle_rollback 1.05
 %define       V_filehandle_unget    0.14
+%define       V_spiffy              0.15
+%define       V_io_all              0.16
 
 #   package information
 Name:         perl-sys
@@ -52,7 +54,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20040422
+Release:      20040507
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
@@ -70,6 +72,8 @@ Source11:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollba
 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
+Source15:     http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
+Source16:     http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -98,6 +102,8 @@ AutoReqProv:  no
     - FileHandle::Deluxe (%{V_filehandle_deluxe})
     - FileHandle::Rollback (%{V_filehandle_rollback})
     - FileHandle::Unget (%{V_filehandle_unget})
+    - Spiffy (%{V_spiffy})
+    - IO::All (%{V_io_all})
 
 %track
     prog perl-sys:Archive-Tar = {
@@ -172,9 +178,19 @@ AutoReqProv:  no
     }
     prog perl-sys:WeakRef = {
         version   = %{V_weakref}
-        url       = http://search.cpan.org/CPAN/authors/id/L/LU/LUKKA/
+        url       = http://www.cpan.org/CPAN/authors/id/L/LU/LUKKA/
         regex     = WeakRef-(__VER__)\.tar\.gz
     }
+    prog perl-sys:Spiffy = {
+        version   = %{V_spiffy}
+        url       = http://www.cpan.org/authors/id/I/IN/INGY/
+        regex     = Spiffy-(__VER__)\.tar\.gz
+    }
+    prog perl-sys:IO-All = {
+        version   = %{V_io_all}
+        url       = http://www.cpan.org/modules/by-module/IO/
+        regex     = IO-All-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -192,6 +208,8 @@ AutoReqProv:  no
     %setup -q -T -D -a 12
     %setup -q -T -D -a 13
     %setup -q -T -D -a 14
+    %setup -q -T -D -a 15
+    %setup -q -T -D -a 16
 
 %build
 
@@ -212,6 +230,8 @@ AutoReqProv:  no
     %{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 -d %{SOURCE15} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} 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`