perl-sys/perl-sys.spec

Sat, 24 Mar 2012 21:40:49 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 24 Mar 2012 21:40:49 +0100
changeset 414
fd611cde817f
parent 158
f144dd621b72
permissions
-rw-r--r--

Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.

     1 ##
     2 ##  perl-sys.spec -- OpenPKG RPM Package Specification
     3 ##  Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/>
     4 ##
     5 ##  Permission to use, copy, modify, and distribute this software for
     6 ##  any purpose with or without fee is hereby granted, provided that
     7 ##  the above copyright notice and this permission notice appear in all
     8 ##  copies.
     9 ##
    10 ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    11 ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    12 ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    13 ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    14 ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    15 ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    16 ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    17 ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    18 ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    19 ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    20 ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    21 ##  SUCH DAMAGE.
    22 ##
    24 #   versions of individual parts
    25 %define       V_perl                5.14
    26 %define       V_unix_syslog         1.1
    27 %define       V_archive_tar         1.78
    28 %define       V_archive_zip         1.31_03
    29 %define       V_archive_cpio        0.09
    30 %define       V_expect              1.21
    31 %define       V_storable            2.30
    32 %define       V_ipc_sharelite       0.17
    33 %define       V_ipc_shareable       0.60
    34 %define       V_ipc_sharedcache     1.3
    35 %define       V_ipc_run             0.90_03
    36 %define       V_ipc_run3            0.044
    37 %define       V_ipc_signal          1.00
    38 %define       V_ipc_filter          0.004
    39 %define       V_file_tail           0.99.3
    40 %define       V_file_temp           0.22
    41 %define       V_file_remove         1.50
    42 %define       V_file_rename         0.05
    43 %define       V_freezethaw          0.5001
    44 %define       V_authen_sasl         2.15
    45 %define       V_authen_pam          0.16
    46 %define       V_weakref             0.01
    47 %define       V_filehandle_deluxe   0.92
    48 %define       V_filehandle_rollback 1.06
    49 %define       V_filehandle_unget    0.1623
    50 %define       V_spiffy              0.30
    51 %define       V_io                  1.25
    52 %define       V_io_all              0.41
    53 %define       V_io_multiplex        1.10
    54 %define       V_io_interface        1.06
    55 %define       V_io_util             1.5
    56 %define       V_io_mux              0.08
    57 %define       V_boulder             1.30
    58 %define       V_error               0.17016
    59 %define       V_file_fnmatch        0.02
    60 %define       V_user                1.9
    61 %define       V_file_rsync          0.43
    62 %define       V_storable_amf        1.00
    63 %define       V_file_next           1.06
    65 #   package information
    66 Name:         perl-sys
    67 Summary:      Perl Modules for use with the system
    68 URL:          http://www.cpan.org/
    69 Vendor:       Perl Community
    70 Packager:     OpenPKG Foundation e.V.
    71 Distribution: OpenPKG Community
    72 Class:        BASE
    73 Group:        Perl
    74 License:      GPL/Artistic
    75 Version:      %{V_perl}
    76 Release:      20110914
    78 #   package options
    79 %option       with_pam   no
    81 #   list of sources
    82 Source0:      http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{V_unix_syslog}.tar.gz
    83 Source1:      http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{V_archive_tar}.tar.gz
    84 Source2:      http://www.cpan.org/authors/id/A/AD/ADAMK/Archive-Zip-%{V_archive_zip}.tar.gz
    85 Source3:      http://www.cpan.org/authors/id/R/RG/RGIERSIG/Expect-%{V_expect}.tar.gz
    86 Source4:      http://www.cpan.org/authors/id/A/AM/AMS/Storable-%{V_storable}.tar.gz
    87 Source5:      http://www.cpan.org/authors/id/B/BS/BSUGARS/IPC-Shareable-%{V_ipc_shareable}.tar.gz
    88 Source6:      http://www.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-%{V_file_tail}.tar.gz
    89 Source7:      http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
    90 Source8:      http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-%{V_authen_sasl}.tar.gz
    91 Source9:      http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz
    92 Source10:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
    93 Source11:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
    94 Source12:     http://www.cpan.org/authors/id/D/DC/DCOPPIT/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
    95 Source13:     http://www.cpan.org/authors/id/A/AN/ANDYA/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz
    96 Source14:     http://www.cpan.org/authors/id/S/SA/SAMTREGAR/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz
    97 Source15:     http://www.cpan.org/authors/id/T/TO/TODDR/IPC-Run-%{V_ipc_run}.tar.gz
    98 Source16:     http://www.cpan.org/authors/id/R/RO/ROSCH/IPC-Signal-%{V_ipc_signal}.tar.gz
    99 Source17:     http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/IPC-Filter-%{V_ipc_filter}.tar.gz
   100 Source18:     http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
   101 Source19:     http://www.cpan.org/authors/id/G/GB/GBARR/IO-%{V_io}.tar.gz
   102 Source20:     http://www.cpan.org/authors/id/I/IN/INGY/IO-All-%{V_io_all}.tar.gz
   103 Source21:     http://www.cpan.org/authors/id/B/BB/BBB/IO-Multiplex-%{V_io_multiplex}.tar.gz
   104 Source22:     http://www.cpan.org/authors/id/L/LD/LDS/IO-Interface-%{V_io_interface}.tar.gz
   105 Source23:     http://www.cpan.org/authors/id/D/DO/DOMIZIO/IO-Util-%{V_io_util}.tar.gz
   106 Source24:     http://www.cpan.org/authors/id/L/LD/LDS/Boulder-%{V_boulder}.tar.gz
   107 Source25:     http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{V_error}.tar.gz
   108 Source26:     http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{V_ipc_run3}.tar.gz
   109 Source27:     http://www.cpan.org/authors/id/P/PA/PATL/IO-Mux-%{V_io_mux}.tar.gz
   110 Source28:     http://www.cpan.org/authors/id/M/MJ/MJP/File-FnMatch-%{V_file_fnmatch}.tar.gz
   111 Source29:     http://www.cpan.org/authors/id/N/NI/NIKIP/Authen-PAM-%{V_authen_pam}.tar.gz
   112 Source30:     http://www.cpan.org/authors/id/P/PI/PIXEL/Archive-Cpio-%{V_archive_cpio}.tar.gz
   113 Source31:     http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz
   114 Source32:     http://www.cpan.org/authors/id/T/TJ/TJENNESS/File-Temp-%{V_file_temp}.tar.gz
   115 Source33:     http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-%{V_file_remove}.tar.gz
   116 Source34:     http://www.cpan.org/authors/id/R/RM/RMBARKER/File-Rename-%{V_file_rename}.tar.gz
   117 Source35:     http://www.cpan.org/authors/id/L/LE/LEAKIN/File-Rsync-%{V_file_rsync}.tar.gz
   118 Source36:     http://www.cpan.org/authors/id/G/GR/GRIAN/Storable-AMF-%{V_storable_amf}.tar.gz
   119 Source37:     http://www.cpan.org/authors/id/P/PE/PETDANCE/File-Next-%{V_file_next}.tar.gz
   120 Patch0:       perl-sys.patch
   122 #   build information
   123 Prefix:       %{l_prefix}
   124 BuildRoot:    %{l_buildroot}
   125 BuildPreReq:  OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
   126 PreReq:       OpenPKG, openpkg >= 20060823, perl >= %{V_perl}
   127 BuildPreReq:  perl-util, perl-time, perl-term
   128 PreReq:       perl-util, perl-time, perl-term
   129 %if "%{with_pam}" == "yes"
   130 BuildPreReq:  PAM
   131 PreReq:       PAM
   132 %endif
   133 AutoReq:      no
   134 AutoReqProv:  no
   136 %description
   137     Perl modules for use with the system:
   138     - Unix::Syslog (%{V_unix_syslog})
   139     - Archive::Tar (%{V_archive_tar})
   140     - Expect (%{V_expect})
   141     - Storable (%{V_storable})
   142     - IPC::ShareLite (%{V_ipc_sharelite})
   143     - IPC::Shareable (%{V_ipc_shareable})
   144     - IPC::SharedCache (%{V_ipc_sharedcache})
   145     - IPC::Run (%{V_ipc_run})
   146     - IPC::Run3 (%{V_ipc_run3})
   147     - IPC::Signal (%{V_ipc_signal})
   148     - IPC::Filter (%{V_ipc_filter})
   149     - File::Tail (%{V_file_tail})
   150     - FreezeThaw (%{V_freezethaw})
   151     - Authen::SASL (%{V_authen_sasl})
   152     - Authen::PAM (%{V_authen_pam}) [with_pam=yes]
   153     - Archive::Zip (%{V_archive_zip})
   154     - WeakRef (%{V_weakref})
   155     - FileHandle::Deluxe (%{V_filehandle_deluxe})
   156     - FileHandle::Rollback (%{V_filehandle_rollback})
   157     - FileHandle::Unget (%{V_filehandle_unget})
   158     - Spiffy (%{V_spiffy})
   159     - IO (%{V_io})
   160     - IO::All (%{V_io_all})
   161     - IO::Multiplex (%{V_io_multiplex})
   162     - IO::Interface (%{V_io_interface})
   163     - IO::Util (%{V_io_util})
   164     - IO::Mux (%{V_io_mux})
   165     - Boulder (%{V_boulder})
   166     - Error (%{V_error})
   167     - File::FnMatch (%{V_file_fnmatch})
   168     - Archive::Cpio (%{V_archive_cpio})
   169     - User (%{V_user})
   170     - File::Temp (%{V_file_temp})
   171     - File::Remove (%{V_file_remove})
   172     - File::Rename (%{V_file_rename})
   173     - File::Rsync (%{V_file_rsync})
   174     - Storable::AMF (%{V_storable_amf})
   175     - File::Next (%{V_file_next})
   177 %track
   178     prog perl-sys:Archive-Tar = {
   179         version   = %{V_archive_tar}
   180         url       = http://www.cpan.org/authors/id/B/BI/BINGOS/
   181         regex     = Archive-Tar-(__VER__)\.tar\.gz
   182     }
   183     prog perl-sys:Archive-Zip = {
   184         version   = %{V_archive_zip}
   185         url       = http://www.cpan.org/authors/id/A/AD/ADAMK/
   186         regex     = Archive-Zip-(__VER__)\.tar\.gz
   187     }
   188     prog perl-sys:Authen-SASL = {
   189         version   = %{V_authen_sasl}
   190         url       = http://www.cpan.org/authors/id/G/GB/GBARR/
   191         regex     = Authen-SASL-(__VER__)\.tar\.gz
   192     }
   193     prog perl-sys:Expect = {
   194         version   = %{V_expect}
   195         url       = http://www.cpan.org/authors/id/R/RG/RGIERSIG/
   196         regex     = Expect-(__VER__)\.tar\.gz
   197     }
   198     prog perl-sys:File-Tail = {
   199         version   = %{V_file_tail}
   200         url       = http://www.cpan.org/authors/id/M/MG/MGRABNAR/
   201         regex     = File-Tail-(__VER__)\.tar\.gz
   202     }
   203     prog perl-sys:FileHandle-Deluxe = {
   204         version   = %{V_filehandle_deluxe}
   205         url       = http://www.cpan.org/modules/by-module/FileHandle/
   206         regex     = FileHandle-Deluxe-(__VER__)\.tar\.gz
   207     }
   208     prog perl-sys:FileHandle-Rollback = {
   209         version   = %{V_filehandle_rollback}
   210         url       = http://www.cpan.org/modules/by-module/FileHandle/
   211         regex     = FileHandle-Rollback-(__VER__)\.tar\.gz
   212     }
   213     prog perl-sys:FileHandle-Unget = {
   214         version   = %{V_filehandle_unget}
   215         url       = http://www.cpan.org/authors/id/D/DC/DCOPPIT/
   216         regex     = FileHandle-Unget-(__VER__)\.tar\.gz
   217     }
   218     prog perl-sys:FreezeThaw = {
   219         version   = %{V_freezethaw}
   220         url       = http://www.cpan.org/modules/by-module/FreezeThaw/
   221         regex     = FreezeThaw-(__VER__)\.tar\.gz
   222     }
   223     prog perl-sys:IPC-Shareable = {
   224         version   = %{V_ipc_shareable}
   225         url       = http://www.cpan.org/authors/id/B/BS/BSUGARS/
   226         regex     = IPC-Shareable-(__VER__)\.tar\.gz
   227     }
   228     prog perl-sys:IPC-ShareLite = {
   229         version   = %{V_ipc_sharelite}
   230         url       = http://www.cpan.org/authors/id/A/AN/ANDYA/
   231         regex     = IPC-ShareLite-(__VER__)\.tar\.gz
   232     }
   233     prog perl-sys:IPC-SharedCache = {
   234         version   = %{V_ipc_sharedcache}
   235         url       = http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
   236         regex     = IPC-SharedCache-(__VER__)\.tar\.gz
   237     }
   238     prog perl-sys:IPC-Run = {
   239         version   = %{V_ipc_run}
   240         url       = http://www.cpan.org/authors/id/T/TO/TODDR/
   241         regex     = IPC-Run-(__VER__)\.tar\.gz
   242     }
   243     prog perl-sys:IPC-Run3 = {
   244         version   = %{V_ipc_run3}
   245         url       = http://www.cpan.org/authors/id/R/RJ/RJBS/
   246         regex     = IPC-Run3-(__VER__)\.tar\.gz
   247     }
   248     prog perl-sys:IPC-Signal = {
   249         version   = %{V_ipc_signal}
   250         url       = http://www.cpan.org/authors/id/R/RO/ROSCH/
   251         regex     = IPC-Signal-(__VER__)\.tar\.gz
   252     }
   253     prog perl-sys:IPC-Filter = {
   254         version   = %{V_ipc_filter}
   255         url       = http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/
   256         regex     = IPC-Filter-(__VER__)\.tar\.gz
   257     }
   258     prog perl-sys:Storable = {
   259         version   = %{V_storable}
   260         url       = http://www.cpan.org/authors/id/A/AM/AMS/
   261         regex     = Storable-(__VER__)\.tar\.gz
   262     }
   263     prog perl-sys:Unix-Syslog = {
   264         version   = %{V_unix_syslog}
   265         url       = http://www.cpan.org/authors/id/M/MH/MHARNISCH/
   266         regex     = Unix-Syslog-(__VER__)\.tar\.gz
   267     }
   268     prog perl-sys:WeakRef = {
   269         version   = %{V_weakref}
   270         url       = http://www.cpan.org/authors/id/L/LU/LUKKA/
   271         regex     = WeakRef-(__VER__)\.tar\.gz
   272     }
   273     prog perl-sys:Spiffy = {
   274         version   = %{V_spiffy}
   275         url       = http://www.cpan.org/authors/id/I/IN/INGY/
   276         regex     = Spiffy-(__VER__)\.tar\.gz
   277     }
   278     prog perl-sys:IO = {
   279         version   = %{V_io}
   280         url       = http://www.cpan.org/modules/by-module/IO/
   281         regex     = \bIO-(__VER__)\.tar\.gz
   282     }
   283     prog perl-sys:IO-All = {
   284         version   = %{V_io_all}
   285         url       = http://www.cpan.org/authors/id/G/GB/GBARR/
   286         regex     = IO-All-(__VER__)\.tar\.gz
   287     }
   288     prog perl-sys:IO-Multiplex = {
   289         version   = %{V_io_multiplex}
   290         url       = http://www.cpan.org/authors/id/B/BB/BBB/
   291         regex     = IO-Multiplex-(__VER__)\.tar\.gz
   292     }
   293     prog perl-sys:IO-Interface = {
   294         version   = %{V_io_interface}
   295         url       = http://www.cpan.org/authors/id/L/LD/LDS/
   296         regex     = IO-Interface-(__VER__)\.tar\.gz
   297     }
   298     prog perl-sys:IO-Util = {
   299         version   = %{V_io_util}
   300         url       = http://www.cpan.org/authors/id/D/DO/DOMIZIO/
   301         regex     = IO-Util-(__VER__)\.tar\.gz
   302     }
   303     prog perl-sys:IO-Mux = {
   304         version   = %{V_io_mux}
   305         url       = http://www.cpan.org/authors/id/P/PA/PATL/
   306         regex     = IO-Mux-(__VER__)\.tar\.gz
   307     }
   308     prog perl-sys:Boulder = {
   309         version   = %{V_boulder}
   310         url       = http://www.cpan.org/authors/id/L/LD/LDS/
   311         regex     = Boulder-(__VER__)\.tar\.gz
   312     }
   313     prog perl-sys:Error = {
   314         version   = %{V_error}
   315         url       = http://www.cpan.org/authors/id/S/SH/SHLOMIF/
   316         regex     = Error-(__VER__)\.tar\.gz
   317     }
   318     prog perl-sys:File-FnMatch = {
   319         version   = %{V_file_fnmatch}
   320         url       = http://www.cpan.org/authors/id/M/MJ/MJP/
   321         regex     = File-FnMatch-(__VER__)\.tar\.gz
   322     }
   323     prog perl-sys:Authen-PAM = {
   324         version   = %{V_authen_pam}
   325         url       = http://www.cpan.org/authors/id/N/NI/NIKIP/
   326         regex     = Authen-PAM-(__VER__)\.tar\.gz
   327     }
   328     prog perl-sys:Archive-Cpio = {
   329         version   = %{V_archive_cpio}
   330         url       = http://www.cpan.org/authors/id/P/PI/PIXEL/
   331         regex     = Archive-Cpio-(__VER__)\.tar\.gz
   332     }
   333     prog perl-sys:User = {
   334         version   = %{V_user}
   335         url       = http://www.cpan.org/authors/id/T/TB/TBONE/
   336         regex     = User-(__VER__)\.tar\.gz
   337     }
   338     prog perl-sys:File-Temp = {
   339         version   = %{V_file_temp}
   340         url       = http://www.cpan.org/authors/id/T/TJ/TJENNESS/
   341         regex     = File-Temp-(__VER__)\.tar\.gz
   342     }
   343     prog perl-sys:File-Remove = {
   344         version   = %{V_file_remove}
   345         url       = http://www.cpan.org/authors/id/A/AD/ADAMK/
   346         regex     = File-Remove-(__VER__)\.tar\.gz
   347     }
   348     prog perl-sys:File-Rename = {
   349         version   = %{V_file_rename}
   350         url       = http://www.cpan.org/authors/id/R/RM/RMBARKER/
   351         regex     = File-Rename-(__VER__)\.tar\.gz
   352     }
   353     prog perl-sys:File-Rsync = {
   354         version   = %{V_file_rsync}
   355         url       = http://www.cpan.org/authors/id/L/LE/LEAKIN/
   356         regex     = File-Rsync-(__VER__)\.tar\.gz
   357     }
   358     prog perl-sys:Storable-AMF = {
   359         version   = %{V_storable_amf}
   360         url       = http://www.cpan.org/authors/id/G/GR/GRIAN/
   361         regex     = Storable-AMF-(__VER__)\.tar\.gz
   362     }
   363     prog perl-sys:File-Next = {
   364         version   = %{V_file_next}
   365         url       = http://www.cpan.org/authors/id/P/PE/PETDANCE/
   366         regex     = File-Next-(__VER__)\.tar\.gz
   367     }
   369 %prep
   370     %setup -q -c
   371     %setup -q -T -D -a 1
   372     %setup -q -T -D -a 2
   373     %setup -q -T -D -a 3
   374     %setup -q -T -D -a 4
   375     %setup -q -T -D -a 5
   376     %setup -q -T -D -a 6
   377     %setup -q -T -D -a 7
   378     %setup -q -T -D -a 8
   379     %setup -q -T -D -a 9
   380     %setup -q -T -D -a 10
   381     %setup -q -T -D -a 11
   382     %setup -q -T -D -a 12
   383     %setup -q -T -D -a 13
   384     %setup -q -T -D -a 14
   385     %setup -q -T -D -a 15
   386     %setup -q -T -D -a 16
   387     %setup -q -T -D -a 17
   388     %setup -q -T -D -a 18
   389     %setup -q -T -D -a 19
   390     %setup -q -T -D -a 20
   391     %setup -q -T -D -a 21
   392     %setup -q -T -D -a 22
   393     %setup -q -T -D -a 23
   394     %setup -q -T -D -a 24
   395     %setup -q -T -D -a 25
   396     %setup -q -T -D -a 26
   397     %setup -q -T -D -a 27
   398     %setup -q -T -D -a 28
   399     %setup -q -T -D -a 29
   400     %setup -q -T -D -a 30
   401     %setup -q -T -D -a 31
   402     %setup -q -T -D -a 32
   403     %setup -q -T -D -a 33
   404     %setup -q -T -D -a 34
   405     %setup -q -T -D -a 35
   406     %setup -q -T -D -a 36
   407     %setup -q -T -D -a 37
   408     %patch -p0
   410 %build
   411     %{l_shtool} subst \
   412         -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \
   413         -e 's;<STDIN>;"";' \
   414         File-Rsync-*/makepm.PL
   416 %install
   417     rm -rf $RPM_BUILD_ROOT
   418     %{l_prefix}/bin/perl-openpkg prepare
   419     %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
   420     %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
   421     %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
   422     %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
   423     %{l_prefix}/bin/perl-openpkg -d %{SOURCE4}  configure build install
   424     %{l_prefix}/bin/perl-openpkg -d %{SOURCE5}  configure build install
   425     %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
   426     %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
   427     %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
   428     %{l_prefix}/bin/perl-openpkg -d %{SOURCE9}  configure build install
   429     %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
   430     %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
   431     %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
   432     %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
   433     %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
   434     %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
   435     %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
   436     %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
   437     %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
   438     %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
   439     %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
   440     %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
   441     %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
   442     %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
   443     %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
   444     %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
   445     %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
   446     %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
   447     %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
   448 %if "%{with_pam}" == "yes"
   449     export CC="%{l_cc}"
   450     export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`"
   451     export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`"
   452     export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`"
   453     %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
   454 %endif
   455     %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
   456     %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
   457     %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
   458     %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
   459     %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
   460     %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
   461     %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
   462     %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
   463     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   464     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
   466 %files -f files
   468 %clean
   469     rm -rf $RPM_BUILD_ROOT

mercurial