perl-parse.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. ##
  2. ## perl-parse.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  5. ## Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.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_config_inifiles 2.37
  27. %define V_config_general 2.18
  28. %define V_config_simple 4.53
  29. %define V_parse_recdescent 1.94
  30. %define V_parse_recdescent_faq 2.37
  31. %define V_parse_recdescent_deparse 1.00
  32. %define V_parse_recdescent_consumer 1.03
  33. %define V_parse_yapp 1.05
  34. %define V_parse_earley 0.15
  35. %define V_parse_lex 2.15
  36. # package information
  37. Name: perl-parse
  38. Summary: Perl Modules for use with parsing algorythms
  39. URL: http://www.cpan.org/
  40. Vendor: Perl Community
  41. Packager: The OpenPKG Project
  42. Distribution: OpenPKG [BASE]
  43. Group: Language
  44. License: GPL/Artistic
  45. Version: 20030420
  46. Release: 20030420
  47. # list of sources
  48. Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
  49. Source1: http://www.cpan.org/modules/by-module/Config/Config-General-%{V_config_general}.tar.gz
  50. Source2: http://www.cpan.org/modules/by-module/Config/Config-Simple-%{V_config_simple}.tar.gz
  51. Source3: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{V_parse_recdescent}.tar.gz
  52. Source4: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-FAQ-%{V_parse_recdescent_faq}.tar.gz
  53. Source5: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Deparse-%{V_parse_recdescent_deparse}.tar.gz
  54. Source6: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Consumer-%{V_parse_recdescent_consumer}.tar.gz
  55. Source7: http://www.cpan.org/modules/by-module/Parse/Parse-Yapp-%{V_parse_yapp}.tar.gz
  56. Source8: http://www.cpan.org/modules/by-module/Parse/Parse-Earley-%{V_parse_earley}.tar.gz
  57. Source9: http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex}.tar.gz
  58. # build information
  59. Prefix: %{l_prefix}
  60. BuildRoot: %{l_buildroot}
  61. BuildPreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg
  62. PreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg
  63. AutoReq: no
  64. AutoReqProv: no
  65. %description
  66. Perl modules for use with parsing algorythms:
  67. - Config::IniFiles (%{V_config_inifiles})
  68. - Config::General (%{V_config_general})
  69. - Parse::RecDescent (%{V_parse_recdescent})
  70. - Parse::RecDescent::FAQ (%{V_parse_recdescent_faq})
  71. - Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse})
  72. - Parse::RecDescent::Consumer (%{V_parse_recdescent_consumer})
  73. - Parse::Yapp (%{V_parse_yapp})
  74. - Parse::Nibbler (%{V_parse_nibbler})
  75. - Parse::Earley (%{V_parse_earley})
  76. - ParseLex (%{V_parse_lex})
  77. %prep
  78. %setup0 -q -c
  79. %setup1 -q -T -D -a 1
  80. %setup2 -q -T -D -a 2
  81. %setup3 -q -T -D -a 3
  82. %setup4 -q -T -D -a 4
  83. %setup5 -q -T -D -a 5
  84. %setup6 -q -T -D -a 6
  85. %setup7 -q -T -D -a 7
  86. %setup8 -q -T -D -a 8
  87. %setup9 -q -T -D -a 9
  88. %build
  89. %install
  90. # perform common prolog operations
  91. %{l_prefix}/bin/perl-openpkg prolog
  92. # build and install individual modules
  93. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE0}
  94. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE1}
  95. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE2}
  96. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE3}
  97. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE4}
  98. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE5}
  99. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE6}
  100. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE7}
  101. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE8}
  102. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE9}
  103. # perform common epilog operations
  104. %{l_prefix}/bin/perl-openpkg epilog
  105. %files -f files
  106. %clean
  107. rm -rf $RPM_BUILD_ROOT