## ## perl-sys.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2004 The OpenPKG Project ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 Cable & Wireless ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # versions of individual parts %define V_perl 5.8.3 %define V_unix_syslog 0.99 %define V_archive_tar 1.08 %define V_archive_zip 1.09 %define V_expect 1.15 %define V_storable 2.09 %define V_ipc_shareable 0.60 %define V_file_tail 0.98 %define V_freezethaw 0.43 %define V_authen_sasl 2.06 %define V_weakref 0.01 %define V_filehandle_deluxe 0.92 %define V_filehandle_rollback 1.05 %define V_filehandle_unget 0.14 # package information Name: perl-sys Summary: Perl Modules for use with the system URL: http://www.cpan.org/ Vendor: Perl Community Packager: The OpenPKG Project Distribution: OpenPKG Class: BASE Group: Language License: GPL/Artistic Version: %{V_perl} Release: 20040218 # list of sources Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz Source1: http://www.cpan.org/modules/by-module/Archive/Archive-Tar-%{V_archive_tar}.tar.gz Source2: http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{V_archive_zip}.tar.gz Source3: http://www.cpan.org/modules/by-module/Expect/Expect-%{V_expect}.tar.gz Source4: http://www.cpan.org/modules/by-module/Storable/Storable-%{V_storable}.tar.gz Source5: http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_shareable}.tar.gz Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz 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 # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126, perl-time, perl-term PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126, perl-time, perl-term AutoReq: no AutoReqProv: no %description Perl modules for use with the system: - Unix::Syslog (%{V_unix_syslog}) - Archive::Tar (%{V_archive_tar}) - Expect (%{V_expect}) - Storable (%{V_storable}) - IPC::Shareable (%{V_ipc_shareable}) - File::Tail (%{V_file_tail}) - FreezeThaw (%{V_freezethaw}) - Authen::SASL (%{V_authen_sasl}) - Archive::Zip (%{V_archive_zip}) - WeakRef (%{V_weakref}) - FileHandle::Deluxe (%{V_filehandle_deluxe}) - FileHandle::Rollback (%{V_filehandle_rollback}) - FileHandle::Unget (%{V_filehandle_unget}) %track prog perl-sys:Archive-Tar = { version = %{V_archive_tar} url = http://www.cpan.org/modules/by-module/Archive/ regex = Archive-Tar-(__VER__)\.tar\.gz } prog perl-sys:Archive-Zip = { version = %{V_archive_zip} url = http://www.cpan.org/modules/by-module/Archive/ regex = Archive-Zip-(__VER__)\.tar\.gz } prog perl-sys:Authen-SASL = { version = %{V_authen_sasl} url = http://www.cpan.org/modules/by-module/Authen/ regex = Authen-SASL-(__VER__)\.tar\.gz } prog perl-sys:Expect = { version = %{V_expect} url = http://www.cpan.org/modules/by-module/Expect/ regex = Expect-(__VER__)\.tar\.gz } prog perl-sys:File-Tail = { version = %{V_file_tail} url = http://www.cpan.org/modules/by-module/File/ regex = File-Tail-(__VER__)\.tar\.gz } prog perl-sys:FileHandle-Deluxe = { version = %{V_filehandle_deluxe} url = http://www.cpan.org/modules/by-module/FileHandle/ regex = FileHandle-Deluxe-(__VER__)\.tar\.gz } prog perl-sys:FileHandle-Rollback = { version = %{V_filehandle_rollback} url = http://www.cpan.org/modules/by-module/FileHandle/ regex = FileHandle-Rollback-(__VER__)\.tar\.gz } prog perl-sys:FileHandle-Unget = { version = %{V_filehandle_unget} url = http://www.cpan.org/modules/by-module/FileHandle/ regex = FileHandle-Unget-(__VER__)\.tar\.gz } prog perl-sys:FreezeThaw = { version = %{V_freezethaw} url = http://www.cpan.org/modules/by-module/FreezeThaw/ regex = FreezeThaw-(__VER__)\.tar\.gz } prog perl-sys:IPC-Shareable = { version = %{V_ipc_shareable} url = http://www.cpan.org/modules/by-module/IPC/ regex = IPC-Shareable-(__VER__)\.tar\.gz } prog perl-sys:Storable = { version = %{V_storable} url = http://www.cpan.org/modules/by-module/Storable/ regex = Storable-(__VER__)\.tar\.gz } prog perl-sys:Unix-Syslog = { version = %{V_unix_syslog} url = http://www.cpan.org/modules/by-module/Unix/ regex = Unix-Syslog-(__VER__)\.tar\.gz } prog perl-sys:WeakRef = { version = %{V_weakref} url = http://search.cpan.org/CPAN/authors/id/L/LU/LUKKA/ regex = WeakRef-(__VER__)\.tar\.gz } %prep %setup -q -c %setup -q -T -D -a 1 %setup -q -T -D -a 2 %setup -q -T -D -a 3 %setup -q -T -D -a 4 %setup -q -T -D -a 5 %setup -q -T -D -a 6 %setup -q -T -D -a 7 %setup -q -T -D -a 8 %setup -q -T -D -a 9 %setup -q -T -D -a 10 %setup -q -T -D -a 11 %setup -q -T -D -a 12 %build %install %{l_prefix}/bin/perl-openpkg prepare %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install %{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 -d %{SOURCE7} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install %{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 -F perl-openpkg-files fixate cleanup %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` %files -f files %clean rm -rf $RPM_BUILD_ROOT