perl-sys.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. ##
  2. ## perl-sys.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  4. ## Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.com>
  5. ## Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
  6. ##
  7. ## Permission to use, copy, modify, and distribute this software for
  8. ## any purpose with or without fee is hereby granted, provided that
  9. ## the above copyright notice and this permission notice appear in all
  10. ## copies.
  11. ##
  12. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  13. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  14. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  15. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  16. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  17. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  18. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  19. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  20. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  21. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  22. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  23. ## SUCH DAMAGE.
  24. ##
  25. # versions of individual parts
  26. %define V_unix_syslog 0.99
  27. %define V_archive_tar 1.07
  28. %define V_archive_zip 1.09
  29. %define V_expect 1.15
  30. %define V_storable 2.08
  31. %define V_ipc_shareable 0.60
  32. %define V_file_tail 0.98
  33. %define V_freezethaw 0.43
  34. %define V_authen_sasl 2.06
  35. %define V_filehandle_deluxe 0.92
  36. %define V_filehandle_rollback 1.05
  37. %define V_filehandle_unget 0.11
  38. # package information
  39. Name: perl-sys
  40. Summary: Perl Modules for use with the system
  41. URL: http://www.cpan.org/
  42. Vendor: Perl Community
  43. Packager: The OpenPKG Project
  44. Distribution: OpenPKG [BASE]
  45. Group: Language
  46. License: GPL/Artistic
  47. Version: 20031216
  48. Release: 20031216
  49. # list of sources
  50. Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
  51. Source1: http://www.cpan.org/modules/by-module/Archive/Archive-Tar-%{V_archive_tar}.tar.gz
  52. Source2: http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{V_archive_zip}.tar.gz
  53. Source3: http://www.cpan.org/modules/by-module/Expect/Expect-%{V_expect}.tar.gz
  54. Source4: http://www.cpan.org/modules/by-module/Storable/Storable-%{V_storable}.tar.gz
  55. Source5: http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_shareable}.tar.gz
  56. Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
  57. Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
  58. Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz
  59. Source9: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
  60. Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
  61. Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
  62. # build information
  63. Prefix: %{l_prefix}
  64. BuildRoot: %{l_buildroot}
  65. BuildPreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg, perl-time, perl-term
  66. PreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg, perl-time, perl-term
  67. AutoReq: no
  68. AutoReqProv: no
  69. %description
  70. Perl modules for use with the system:
  71. - Unix::Syslog (%{V_unix_syslog})
  72. - Archive::Tar (%{V_archive_tar})
  73. - Expect (%{V_expect})
  74. - Storable (%{V_storable})
  75. - IPC::Shareable (%{V_ipc_shareable})
  76. - File::Tail (%{V_file_tail})
  77. - FreezeThaw (%{V_freezethaw})
  78. - Authen::SASL (%{V_authen_sasl})
  79. - Archive::Zip (%{V_archive_zip})
  80. - FileHandle::Deluxe (%{V_filehandle_deluxe})
  81. - FileHandle::Rollback (%{V_filehandle_rollback})
  82. - FileHandle::Unget (%{V_filehandle_unget})
  83. %prep
  84. %setup0 -q -c
  85. %setup1 -q -T -D -a 1
  86. %setup2 -q -T -D -a 2
  87. %setup3 -q -T -D -a 3
  88. %setup4 -q -T -D -a 4
  89. %setup5 -q -T -D -a 5
  90. %setup6 -q -T -D -a 6
  91. %setup7 -q -T -D -a 7
  92. %setup8 -q -T -D -a 8
  93. %setup9 -q -T -D -a 9
  94. %setup10 -q -T -D -a 10
  95. %setup11 -q -T -D -a 11
  96. %build
  97. %install
  98. # perform common prolog operations
  99. %{l_prefix}/bin/perl-openpkg prolog
  100. # build and install individual modules
  101. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE0}
  102. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE1}
  103. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE2}
  104. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE3}
  105. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE4}
  106. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE5}
  107. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE6}
  108. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE7}
  109. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE8}
  110. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE8}
  111. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE9}
  112. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE10}
  113. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE11}
  114. # perform common epilog operations
  115. %{l_prefix}/bin/perl-openpkg epilog
  116. %files -f files
  117. %clean
  118. rm -rf $RPM_BUILD_ROOT