1.1 --- a/perl-parse/perl-parse.spec Tue Aug 28 18:55:10 2012 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,365 +0,0 @@ 1.4 -## 1.5 -## perl-parse.spec -- OpenPKG RPM Package Specification 1.6 -## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/> 1.7 -## 1.8 -## Permission to use, copy, modify, and distribute this software for 1.9 -## any purpose with or without fee is hereby granted, provided that 1.10 -## the above copyright notice and this permission notice appear in all 1.11 -## copies. 1.12 -## 1.13 -## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 1.14 -## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1.15 -## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1.16 -## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 1.17 -## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1.18 -## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 1.19 -## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 1.20 -## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 1.21 -## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 1.22 -## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 1.23 -## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1.24 -## SUCH DAMAGE. 1.25 -## 1.26 - 1.27 -# versions of individual parts 1.28 -%define V_perl 5.14 1.29 -%define V_config_inifiles 2.68 1.30 -%define V_config_general 2.50 1.31 -%define V_config_simple 4.59 1.32 -%define V_config_context 0.10 1.33 -%define V_config_scoped 0.13 1.34 -%define V_string_tokenizer 0.05 1.35 -%define V_parse_recdescent 1.962.2 1.36 -%define V_parse_recdescent_faq 7.5 1.37 -%define V_parse_recdescent_deparse 1.00 1.38 -%define V_parse_recdescent_consumer 1.03 1.39 -%define V_parse_recdescent_topiary 0.05 1.40 -%define V_parse_yapp 1.05 1.41 -%define V_parse_eyapp 1.181 1.42 -%define V_parse_earley 0.15 1.43 -%define V_parse_lex 2.20 1.44 -%define V_parse_flex 0.12 1.45 -%define V_c_scan 0.74 1.46 -%define V_appconfig 1.66 1.47 -%define V_appconfig_std 1.07 1.48 -%define V_ogdl 20041124 1.49 -%define V_text_csv_pp 1.06 1.50 -%define V_text_csv_xs 0.85 1.51 -%define V_text_csv_simple 1.00 1.52 -%define V_getopt_long 2.38_02 1.53 -%define V_getopt_attribute 2.101700 1.54 -%define V_getopt_argvfile 1.11 1.55 -%define V_getopt_fancy 0.06 1.56 -%define V_getopt_ll 1.0.0 1.57 -%define V_getopt_flex 1.07 1.58 - 1.59 -# package information 1.60 -Name: perl-parse 1.61 -Summary: Perl Modules for use with parsing algorythms 1.62 -URL: http://www.cpan.org/ 1.63 -Vendor: Perl Community 1.64 -Packager: OpenPKG Foundation e.V. 1.65 -Distribution: OpenPKG Community 1.66 -Class: BASE 1.67 -Group: Perl 1.68 -License: GPL/Artistic 1.69 -Version: %{V_perl} 1.70 -Release: 20110914 1.71 - 1.72 -# list of sources 1.73 -Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-%{V_config_inifiles}.tar.gz 1.74 -Source1: http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-%{V_config_general}.tar.gz 1.75 -Source2: http://www.cpan.org/authors/id/S/SH/SHERZODR/Config-Simple-%{V_config_simple}.tar.gz 1.76 -Source3: http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-%{V_parse_recdescent}.tar.gz 1.77 -Source4: http://www.cpan.org/authors/id/T/TB/TBONE/Parse-RecDescent-FAQ-%{V_parse_recdescent_faq}.tar.gz 1.78 -Source5: http://www.cpan.org/authors/id/S/SI/SIMON/Parse-RecDescent-Deparse-%{V_parse_recdescent_deparse}.tar.gz 1.79 -Source6: http://www.cpan.org/authors/id/T/TB/TBONE/Parse-RecDescent-Consumer-%{V_parse_recdescent_consumer}.tar.gz 1.80 -Source7: http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-%{V_parse_yapp}.tar.gz 1.81 -Source8: http://www.cpan.org/authors/id/L/LP/LPALMER/Parse-Earley-%{V_parse_earley}.tar.gz 1.82 -Source9: http://www.cpan.org/authors/id/P/PS/PSCUST/ParseLex-%{V_parse_lex}.tar.gz 1.83 -Source10: http://www.cpan.org/authors/id/H/HV/HVDS/C-Scan-%{V_c_scan}.tar.gz 1.84 -Source11: http://www.cpan.org/authors/id/A/AB/ABW/AppConfig-%{V_appconfig}.tar.gz 1.85 -Source12: http://www.cpan.org/authors/id/N/NE/NEILB/AppConfig-Std-%{V_appconfig_std}.tar.gz 1.86 -Source13: http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz 1.87 -Source14: http://www.cpan.org/authors/id/S/ST/STEVAN/String-Tokenizer-%{V_string_tokenizer}.tar.gz 1.88 -Source15: http://www.cpan.org/authors/id/M/MG/MGRAHAM/Config-Context-%{V_config_context}.tar.gz 1.89 -Source16: http://www.cpan.org/authors/id/G/GA/GAISSMAI/Config-Scoped-%{V_config_scoped}.tar.gz 1.90 -Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz 1.91 -Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz 1.92 -Source19: http://www.cpan.org/authors/id/T/TM/TMTM/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz 1.93 -Source20: http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-%{V_getopt_long}.tar.gz 1.94 -Source21: http://www.cpan.org/authors/id/M/MA/MARCEL/Getopt-Attribute-%{V_getopt_attribute}.tar.gz 1.95 -Source22: http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz 1.96 -Source23: http://www.cpan.org/authors/id/B/BA/BATMAN/Getopt-Fancy-%{V_getopt_fancy}.tar.gz 1.97 -Source24: http://www.cpan.org/authors/id/A/AS/ASKSH/Getopt-LL-%{V_getopt_ll}.tar.gz 1.98 -Source25: http://www.cpan.org/authors/id/I/IV/IVORW/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz 1.99 -Source26: http://www.cpan.org/authors/id/I/IO/IOANNIS/Parse-Flex-%{V_parse_flex}.tar.gz 1.100 -Source27: http://www.cpan.org/authors/id/C/CA/CASIANO/Parse-Eyapp-%{V_parse_eyapp}.tar.gz 1.101 -Source28: http://www.cpan.org/authors/id/R/RP/RPKELLY/Getopt-Flex-%{V_getopt_flex}.tar.gz 1.102 - 1.103 -# build information 1.104 -Prefix: %{l_prefix} 1.105 -BuildRoot: %{l_buildroot} 1.106 -BuildPreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031 1.107 -PreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl} 1.108 -BuildPreReq: perl-util, perl-module, flex 1.109 -PreReq: perl-util, perl-module, flex 1.110 -AutoReq: no 1.111 -AutoReqProv: no 1.112 - 1.113 -%description 1.114 - Perl modules for use with parsing algorythms: 1.115 - - Config::IniFiles (%{V_config_inifiles}) 1.116 - - Config::General (%{V_config_general}) 1.117 - - Config::Simple (%{V_config_simple}) 1.118 - - Config::Context (%{V_config_context}) 1.119 - - Config::Scoped (%{V_config_scoped}) 1.120 - - String::Tokenizer (%{V_string_tokenizer}) 1.121 - - Parse::RecDescent (%{V_parse_recdescent}) 1.122 - - Parse::RecDescent::FAQ (%{V_parse_recdescent_faq}) 1.123 - - Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse}) 1.124 - - Parse::RecDescent::Consumer (%{V_parse_recdescent_consumer}) 1.125 - - Parse::RecDescent::Topiary (%{V_parse_recdescent_topiary}) 1.126 - - Parse::Yapp (%{V_parse_yapp}) 1.127 - - Parse::Eyapp (%{V_parse_eyapp}) 1.128 - - Parse::Earley (%{V_parse_earley}) 1.129 - - Parse::Lex (%{V_parse_lex}) 1.130 - - Parse::Flex (%{V_parse_flex}) 1.131 - - C::Scan (%{V_c_scan}) 1.132 - - AppConfig (%{V_appconfig}) 1.133 - - AppConfig::Std (%{V_appconfig_std}) 1.134 - - OGDL (%{V_ogdl}) 1.135 - - Text::CSV_PP (%{V_text_csv_pp}) 1.136 - - Text::CSV_XS (%{V_text_csv_xs}) 1.137 - - Text::CSV::Simple (%{V_text_csv_simple}) 1.138 - - Getopt::Long (%{V_getopt_long}) 1.139 - - Getopt::Attribute (%{V_getopt_attribute}) 1.140 - - Getopt::ArgvFile (%{V_getopt_argvfile}) 1.141 - - Getopt::Fancy (%{V_getopt_fancy}) 1.142 - - Getopt::LL (%{V_getopt_ll}) 1.143 - - Getopt::Flex (%{V_getopt_flex}) 1.144 - 1.145 -%track 1.146 - prog perl-parse:Config-General = { 1.147 - version = %{V_config_general} 1.148 - url = http://www.cpan.org/authors/id/T/TL/TLINDEN/ 1.149 - regex = Config-General-(__VER__)\.tar\.gz 1.150 - } 1.151 - prog perl-parse:Config-IniFiles = { 1.152 - version = %{V_config_inifiles} 1.153 - url = http://www.cpan.org/authors/id/S/SH/SHLOMIF/ 1.154 - regex = Config-IniFiles-(__VER__)\.tar\.gz 1.155 - } 1.156 - prog perl-parse:Config-Simple = { 1.157 - version = %{V_config_simple} 1.158 - url = http://www.cpan.org/authors/id/S/SH/SHERZODR/ 1.159 - regex = Config-Simple-(__VER__)\.tar\.gz 1.160 - } 1.161 - prog perl-parse:Parse-RecDescent = { 1.162 - version = %{V_parse_recdescent} 1.163 - url = http://www.cpan.org/authors/id/D/DC/DCONWAY/ 1.164 - regex = Parse-RecDescent-v(__VER__)\.tar\.gz 1.165 - } 1.166 - prog perl-parse:Parse-RecDescent-Consumer = { 1.167 - version = %{V_parse_recdescent_consumer} 1.168 - url = http://www.cpan.org/authors/id/T/TB/TBONE/ 1.169 - regex = Parse-RecDescent-Consumer-(__VER__)\.tar\.gz 1.170 - } 1.171 - prog perl-parse:Parse-RecDescent-Deparse = { 1.172 - version = %{V_parse_recdescent_deparse} 1.173 - url = http://www.cpan.org/authors/id/S/SI/SIMON/ 1.174 - regex = Parse-RecDescent-Deparse-(__VER__)\.tar\.gz 1.175 - } 1.176 - prog perl-parse:Parse-RecDescent-FAQ = { 1.177 - version = %{V_parse_recdescent_faq} 1.178 - url = http://www.cpan.org/authors/id/T/TB/TBONE/ 1.179 - regex = Parse-RecDescent-FAQ-(__VER__)\.tar\.gz 1.180 - } 1.181 - prog perl-parse:Parse-RecDescent-Topiary = { 1.182 - version = %{V_parse_recdescent_topiary} 1.183 - url = http://www.cpan.org/authors/id/I/IV/IVORW/ 1.184 - regex = Parse-RecDescent-Topiary-(__VER__)\.tar\.gz 1.185 - } 1.186 - prog perl-parse:Parse-Yapp = { 1.187 - version = %{V_parse_yapp} 1.188 - url = http://www.cpan.org/authors/id/F/FD/FDESAR/ 1.189 - regex = Parse-Yapp-(__VER__)\.tar\.gz 1.190 - } 1.191 - prog perl-parse:Parse-Eyapp = { 1.192 - version = %{V_parse_eyapp} 1.193 - url = http://www.cpan.org/authors/id/C/CA/CASIANO/ 1.194 - regex = Parse-Eyapp-(__VER__)\.tar\.gz 1.195 - } 1.196 - prog perl-parse:Parse-Earley = { 1.197 - version = %{V_parse_earley} 1.198 - url = http://www.cpan.org/authors/id/L/LP/LPALMER/ 1.199 - regex = Parse-Earley-(__VER__)\.tar\.gz 1.200 - } 1.201 - prog perl-parse:Parse-Lex = { 1.202 - version = %{V_parse_lex} 1.203 - url = http://www.cpan.org/authors/id/P/PS/PSCUST/ 1.204 - regex = ParseLex-(__VER__)\.tar\.gz 1.205 - } 1.206 - prog perl-parse:Parse-Flex = { 1.207 - version = %{V_parse_flex} 1.208 - url = http://www.cpan.org/authors/id/I/IO/IOANNIS/ 1.209 - regex = Parse-Flex-(__VER__)\.tar\.gz 1.210 - } 1.211 - prog perl-parse:C-Scan = { 1.212 - version = %{V_c_scan} 1.213 - url = http://www.cpan.org/authors/id/H/HV/HVDS/ 1.214 - regex = C-Scan-(__VER__)\.tar\.gz 1.215 - } 1.216 - prog perl-parse:AppConfig = { 1.217 - version = %{V_appconfig} 1.218 - url = http://www.cpan.org/authors/id/A/AB/ABW/ 1.219 - regex = AppConfig-(__VER__)\.tar\.gz 1.220 - } 1.221 - prog perl-parse:AppConfig-Std = { 1.222 - version = %{V_appconfig_std} 1.223 - url = http://www.cpan.org/authors/id/N/NE/NEILB/ 1.224 - regex = AppConfig-Std-(__VER__)\.tar\.gz 1.225 - } 1.226 - prog perl-parse:OGDL = { 1.227 - version = %{V_ogdl} 1.228 - url = http://sourceforge.net/projects/ogdl/files/ 1.229 - regex = ogdlutils-(__VER__)\.tgz 1.230 - } 1.231 - prog perl-parse:String-Tokenizer = { 1.232 - version = %{V_string_tokenizer} 1.233 - url = http://www.cpan.org/authors/id/S/ST/STEVAN/ 1.234 - regex = String-Tokenizer-(__VER__)\.tar\.gz 1.235 - } 1.236 - prog perl-parse:Config-Context = { 1.237 - version = %{V_config_context} 1.238 - url = http://www.cpan.org/authors/id/M/MG/MGRAHAM/ 1.239 - regex = Config-Context-(__VER__)\.tar\.gz 1.240 - } 1.241 - prog perl-parse:Config-Scoped = { 1.242 - version = %{V_config_scoped} 1.243 - url = http://www.cpan.org/authors/id/G/GA/GAISSMAI/ 1.244 - regex = Config-Scoped-(__VER__)\.tar\.gz 1.245 - } 1.246 - prog perl-parse:Text-CSV_PP = { 1.247 - version = %{V_text_csv_pp} 1.248 - url = http://www.cpan.org/modules/by-module/Text/ 1.249 - regex = Text-CSV_PP-(__VER__)\.tar\.gz 1.250 - } 1.251 - prog perl-parse:Text-CSV_XS = { 1.252 - version = %{V_text_csv_xs} 1.253 - url = http://www.cpan.org/modules/by-module/Text/ 1.254 - regex = Text-CSV_XS-(__VER__)\.t(ar\.)?gz 1.255 - } 1.256 - prog perl-parse:Text-CSV-Simple = { 1.257 - version = %{V_text_csv_simple} 1.258 - url = http://www.cpan.org/authors/id/T/TM/TMTM/ 1.259 - regex = Text-CSV-Simple-(__VER__)\.tar\.gz 1.260 - } 1.261 - prog perl-parse:Getopt-Long = { 1.262 - version = %{V_getopt_long} 1.263 - url = http://www.cpan.org/authors/id/J/JV/JV/ 1.264 - regex = Getopt-Long-(__VER__)\.tar\.gz 1.265 - } 1.266 - prog perl-parse:Getopt-Attribute = { 1.267 - version = %{V_getopt_attribute} 1.268 - url = http://www.cpan.org/authors/id/M/MA/MARCEL/ 1.269 - regex = Getopt-Attribute-(__VER__)\.tar\.gz 1.270 - } 1.271 - prog perl-parse:Getopt-ArgvFile = { 1.272 - version = %{V_getopt_argvfile} 1.273 - url = http://www.cpan.org/authors/id/J/JS/JSTENZEL/ 1.274 - regex = Getopt-ArgvFile-(__VER__)\.tar\.gz 1.275 - } 1.276 - prog perl-parse:Getopt-Fancy = { 1.277 - version = %{V_getopt_fancy} 1.278 - url = http://www.cpan.org/authors/id/B/BA/BATMAN/ 1.279 - regex = Getopt-Fancy-(__VER__)\.tar\.gz 1.280 - } 1.281 - prog perl-parse:Getopt-LL = { 1.282 - version = %{V_getopt_ll} 1.283 - url = http://www.cpan.org/authors/id/A/AS/ASKSH/ 1.284 - regex = Getopt-LL-(__VER__)\.tar\.gz 1.285 - } 1.286 - prog perl-parse:Getopt-Flex = { 1.287 - version = %{V_getopt_flex} 1.288 - url = http://www.cpan.org/authors/id/R/RP/RPKELLY/ 1.289 - regex = Getopt-Flex-(__VER__)\.tar\.gz 1.290 - } 1.291 - 1.292 -%prep 1.293 - %setup -q -c 1.294 - %setup -q -T -D -a 1 1.295 - %setup -q -T -D -a 2 1.296 - %setup -q -T -D -a 3 1.297 - %setup -q -T -D -a 4 1.298 - %setup -q -T -D -a 5 1.299 - %setup -q -T -D -a 6 1.300 - %setup -q -T -D -a 7 1.301 - %setup -q -T -D -a 8 1.302 - %setup -q -T -D -a 9 1.303 - %setup -q -T -D -a 10 1.304 - %setup -q -T -D -a 11 1.305 - %setup -q -T -D -a 12 1.306 - %setup -q -T -D -a 13 1.307 - %setup -q -T -D -a 14 1.308 - %setup -q -T -D -a 15 1.309 - %setup -q -T -D -a 16 1.310 - %setup -q -T -D -a 17 1.311 - %setup -q -T -D -a 18 1.312 - %setup -q -T -D -a 19 1.313 - %setup -q -T -D -a 20 1.314 - %setup -q -T -D -a 21 1.315 - %setup -q -T -D -a 22 1.316 - %setup -q -T -D -a 23 1.317 - %setup -q -T -D -a 24 1.318 - %setup -q -T -D -a 25 1.319 - %setup -q -T -D -a 26 1.320 - %setup -q -T -D -a 27 1.321 - %setup -q -T -D -a 28 1.322 - 1.323 -%build 1.324 - 1.325 -%install 1.326 - rm -rf $RPM_BUILD_ROOT 1.327 - %{l_prefix}/bin/perl-openpkg prepare 1.328 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install 1.329 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install 1.330 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install 1.331 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install 1.332 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install 1.333 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install 1.334 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install 1.335 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install 1.336 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install 1.337 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install 1.338 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install 1.339 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install 1.340 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install 1.341 - ( cd ogdlutils-%{V_ogdl}/c 1.342 - %{l_cc} %{l_cflags} -c ogdlparser.c graph.c path.c ogdllog.c 1.343 - ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o 1.344 - ) || exit $? 1.345 - %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install 1.346 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install 1.347 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install 1.348 - %{l_prefix}/bin/perl-openpkg -A TAR=%{l_tar} -d %{SOURCE16} configure build install 1.349 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install 1.350 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install 1.351 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install 1.352 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install 1.353 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install 1.354 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install 1.355 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install 1.356 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install 1.357 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install 1.358 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install 1.359 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install 1.360 - %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install 1.361 - %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup 1.362 - %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` 1.363 - 1.364 -%files -f files 1.365 - 1.366 -%clean 1.367 - rm -rf $RPM_BUILD_ROOT 1.368 -