Sun, 03 Apr 2011 13:34:55 +0200
Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.
Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.
michael@57 | 1 | ## |
michael@57 | 2 | ## perl-sys.spec -- OpenPKG RPM Package Specification |
michael@57 | 3 | ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> |
michael@57 | 4 | ## |
michael@57 | 5 | ## Permission to use, copy, modify, and distribute this software for |
michael@57 | 6 | ## any purpose with or without fee is hereby granted, provided that |
michael@57 | 7 | ## the above copyright notice and this permission notice appear in all |
michael@57 | 8 | ## copies. |
michael@57 | 9 | ## |
michael@57 | 10 | ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED |
michael@57 | 11 | ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
michael@57 | 12 | ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
michael@57 | 13 | ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR |
michael@57 | 14 | ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
michael@57 | 15 | ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
michael@57 | 16 | ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
michael@57 | 17 | ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
michael@57 | 18 | ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
michael@57 | 19 | ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
michael@57 | 20 | ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
michael@57 | 21 | ## SUCH DAMAGE. |
michael@57 | 22 | ## |
michael@57 | 23 | |
michael@57 | 24 | # versions of individual parts |
michael@57 | 25 | %define V_perl 5.10.0 |
michael@57 | 26 | %define V_unix_syslog 1.1 |
michael@158 | 27 | %define V_archive_tar 1.46 |
michael@57 | 28 | %define V_archive_zip 1.26 |
michael@57 | 29 | %define V_archive_cpio 0.07 |
michael@57 | 30 | %define V_expect 1.21 |
michael@57 | 31 | %define V_storable 2.18 |
michael@158 | 32 | %define V_ipc_sharelite 0.17 |
michael@57 | 33 | %define V_ipc_shareable 0.60 |
michael@57 | 34 | %define V_ipc_sharedcache 1.3 |
michael@57 | 35 | %define V_ipc_run 0.82 |
michael@57 | 36 | %define V_ipc_run3 0.042 |
michael@57 | 37 | %define V_ipc_signal 1.00 |
michael@57 | 38 | %define V_ipc_filter 0.002 |
michael@57 | 39 | %define V_file_tail 0.99.3 |
michael@57 | 40 | %define V_file_temp 0.21 |
michael@57 | 41 | %define V_file_remove 1.42 |
michael@57 | 42 | %define V_file_rename 0.05 |
michael@158 | 43 | %define V_freezethaw 0.45 |
michael@57 | 44 | %define V_authen_sasl 2.12 |
michael@57 | 45 | %define V_authen_pam 0.16 |
michael@57 | 46 | %define V_weakref 0.01 |
michael@57 | 47 | %define V_filehandle_deluxe 0.92 |
michael@57 | 48 | %define V_filehandle_unget 0.1622 |
michael@57 | 49 | %define V_spiffy 0.30 |
michael@57 | 50 | %define V_io 1.2301 |
michael@57 | 51 | %define V_io_all 0.39 |
michael@57 | 52 | %define V_io_multiplex 1.10 |
michael@57 | 53 | %define V_io_interface 1.05 |
michael@57 | 54 | %define V_io_util 1.5 |
michael@57 | 55 | %define V_io_mux 0.08 |
michael@57 | 56 | %define V_boulder 1.30 |
michael@57 | 57 | %define V_error 0.17015 |
michael@57 | 58 | %define V_file_fnmatch 0.02 |
michael@57 | 59 | %define V_user 1.8 |
michael@57 | 60 | %define V_file_rsync 0.42 |
michael@158 | 61 | %define V_storable_amf 0.60 |
michael@57 | 62 | |
michael@57 | 63 | # package information |
michael@57 | 64 | Name: perl-sys |
michael@57 | 65 | Summary: Perl Modules for use with the system |
michael@57 | 66 | URL: http://www.cpan.org/ |
michael@57 | 67 | Vendor: Perl Community |
michael@57 | 68 | Packager: OpenPKG Foundation e.V. |
michael@57 | 69 | Distribution: OpenPKG Community |
michael@57 | 70 | Class: BASE |
michael@57 | 71 | Group: Perl |
michael@57 | 72 | License: GPL/Artistic |
michael@57 | 73 | Version: %{V_perl} |
michael@158 | 74 | Release: 20090416 |
michael@57 | 75 | |
michael@57 | 76 | # package options |
michael@57 | 77 | %option with_pam no |
michael@57 | 78 | |
michael@57 | 79 | # list of sources |
michael@57 | 80 | Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz |
michael@57 | 81 | Source1: http://www.cpan.org/modules/by-module/Archive/Archive-Tar-%{V_archive_tar}.tar.gz |
michael@57 | 82 | Source2: http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{V_archive_zip}.tar.gz |
michael@57 | 83 | Source3: http://www.cpan.org/modules/by-module/Expect/Expect-%{V_expect}.tar.gz |
michael@57 | 84 | Source4: http://www.cpan.org/modules/by-module/Storable/Storable-%{V_storable}.tar.gz |
michael@57 | 85 | Source5: http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_shareable}.tar.gz |
michael@57 | 86 | Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz |
michael@57 | 87 | Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz |
michael@57 | 88 | Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz |
michael@57 | 89 | Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz |
michael@57 | 90 | Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz |
michael@58 | 91 | Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz |
michael@58 | 92 | Source12: http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz |
michael@58 | 93 | Source13: http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz |
michael@58 | 94 | Source14: http://www.cpan.org/modules/by-module/IPC/IPC-Run-%{V_ipc_run}.tar.gz |
michael@58 | 95 | Source15: http://www.cpan.org/modules/by-module/IPC/IPC-Signal-%{V_ipc_signal}.tar.gz |
michael@58 | 96 | Source16: http://www.cpan.org/modules/by-module/IPC/IPC-Filter-%{V_ipc_filter}.tar.gz |
michael@58 | 97 | Source17: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz |
michael@58 | 98 | Source18: http://www.cpan.org/modules/by-module/IO/IO-%{V_io}.tar.gz |
michael@58 | 99 | Source19: http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz |
michael@58 | 100 | Source20: http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz |
michael@58 | 101 | Source21: http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz |
michael@58 | 102 | Source22: http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz |
michael@58 | 103 | Source23: http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz |
michael@58 | 104 | Source24: http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz |
michael@58 | 105 | Source25: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{V_ipc_run3}.tar.gz |
michael@58 | 106 | Source26: http://www.cpan.org/modules/by-module/IO/IO-Mux-%{V_io_mux}.tar.gz |
michael@58 | 107 | Source27: http://www.cpan.org/modules/by-module/File/File-FnMatch-%{V_file_fnmatch}.tar.gz |
michael@58 | 108 | Source28: http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{V_authen_pam}.tar.gz |
michael@58 | 109 | Source29: http://www.cpan.org/modules/by-module/Archive/Archive-Cpio-%{V_archive_cpio}.tar.gz |
michael@58 | 110 | Source30: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz |
michael@58 | 111 | Source31: http://www.cpan.org/modules/by-module/File/File-Temp-%{V_file_temp}.tar.gz |
michael@58 | 112 | Source32: http://www.cpan.org/modules/by-module/File/File-Remove-%{V_file_remove}.tar.gz |
michael@58 | 113 | Source33: http://www.cpan.org/modules/by-module/File/File-Rename-%{V_file_rename}.tar.gz |
michael@58 | 114 | Source34: http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz |
michael@158 | 115 | Source35: http://www.cpan.org/modules/by-module/Storable/Storable-AMF-%{V_storable_amf}.tar.gz |
michael@57 | 116 | Patch0: perl-sys.patch |
michael@57 | 117 | |
michael@57 | 118 | # build information |
michael@57 | 119 | Prefix: %{l_prefix} |
michael@57 | 120 | BuildRoot: %{l_buildroot} |
michael@57 | 121 | BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126 |
michael@57 | 122 | PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl} |
michael@57 | 123 | BuildPreReq: perl-time, perl-term |
michael@57 | 124 | PreReq: perl-time, perl-term |
michael@57 | 125 | %if "%{with_pam}" == "yes" |
michael@57 | 126 | BuildPreReq: PAM |
michael@57 | 127 | PreReq: PAM |
michael@57 | 128 | %endif |
michael@57 | 129 | AutoReq: no |
michael@57 | 130 | AutoReqProv: no |
michael@57 | 131 | |
michael@57 | 132 | %description |
michael@57 | 133 | Perl modules for use with the system: |
michael@57 | 134 | - Unix::Syslog (%{V_unix_syslog}) |
michael@57 | 135 | - Archive::Tar (%{V_archive_tar}) |
michael@57 | 136 | - Expect (%{V_expect}) |
michael@57 | 137 | - Storable (%{V_storable}) |
michael@57 | 138 | - IPC::ShareLite (%{V_ipc_sharelite}) |
michael@57 | 139 | - IPC::Shareable (%{V_ipc_shareable}) |
michael@57 | 140 | - IPC::SharedCache (%{V_ipc_sharedcache}) |
michael@57 | 141 | - IPC::Run (%{V_ipc_run}) |
michael@57 | 142 | - IPC::Run3 (%{V_ipc_run3}) |
michael@57 | 143 | - IPC::Signal (%{V_ipc_signal}) |
michael@57 | 144 | - IPC::Filter (%{V_ipc_filter}) |
michael@57 | 145 | - File::Tail (%{V_file_tail}) |
michael@57 | 146 | - FreezeThaw (%{V_freezethaw}) |
michael@57 | 147 | - Authen::SASL (%{V_authen_sasl}) |
michael@57 | 148 | - Authen::PAM (%{V_authen_pam}) [with_pam=yes] |
michael@57 | 149 | - Archive::Zip (%{V_archive_zip}) |
michael@57 | 150 | - WeakRef (%{V_weakref}) |
michael@57 | 151 | - FileHandle::Deluxe (%{V_filehandle_deluxe}) |
michael@57 | 152 | - FileHandle::Unget (%{V_filehandle_unget}) |
michael@57 | 153 | - Spiffy (%{V_spiffy}) |
michael@57 | 154 | - IO (%{V_io}) |
michael@57 | 155 | - IO::All (%{V_io_all}) |
michael@57 | 156 | - IO::Multiplex (%{V_io_multiplex}) |
michael@57 | 157 | - IO::Interface (%{V_io_interface}) |
michael@57 | 158 | - IO::Util (%{V_io_util}) |
michael@57 | 159 | - IO::Mux (%{V_io_mux}) |
michael@57 | 160 | - Boulder (%{V_boulder}) |
michael@57 | 161 | - Error (%{V_error}) |
michael@57 | 162 | - File::FnMatch (%{V_file_fnmatch}) |
michael@57 | 163 | - Archive::Cpio (%{V_archive_cpio}) |
michael@57 | 164 | - User (%{V_user}) |
michael@57 | 165 | - File::Temp (%{V_file_temp}) |
michael@57 | 166 | - File::Remove (%{V_file_remove}) |
michael@57 | 167 | - File::Rename (%{V_file_rename}) |
michael@57 | 168 | - File::Rsync (%{V_file_rsync}) |
michael@158 | 169 | - Storable::AMF (%{V_storable_amf}) |
michael@57 | 170 | |
michael@57 | 171 | %track |
michael@57 | 172 | prog perl-sys:Archive-Tar = { |
michael@57 | 173 | version = %{V_archive_tar} |
michael@57 | 174 | url = http://www.cpan.org/modules/by-module/Archive/ |
michael@57 | 175 | regex = Archive-Tar-(__VER__)\.tar\.gz |
michael@57 | 176 | } |
michael@57 | 177 | prog perl-sys:Archive-Zip = { |
michael@57 | 178 | version = %{V_archive_zip} |
michael@57 | 179 | url = http://www.cpan.org/modules/by-module/Archive/ |
michael@57 | 180 | regex = Archive-Zip-(__VER__)\.tar\.gz |
michael@57 | 181 | } |
michael@57 | 182 | prog perl-sys:Authen-SASL = { |
michael@57 | 183 | version = %{V_authen_sasl} |
michael@57 | 184 | url = http://www.cpan.org/modules/by-module/Authen/ |
michael@57 | 185 | regex = Authen-SASL-(__VER__)\.tar\.gz |
michael@57 | 186 | } |
michael@57 | 187 | prog perl-sys:Expect = { |
michael@57 | 188 | version = %{V_expect} |
michael@57 | 189 | url = http://www.cpan.org/modules/by-module/Expect/ |
michael@57 | 190 | regex = Expect-(__VER__)\.tar\.gz |
michael@57 | 191 | } |
michael@57 | 192 | prog perl-sys:File-Tail = { |
michael@57 | 193 | version = %{V_file_tail} |
michael@57 | 194 | url = http://www.cpan.org/modules/by-module/File/ |
michael@57 | 195 | regex = File-Tail-(__VER__)\.tar\.gz |
michael@57 | 196 | } |
michael@57 | 197 | prog perl-sys:FileHandle-Deluxe = { |
michael@57 | 198 | version = %{V_filehandle_deluxe} |
michael@57 | 199 | url = http://www.cpan.org/modules/by-module/FileHandle/ |
michael@57 | 200 | regex = FileHandle-Deluxe-(__VER__)\.tar\.gz |
michael@57 | 201 | } |
michael@57 | 202 | prog perl-sys:FileHandle-Unget = { |
michael@57 | 203 | version = %{V_filehandle_unget} |
michael@57 | 204 | url = http://www.cpan.org/modules/by-module/FileHandle/ |
michael@57 | 205 | regex = FileHandle-Unget-(__VER__)\.tar\.gz |
michael@57 | 206 | } |
michael@57 | 207 | prog perl-sys:FreezeThaw = { |
michael@57 | 208 | version = %{V_freezethaw} |
michael@57 | 209 | url = http://www.cpan.org/modules/by-module/FreezeThaw/ |
michael@57 | 210 | regex = FreezeThaw-(__VER__)\.tar\.gz |
michael@57 | 211 | } |
michael@57 | 212 | prog perl-sys:IPC-Shareable = { |
michael@57 | 213 | version = %{V_ipc_shareable} |
michael@57 | 214 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 215 | regex = IPC-Shareable-(__VER__)\.tar\.gz |
michael@57 | 216 | } |
michael@57 | 217 | prog perl-sys:IPC-ShareLite = { |
michael@57 | 218 | version = %{V_ipc_sharelite} |
michael@57 | 219 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 220 | regex = IPC-ShareLite-(__VER__)\.tar\.gz |
michael@57 | 221 | } |
michael@57 | 222 | prog perl-sys:IPC-SharedCache = { |
michael@57 | 223 | version = %{V_ipc_sharedcache} |
michael@57 | 224 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 225 | regex = IPC-SharedCache-(__VER__)\.tar\.gz |
michael@57 | 226 | } |
michael@57 | 227 | prog perl-sys:IPC-Run = { |
michael@57 | 228 | version = %{V_ipc_run} |
michael@57 | 229 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 230 | regex = IPC-Run-(__VER__)\.tar\.gz |
michael@57 | 231 | } |
michael@57 | 232 | prog perl-sys:IPC-Run3 = { |
michael@57 | 233 | version = %{V_ipc_run3} |
michael@57 | 234 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 235 | regex = IPC-Run3-(__VER__)\.tar\.gz |
michael@57 | 236 | } |
michael@57 | 237 | prog perl-sys:IPC-Signal = { |
michael@57 | 238 | version = %{V_ipc_signal} |
michael@57 | 239 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 240 | regex = IPC-Signal-(__VER__)\.tar\.gz |
michael@57 | 241 | } |
michael@57 | 242 | prog perl-sys:IPC-Filter = { |
michael@57 | 243 | version = %{V_ipc_filter} |
michael@57 | 244 | url = http://www.cpan.org/modules/by-module/IPC/ |
michael@57 | 245 | regex = IPC-Filter-(__VER__)\.tar\.gz |
michael@57 | 246 | } |
michael@57 | 247 | prog perl-sys:Storable = { |
michael@57 | 248 | version = %{V_storable} |
michael@57 | 249 | url = http://www.cpan.org/modules/by-module/Storable/ |
michael@57 | 250 | regex = Storable-(__VER__)\.tar\.gz |
michael@57 | 251 | } |
michael@57 | 252 | prog perl-sys:Unix-Syslog = { |
michael@57 | 253 | version = %{V_unix_syslog} |
michael@57 | 254 | url = http://www.cpan.org/modules/by-module/Unix/ |
michael@57 | 255 | regex = Unix-Syslog-(__VER__)\.tar\.gz |
michael@57 | 256 | } |
michael@57 | 257 | prog perl-sys:WeakRef = { |
michael@57 | 258 | version = %{V_weakref} |
michael@57 | 259 | url = http://www.cpan.org/authors/id/L/LU/LUKKA/ |
michael@57 | 260 | regex = WeakRef-(__VER__)\.tar\.gz |
michael@57 | 261 | } |
michael@57 | 262 | prog perl-sys:Spiffy = { |
michael@57 | 263 | version = %{V_spiffy} |
michael@57 | 264 | url = http://www.cpan.org/authors/id/I/IN/INGY/ |
michael@57 | 265 | regex = Spiffy-(__VER__)\.tar\.gz |
michael@57 | 266 | } |
michael@57 | 267 | prog perl-sys:IO = { |
michael@57 | 268 | version = %{V_io} |
michael@57 | 269 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@57 | 270 | regex = \bIO-(__VER__)\.tar\.gz |
michael@57 | 271 | } |
michael@57 | 272 | prog perl-sys:IO-All = { |
michael@57 | 273 | version = %{V_io_all} |
michael@57 | 274 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@57 | 275 | regex = IO-All-(__VER__)\.tar\.gz |
michael@57 | 276 | } |
michael@57 | 277 | prog perl-sys:IO-Multiplex = { |
michael@57 | 278 | version = %{V_io_multiplex} |
michael@57 | 279 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@57 | 280 | regex = IO-Multiplex-(__VER__)\.tar\.gz |
michael@57 | 281 | } |
michael@57 | 282 | prog perl-sys:IO-Interface = { |
michael@57 | 283 | version = %{V_io_interface} |
michael@57 | 284 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@57 | 285 | regex = IO-Interface-(__VER__)\.tar\.gz |
michael@57 | 286 | } |
michael@57 | 287 | prog perl-sys:IO-Util = { |
michael@57 | 288 | version = %{V_io_util} |
michael@57 | 289 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@57 | 290 | regex = IO-Util-(__VER__)\.tar\.gz |
michael@57 | 291 | } |
michael@57 | 292 | prog perl-sys:IO-Mux = { |
michael@57 | 293 | version = %{V_io_mux} |
michael@57 | 294 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@57 | 295 | regex = IO-Mux-(__VER__)\.tar\.gz |
michael@57 | 296 | } |
michael@57 | 297 | prog perl-sys:Boulder = { |
michael@57 | 298 | version = %{V_boulder} |
michael@57 | 299 | url = http://www.cpan.org/modules/by-module/Boulder/ |
michael@57 | 300 | regex = Boulder-(__VER__)\.tar\.gz |
michael@57 | 301 | } |
michael@57 | 302 | prog perl-sys:Error = { |
michael@57 | 303 | version = %{V_error} |
michael@57 | 304 | url = http://www.cpan.org/modules/by-module/Error/ |
michael@57 | 305 | regex = Error-(__VER__)\.tar\.gz |
michael@57 | 306 | } |
michael@57 | 307 | prog perl-sys:File-FnMatch = { |
michael@57 | 308 | version = %{V_file_fnmatch} |
michael@57 | 309 | url = http://www.cpan.org/modules/by-module/File/ |
michael@57 | 310 | regex = File-FnMatch-(__VER__)\.tar\.gz |
michael@57 | 311 | } |
michael@57 | 312 | prog perl-sys:Authen-PAM = { |
michael@57 | 313 | version = %{V_authen_pam} |
michael@57 | 314 | url = http://www.cpan.org/modules/by-module/Authen/ |
michael@57 | 315 | regex = Authen-PAM-(__VER__)\.tar\.gz |
michael@57 | 316 | } |
michael@57 | 317 | prog perl-sys:Archive-Cpio = { |
michael@57 | 318 | version = %{V_archive_cpio} |
michael@57 | 319 | url = http://www.cpan.org/modules/by-module/Archive/ |
michael@57 | 320 | regex = Archive-Cpio-(__VER__)\.tar\.gz |
michael@57 | 321 | } |
michael@57 | 322 | prog perl-sys:User = { |
michael@57 | 323 | version = %{V_user} |
michael@57 | 324 | url = http://www.cpan.org/authors/id/T/TB/TBONE/ |
michael@57 | 325 | regex = User-(__VER__)\.tar\.gz |
michael@57 | 326 | } |
michael@57 | 327 | prog perl-sys:File-Temp = { |
michael@57 | 328 | version = %{V_file_temp} |
michael@57 | 329 | url = http://www.cpan.org/modules/by-module/File/ |
michael@57 | 330 | regex = File-Temp-(__VER__)\.tar\.gz |
michael@57 | 331 | } |
michael@57 | 332 | prog perl-sys:File-Remove = { |
michael@57 | 333 | version = %{V_file_remove} |
michael@57 | 334 | url = http://www.cpan.org/modules/by-module/File/ |
michael@57 | 335 | regex = File-Remove-(__VER__)\.tar\.gz |
michael@57 | 336 | } |
michael@57 | 337 | prog perl-sys:File-Rename = { |
michael@57 | 338 | version = %{V_file_rename} |
michael@57 | 339 | url = http://www.cpan.org/modules/by-module/File/ |
michael@57 | 340 | regex = File-Rename-(__VER__)\.tar\.gz |
michael@57 | 341 | } |
michael@57 | 342 | prog perl-sys:File-Rsync = { |
michael@57 | 343 | version = %{V_file_rsync} |
michael@57 | 344 | url = http://www.cpan.org/modules/by-module/File/ |
michael@57 | 345 | regex = File-Rsync-(__VER__)\.tar\.gz |
michael@57 | 346 | } |
michael@158 | 347 | prog perl-sys:Storable-AMF = { |
michael@158 | 348 | version = %{V_storable_amf} |
michael@158 | 349 | url = http://www.cpan.org/modules/by-module/Storable/ |
michael@158 | 350 | regex = Storable-AMF-(__VER__)\.tar\.gz |
michael@158 | 351 | } |
michael@57 | 352 | |
michael@57 | 353 | %prep |
michael@57 | 354 | %setup -q -c |
michael@57 | 355 | %setup -q -T -D -a 1 |
michael@57 | 356 | %setup -q -T -D -a 2 |
michael@57 | 357 | %setup -q -T -D -a 3 |
michael@57 | 358 | %setup -q -T -D -a 4 |
michael@57 | 359 | %setup -q -T -D -a 5 |
michael@57 | 360 | %setup -q -T -D -a 6 |
michael@57 | 361 | %setup -q -T -D -a 7 |
michael@57 | 362 | %setup -q -T -D -a 8 |
michael@57 | 363 | %setup -q -T -D -a 9 |
michael@57 | 364 | %setup -q -T -D -a 10 |
michael@57 | 365 | %setup -q -T -D -a 11 |
michael@57 | 366 | %setup -q -T -D -a 12 |
michael@57 | 367 | %setup -q -T -D -a 13 |
michael@57 | 368 | %setup -q -T -D -a 14 |
michael@57 | 369 | %setup -q -T -D -a 15 |
michael@57 | 370 | %setup -q -T -D -a 16 |
michael@57 | 371 | %setup -q -T -D -a 17 |
michael@57 | 372 | %setup -q -T -D -a 18 |
michael@57 | 373 | %setup -q -T -D -a 19 |
michael@57 | 374 | %setup -q -T -D -a 20 |
michael@57 | 375 | %setup -q -T -D -a 21 |
michael@57 | 376 | %setup -q -T -D -a 22 |
michael@57 | 377 | %setup -q -T -D -a 23 |
michael@57 | 378 | %setup -q -T -D -a 24 |
michael@57 | 379 | %setup -q -T -D -a 25 |
michael@57 | 380 | %setup -q -T -D -a 26 |
michael@57 | 381 | %setup -q -T -D -a 27 |
michael@57 | 382 | %setup -q -T -D -a 28 |
michael@57 | 383 | %setup -q -T -D -a 29 |
michael@57 | 384 | %setup -q -T -D -a 30 |
michael@57 | 385 | %setup -q -T -D -a 31 |
michael@57 | 386 | %setup -q -T -D -a 32 |
michael@57 | 387 | %setup -q -T -D -a 33 |
michael@57 | 388 | %setup -q -T -D -a 34 |
michael@158 | 389 | %setup -q -T -D -a 35 |
michael@57 | 390 | %patch -p0 |
michael@57 | 391 | |
michael@57 | 392 | %build |
michael@57 | 393 | %{l_shtool} subst \ |
michael@57 | 394 | -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \ |
michael@57 | 395 | -e 's;<STDIN>;"";' \ |
michael@57 | 396 | File-Rsync-*/makepm.PL |
michael@57 | 397 | |
michael@57 | 398 | %install |
michael@57 | 399 | rm -rf $RPM_BUILD_ROOT |
michael@57 | 400 | %{l_prefix}/bin/perl-openpkg prepare |
michael@57 | 401 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install |
michael@57 | 402 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install |
michael@57 | 403 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install |
michael@57 | 404 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install |
michael@57 | 405 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install |
michael@57 | 406 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install |
michael@57 | 407 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install |
michael@57 | 408 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install |
michael@57 | 409 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install |
michael@57 | 410 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install |
michael@57 | 411 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install |
michael@57 | 412 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install |
michael@57 | 413 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install |
michael@57 | 414 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install |
michael@57 | 415 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install |
michael@57 | 416 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install |
michael@57 | 417 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install |
michael@57 | 418 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install |
michael@57 | 419 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install |
michael@57 | 420 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install |
michael@57 | 421 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install |
michael@57 | 422 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install |
michael@57 | 423 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install |
michael@57 | 424 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install |
michael@57 | 425 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install |
michael@57 | 426 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install |
michael@57 | 427 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install |
michael@57 | 428 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install |
michael@57 | 429 | %if "%{with_pam}" == "yes" |
michael@57 | 430 | export CC="%{l_cc}" |
michael@57 | 431 | export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`" |
michael@57 | 432 | export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`" |
michael@57 | 433 | export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`" |
michael@58 | 434 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install |
michael@58 | 435 | %endif |
michael@57 | 436 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install |
michael@57 | 437 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install |
michael@57 | 438 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install |
michael@57 | 439 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install |
michael@57 | 440 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install |
michael@57 | 441 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install |
michael@158 | 442 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install |
michael@57 | 443 | %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
michael@57 | 444 | %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
michael@57 | 445 | |
michael@57 | 446 | %files -f files |
michael@57 | 447 | |
michael@57 | 448 | %clean |
michael@57 | 449 | rm -rf $RPM_BUILD_ROOT |
michael@57 | 450 |