Tue, 29 Mar 2011 20:04:34 +0200
Rework package yet again, correcting and introducing new buildconf logic:
Conditionally disable bootstrap stage comparison correctly, correct
english grammar, better find system as(1) and ld(1), indotruce detailed
optimization option messages, more completely guess cpu types, allow
profiled bootstrapping without a preinstalled GCC because many other
compilers have long since implemented 64-bit arithmetic, instruct make
to build sequentially (not in sparallel) when building a profiled
bootstrap as GCC online documents recommend, and generally improve
comment blocks.
The single most important correction in this changeset relates to the
GCC changed optimization policy since at least GCC 4.5, in which -march
is always passed and not always correctly guessed. In the case of this
package, allowing GCC to guess the architecture leads to wild build
errors at various subcomponents (zlib, libgcc, libiberty...) and
bootstrap stages. It seems quite platform specific, and the safest
approach to correcting this seems to be explicitly always specifying the
-march argument when bootstrapping GCC. Because the best choice 'native'
is not available when bootstrapping using a foreign (non GCC) compiler,
a guess is made according to rpmmacros l_platform in that case.
It is questionable as to whether these recent optimization changes
on the part of GCC or this package are compatible with each other,
or if either are complete or correct at all. At least applying these
corrections allows this package to build again in most cases test.
michael@57 | 1 | ## |
michael@57 | 2 | ## perl-parse.spec -- OpenPKG RPM Package Specification |
michael@57 | 3 | ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> |
michael@57 | 4 | ## |
michael@57 | 5 | ## Permission to use, copy, modify, and distribute this software for |
michael@57 | 6 | ## any purpose with or without fee is hereby granted, provided that |
michael@57 | 7 | ## the above copyright notice and this permission notice appear in all |
michael@57 | 8 | ## copies. |
michael@57 | 9 | ## |
michael@57 | 10 | ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED |
michael@57 | 11 | ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
michael@57 | 12 | ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
michael@57 | 13 | ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR |
michael@57 | 14 | ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
michael@57 | 15 | ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
michael@57 | 16 | ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
michael@57 | 17 | ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
michael@57 | 18 | ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
michael@57 | 19 | ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
michael@57 | 20 | ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
michael@57 | 21 | ## SUCH DAMAGE. |
michael@57 | 22 | ## |
michael@57 | 23 | |
michael@57 | 24 | # versions of individual parts |
michael@57 | 25 | %define V_perl 5.10.0 |
michael@158 | 26 | %define V_config_inifiles 2.48 |
michael@57 | 27 | %define V_config_general 2.42 |
michael@57 | 28 | %define V_config_simple 4.58 |
michael@57 | 29 | %define V_config_context 0.10 |
michael@57 | 30 | %define V_config_scoped 0.12 |
michael@57 | 31 | %define V_string_tokenizer 0.05 |
michael@57 | 32 | %define V_parse_recdescent 1.95.1 |
michael@57 | 33 | %define V_parse_recdescent_faq 6.0.e |
michael@57 | 34 | %define V_parse_recdescent_deparse 1.00 |
michael@57 | 35 | %define V_parse_recdescent_consumer 1.03 |
michael@57 | 36 | %define V_parse_recdescent_topiary 0.05 |
michael@57 | 37 | %define V_parse_yapp 1.05 |
michael@158 | 38 | %define V_parse_eyapp 1.146 |
michael@57 | 39 | %define V_parse_earley 0.15 |
michael@57 | 40 | %define V_parse_lex 2.15 |
michael@57 | 41 | %define V_parse_flex 0.12 |
michael@57 | 42 | %define V_c_scan 0.74 |
michael@57 | 43 | %define V_appconfig 1.66 |
michael@57 | 44 | %define V_appconfig_std 1.07 |
michael@57 | 45 | %define V_ogdl 20041124 |
michael@158 | 46 | %define V_text_csv_xs 0.64 |
michael@57 | 47 | %define V_text_csv_simple 1.00 |
michael@158 | 48 | %define V_getopt_long 2.38 |
michael@57 | 49 | %define V_getopt_attribute 1.44 |
michael@57 | 50 | %define V_getopt_argvfile 1.11 |
michael@57 | 51 | %define V_getopt_fancy 0.06 |
michael@57 | 52 | %define V_getopt_ll 1.0.0 |
michael@57 | 53 | |
michael@57 | 54 | # package information |
michael@57 | 55 | Name: perl-parse |
michael@57 | 56 | Summary: Perl Modules for use with parsing algorythms |
michael@57 | 57 | URL: http://www.cpan.org/ |
michael@57 | 58 | Vendor: Perl Community |
michael@57 | 59 | Packager: OpenPKG Foundation e.V. |
michael@57 | 60 | Distribution: OpenPKG Community |
michael@57 | 61 | Class: BASE |
michael@57 | 62 | Group: Perl |
michael@57 | 63 | License: GPL/Artistic |
michael@57 | 64 | Version: %{V_perl} |
michael@158 | 65 | Release: 20090416 |
michael@57 | 66 | |
michael@57 | 67 | # list of sources |
michael@57 | 68 | Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz |
michael@57 | 69 | Source1: http://www.cpan.org/modules/by-module/Config/Config-General-%{V_config_general}.tar.gz |
michael@57 | 70 | Source2: http://www.cpan.org/modules/by-module/Config/Config-Simple-%{V_config_simple}.tar.gz |
michael@57 | 71 | Source3: http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-v%{V_parse_recdescent}.tar.gz |
michael@57 | 72 | Source4: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-FAQ-%{V_parse_recdescent_faq}.tar.gz |
michael@57 | 73 | Source5: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Deparse-%{V_parse_recdescent_deparse}.tar.gz |
michael@57 | 74 | Source6: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Consumer-%{V_parse_recdescent_consumer}.tar.gz |
michael@57 | 75 | Source7: http://www.cpan.org/modules/by-module/Parse/Parse-Yapp-%{V_parse_yapp}.tar.gz |
michael@57 | 76 | Source8: http://www.cpan.org/modules/by-module/Parse/Parse-Earley-%{V_parse_earley}.tar.gz |
michael@57 | 77 | Source9: http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex}.tar.gz |
michael@57 | 78 | Source10: http://www.cpan.org/modules/by-module/C/C-Scan-%{V_c_scan}.tar.gz |
michael@57 | 79 | Source11: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-%{V_appconfig}.tar.gz |
michael@57 | 80 | Source12: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz |
michael@57 | 81 | Source13: http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz |
michael@57 | 82 | Source14: http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz |
michael@57 | 83 | Source15: http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz |
michael@57 | 84 | Source16: http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz |
michael@59 | 85 | Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz |
michael@59 | 86 | Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz |
michael@59 | 87 | Source19: http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz |
michael@59 | 88 | Source20: http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz |
michael@59 | 89 | Source21: http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz |
michael@59 | 90 | Source22: http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz |
michael@59 | 91 | Source23: http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz |
michael@59 | 92 | Source24: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz |
michael@59 | 93 | Source25: http://www.cpan.org/modules/by-module/Parse/Parse-Flex-%{V_parse_flex}.tar.gz |
michael@59 | 94 | Source26: http://www.cpan.org/modules/by-module/Parse/Parse-Eyapp-%{V_parse_eyapp}.tar.gz |
michael@57 | 95 | |
michael@57 | 96 | # build information |
michael@57 | 97 | Prefix: %{l_prefix} |
michael@57 | 98 | BuildRoot: %{l_buildroot} |
michael@158 | 99 | BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031 |
michael@158 | 100 | PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl} |
michael@57 | 101 | BuildPreReq: perl-util, perl-module, flex |
michael@57 | 102 | PreReq: perl-util, perl-module, flex |
michael@57 | 103 | AutoReq: no |
michael@57 | 104 | AutoReqProv: no |
michael@57 | 105 | |
michael@57 | 106 | %description |
michael@57 | 107 | Perl modules for use with parsing algorythms: |
michael@57 | 108 | - Config::IniFiles (%{V_config_inifiles}) |
michael@57 | 109 | - Config::General (%{V_config_general}) |
michael@57 | 110 | - Config::Simple (%{V_config_simple}) |
michael@57 | 111 | - Config::Context (%{V_config_context}) |
michael@57 | 112 | - Config::Scoped (%{V_config_scoped}) |
michael@57 | 113 | - String::Tokenizer (%{V_string_tokenizer}) |
michael@57 | 114 | - Parse::RecDescent (%{V_parse_recdescent}) |
michael@57 | 115 | - Parse::RecDescent::FAQ (%{V_parse_recdescent_faq}) |
michael@57 | 116 | - Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse}) |
michael@57 | 117 | - Parse::RecDescent::Consumer (%{V_parse_recdescent_consumer}) |
michael@57 | 118 | - Parse::RecDescent::Topiary (%{V_parse_recdescent_topiary}) |
michael@57 | 119 | - Parse::Yapp (%{V_parse_yapp}) |
michael@57 | 120 | - Parse::Eyapp (%{V_parse_eyapp}) |
michael@57 | 121 | - Parse::Earley (%{V_parse_earley}) |
michael@57 | 122 | - Parse::Lex (%{V_parse_lex}) |
michael@57 | 123 | - Parse::Flex (%{V_parse_flex}) |
michael@57 | 124 | - C::Scan (%{V_c_scan}) |
michael@57 | 125 | - AppConfig (%{V_appconfig}) |
michael@57 | 126 | - AppConfig::Std (%{V_appconfig_std}) |
michael@57 | 127 | - OGDL (%{V_ogdl}) |
michael@57 | 128 | - Text::CSV_XS (%{V_text_csv_xs}) |
michael@57 | 129 | - Text::CSV::Simple (%{V_text_csv_simple}) |
michael@57 | 130 | - Getopt::Long (%{V_getopt_long}) |
michael@57 | 131 | - Getopt::Attribute (%{V_getopt_attribute}) |
michael@57 | 132 | - Getopt::ArgvFile (%{V_getopt_argvfile}) |
michael@57 | 133 | - Getopt::Fancy (%{V_getopt_fancy}) |
michael@57 | 134 | - Getopt::LL (%{V_getopt_ll}) |
michael@57 | 135 | |
michael@57 | 136 | %track |
michael@57 | 137 | prog perl-parse:Config-General = { |
michael@57 | 138 | version = %{V_config_general} |
michael@57 | 139 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 140 | regex = Config-General-(__VER__)\.tar\.gz |
michael@57 | 141 | } |
michael@57 | 142 | prog perl-parse:Config-IniFiles = { |
michael@57 | 143 | version = %{V_config_inifiles} |
michael@57 | 144 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 145 | regex = Config-IniFiles-(__VER__)\.tar\.gz |
michael@57 | 146 | } |
michael@57 | 147 | prog perl-parse:Config-Simple = { |
michael@57 | 148 | version = %{V_config_simple} |
michael@57 | 149 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 150 | regex = Config-Simple-(__VER__)\.tar\.gz |
michael@57 | 151 | } |
michael@57 | 152 | prog perl-parse:Parse-RecDescent = { |
michael@57 | 153 | version = %{V_parse_recdescent} |
michael@57 | 154 | url = http://www.cpan.org/authors/id/D/DC/DCONWAY/ |
michael@57 | 155 | regex = Parse-RecDescent-v(__VER__)\.tar\.gz |
michael@57 | 156 | } |
michael@57 | 157 | prog perl-parse:Parse-RecDescent-Consumer = { |
michael@57 | 158 | version = %{V_parse_recdescent_consumer} |
michael@57 | 159 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 160 | regex = Parse-RecDescent-Consumer-(__VER__)\.tar\.gz |
michael@57 | 161 | } |
michael@57 | 162 | prog perl-parse:Parse-RecDescent-Deparse = { |
michael@57 | 163 | version = %{V_parse_recdescent_deparse} |
michael@57 | 164 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 165 | regex = Parse-RecDescent-Deparse-(__VER__)\.tar\.gz |
michael@57 | 166 | } |
michael@57 | 167 | prog perl-parse:Parse-RecDescent-FAQ = { |
michael@57 | 168 | version = %{V_parse_recdescent_faq} |
michael@57 | 169 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 170 | regex = Parse-RecDescent-FAQ-(__VER__)\.tar\.gz |
michael@57 | 171 | } |
michael@57 | 172 | prog perl-parse:Parse-RecDescent-Topiary = { |
michael@57 | 173 | version = %{V_parse_recdescent_topiary} |
michael@57 | 174 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 175 | regex = Parse-RecDescent-Topiary-(__VER__)\.tar\.gz |
michael@57 | 176 | } |
michael@57 | 177 | prog perl-parse:Parse-Yapp = { |
michael@57 | 178 | version = %{V_parse_yapp} |
michael@57 | 179 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 180 | regex = Parse-Yapp-(__VER__)\.tar\.gz |
michael@57 | 181 | } |
michael@57 | 182 | prog perl-parse:Parse-Eyapp = { |
michael@57 | 183 | version = %{V_parse_eyapp} |
michael@57 | 184 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 185 | regex = Parse-Eyapp-(__VER__)\.tar\.gz |
michael@57 | 186 | } |
michael@57 | 187 | prog perl-parse:Parse-Earley = { |
michael@57 | 188 | version = %{V_parse_earley} |
michael@57 | 189 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 190 | regex = Parse-Earley-(__VER__)\.tar\.gz |
michael@57 | 191 | } |
michael@57 | 192 | prog perl-parse:Parse-Lex = { |
michael@57 | 193 | version = %{V_parse_lex} |
michael@57 | 194 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 195 | regex = ParseLex-(__VER__)\.tar\.gz |
michael@57 | 196 | } |
michael@57 | 197 | prog perl-parse:Parse-Flex = { |
michael@57 | 198 | version = %{V_parse_flex} |
michael@57 | 199 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 200 | regex = Parse-Flex-(__VER__)\.tar\.gz |
michael@57 | 201 | } |
michael@57 | 202 | prog perl-parse:C-Scan = { |
michael@57 | 203 | version = %{V_c_scan} |
michael@57 | 204 | url = http://www.cpan.org/modules/by-module/C/ |
michael@57 | 205 | regex = C-Scan-(__VER__)\.tar\.gz |
michael@57 | 206 | } |
michael@57 | 207 | prog perl-parse:AppConfig = { |
michael@57 | 208 | version = %{V_appconfig} |
michael@57 | 209 | url = http://www.cpan.org/modules/by-module/AppConfig/ |
michael@57 | 210 | regex = AppConfig-(__VER__)\.tar\.gz |
michael@57 | 211 | } |
michael@57 | 212 | prog perl-parse:AppConfig-Std = { |
michael@57 | 213 | version = %{V_appconfig_std} |
michael@57 | 214 | url = http://www.cpan.org/modules/by-module/AppConfig/ |
michael@57 | 215 | regex = AppConfig-Std-(__VER__)\.tar\.gz |
michael@57 | 216 | } |
michael@57 | 217 | prog perl-parse:OGDL = { |
michael@57 | 218 | version = %{V_ogdl} |
michael@57 | 219 | url = http://prdownloads.sourceforge.net/ogdl/ |
michael@57 | 220 | regex = ogdlutils-(__VER__)\.tgz |
michael@57 | 221 | } |
michael@57 | 222 | prog perl-parse:String-Tokenizer = { |
michael@57 | 223 | version = %{V_string_tokenizer} |
michael@57 | 224 | url = http://www.cpan.org/modules/by-module/String/ |
michael@57 | 225 | regex = String-Tokenizer-(__VER__)\.tar\.gz |
michael@57 | 226 | } |
michael@57 | 227 | prog perl-parse:Config-Context = { |
michael@57 | 228 | version = %{V_config_context} |
michael@57 | 229 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 230 | regex = Config-Context-(__VER__)\.tar\.gz |
michael@57 | 231 | } |
michael@57 | 232 | prog perl-parse:Config-Scoped = { |
michael@57 | 233 | version = %{V_config_scoped} |
michael@57 | 234 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 235 | regex = Config-Scoped-(__VER__)\.tar\.gz |
michael@57 | 236 | } |
michael@57 | 237 | prog perl-parse:Text-CSV_XS = { |
michael@57 | 238 | version = %{V_text_csv_xs} |
michael@57 | 239 | url = http://www.cpan.org/modules/by-module/Text/ |
michael@57 | 240 | regex = Text-CSV_XS-(__VER__)\.t(ar\.)?gz |
michael@57 | 241 | } |
michael@57 | 242 | prog perl-parse:Text-CSV-Simple = { |
michael@57 | 243 | version = %{V_text_csv_simple} |
michael@57 | 244 | url = http://www.cpan.org/modules/by-module/Text/ |
michael@57 | 245 | regex = Text-CSV-Simple-(__VER__)\.tar\.gz |
michael@57 | 246 | } |
michael@57 | 247 | prog perl-parse:Getopt-Long = { |
michael@57 | 248 | version = %{V_getopt_long} |
michael@57 | 249 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 250 | regex = Getopt-Long-(__VER__)\.tar\.gz |
michael@57 | 251 | } |
michael@57 | 252 | prog perl-parse:Getopt-Attribute = { |
michael@57 | 253 | version = %{V_getopt_attribute} |
michael@57 | 254 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 255 | regex = Getopt-Attribute-(__VER__)\.tar\.gz |
michael@57 | 256 | } |
michael@57 | 257 | prog perl-parse:Getopt-ArgvFile = { |
michael@57 | 258 | version = %{V_getopt_argvfile} |
michael@57 | 259 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 260 | regex = Getopt-ArgvFile-(__VER__)\.tar\.gz |
michael@57 | 261 | } |
michael@57 | 262 | prog perl-parse:Getopt-Fancy = { |
michael@57 | 263 | version = %{V_getopt_fancy} |
michael@57 | 264 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 265 | regex = Getopt-Fancy-(__VER__)\.tar\.gz |
michael@57 | 266 | } |
michael@57 | 267 | prog perl-parse:Getopt-LL = { |
michael@57 | 268 | version = %{V_getopt_ll} |
michael@57 | 269 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 270 | regex = Getopt-LL-(__VER__)\.tar\.gz |
michael@57 | 271 | } |
michael@57 | 272 | |
michael@57 | 273 | %prep |
michael@57 | 274 | %setup -q -c |
michael@57 | 275 | %setup -q -T -D -a 1 |
michael@57 | 276 | %setup -q -T -D -a 2 |
michael@57 | 277 | %setup -q -T -D -a 3 |
michael@57 | 278 | %setup -q -T -D -a 4 |
michael@57 | 279 | %setup -q -T -D -a 5 |
michael@57 | 280 | %setup -q -T -D -a 6 |
michael@57 | 281 | %setup -q -T -D -a 7 |
michael@57 | 282 | %setup -q -T -D -a 8 |
michael@57 | 283 | %setup -q -T -D -a 9 |
michael@57 | 284 | %setup -q -T -D -a 10 |
michael@57 | 285 | %setup -q -T -D -a 11 |
michael@57 | 286 | %setup -q -T -D -a 12 |
michael@57 | 287 | %setup -q -T -D -a 13 |
michael@57 | 288 | %setup -q -T -D -a 14 |
michael@57 | 289 | %setup -q -T -D -a 15 |
michael@57 | 290 | %setup -q -T -D -a 16 |
michael@57 | 291 | %setup -q -T -D -a 17 |
michael@57 | 292 | %setup -q -T -D -a 18 |
michael@57 | 293 | %setup -q -T -D -a 19 |
michael@57 | 294 | %setup -q -T -D -a 20 |
michael@57 | 295 | %setup -q -T -D -a 21 |
michael@57 | 296 | %setup -q -T -D -a 22 |
michael@57 | 297 | %setup -q -T -D -a 23 |
michael@57 | 298 | %setup -q -T -D -a 24 |
michael@57 | 299 | %setup -q -T -D -a 25 |
michael@57 | 300 | %setup -q -T -D -a 26 |
michael@57 | 301 | |
michael@57 | 302 | %build |
michael@57 | 303 | |
michael@57 | 304 | %install |
michael@57 | 305 | rm -rf $RPM_BUILD_ROOT |
michael@57 | 306 | %{l_prefix}/bin/perl-openpkg prepare |
michael@57 | 307 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install |
michael@57 | 308 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install |
michael@57 | 309 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install |
michael@57 | 310 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install |
michael@57 | 311 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install |
michael@57 | 312 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install |
michael@57 | 313 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install |
michael@57 | 314 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install |
michael@57 | 315 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install |
michael@57 | 316 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install |
michael@57 | 317 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install |
michael@57 | 318 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install |
michael@57 | 319 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install |
michael@57 | 320 | ( cd ogdlutils-%{V_ogdl}/c |
michael@57 | 321 | %{l_cc} %{l_cflags} -c ogdlparser.c graph.c path.c ogdllog.c |
michael@57 | 322 | ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o |
michael@57 | 323 | ) || exit $? |
michael@57 | 324 | %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install |
michael@57 | 325 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install |
michael@57 | 326 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install |
michael@158 | 327 | %{l_prefix}/bin/perl-openpkg -A TAR=%{l_tar} -d %{SOURCE16} configure build install |
michael@57 | 328 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install |
michael@57 | 329 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install |
michael@57 | 330 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install |
michael@57 | 331 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install |
michael@57 | 332 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install |
michael@57 | 333 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install |
michael@57 | 334 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install |
michael@57 | 335 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install |
michael@57 | 336 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install |
michael@57 | 337 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install |
michael@57 | 338 | %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
michael@57 | 339 | %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
michael@57 | 340 | |
michael@57 | 341 | %files -f files |
michael@57 | 342 | |
michael@57 | 343 | %clean |
michael@57 | 344 | rm -rf $RPM_BUILD_ROOT |
michael@57 | 345 |