Fri, 16 Jan 2009 10:58:21 +0100
Correct and improve code logic, buildconf, and packaging. In particular:
1. Use descriptive variable names <var>libs instead of just <var>.
2. Although Nokia states in all Qt builds that 'NOTE: When linking
against OpenSSL, you can override the default library names
through OPENSSL_LIBS.' and even gives an example, their own
configuration logic rejects such an attempt. Correct this by
hard coding the OpenSSL library string in the configure script.
3. Consistently use the whitespace substitution [\t ] throughout.
4. Patch the buggy INCPATH of SQL plugin Qmake project files.
5. Add the 'x11' configuration variable to the qtconfig Qmake
project using the src/gui/gui.pro file as a model. This is
needed for qtconfig although not in other tools, because
the qtconfig buildconf indirectly includes qt_x11_p.h which
is dependent on X11 headers.
6. Avoid 'ld.so: fatal: hardware capability unsupported: SSE2 AMD_3DNow'
on platforms for which the config.tests/unix/[3dnow|sse2] succeed
although unsopported at run time by testing for the x86-64
instruction set at build time and regulating hardware capabilities.
7. Correctly install the desinger plugin by explicitly building it.
8. Remove custom plugin installation logic which is unnecessary.
9. Correct removal of temporary paths from shared object files.
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@57 | 26 | %define V_config_inifiles 2.45 |
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@57 | 38 | %define V_parse_eyapp 1.136 |
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@57 | 46 | %define V_text_csv_xs 0.58 |
michael@57 | 47 | %define V_text_csv_simple 1.00 |
michael@57 | 48 | %define V_getopt_long 2.37 |
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@59 | 65 | Release: 20090106 |
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@59 | 99 | BuildPreReq: OpenPKG, openpkg >= 20040130 |
michael@59 | 100 | PreReq: OpenPKG, openpkg >= 20040130 |
michael@59 | 101 | BuildPreReq: perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031, tar |
michael@59 | 102 | PreReq: perl >= %{V_perl} |
michael@57 | 103 | BuildPreReq: perl-util, perl-module, flex |
michael@57 | 104 | PreReq: perl-util, perl-module, flex |
michael@57 | 105 | AutoReq: no |
michael@57 | 106 | AutoReqProv: no |
michael@57 | 107 | |
michael@57 | 108 | %description |
michael@57 | 109 | Perl modules for use with parsing algorythms: |
michael@57 | 110 | - Config::IniFiles (%{V_config_inifiles}) |
michael@57 | 111 | - Config::General (%{V_config_general}) |
michael@57 | 112 | - Config::Simple (%{V_config_simple}) |
michael@57 | 113 | - Config::Context (%{V_config_context}) |
michael@57 | 114 | - Config::Scoped (%{V_config_scoped}) |
michael@57 | 115 | - String::Tokenizer (%{V_string_tokenizer}) |
michael@57 | 116 | - Parse::RecDescent (%{V_parse_recdescent}) |
michael@57 | 117 | - Parse::RecDescent::FAQ (%{V_parse_recdescent_faq}) |
michael@57 | 118 | - Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse}) |
michael@57 | 119 | - Parse::RecDescent::Consumer (%{V_parse_recdescent_consumer}) |
michael@57 | 120 | - Parse::RecDescent::Topiary (%{V_parse_recdescent_topiary}) |
michael@57 | 121 | - Parse::Yapp (%{V_parse_yapp}) |
michael@57 | 122 | - Parse::Eyapp (%{V_parse_eyapp}) |
michael@57 | 123 | - Parse::Earley (%{V_parse_earley}) |
michael@57 | 124 | - Parse::Lex (%{V_parse_lex}) |
michael@57 | 125 | - Parse::Flex (%{V_parse_flex}) |
michael@57 | 126 | - C::Scan (%{V_c_scan}) |
michael@57 | 127 | - AppConfig (%{V_appconfig}) |
michael@57 | 128 | - AppConfig::Std (%{V_appconfig_std}) |
michael@57 | 129 | - OGDL (%{V_ogdl}) |
michael@57 | 130 | - Text::CSV_XS (%{V_text_csv_xs}) |
michael@57 | 131 | - Text::CSV::Simple (%{V_text_csv_simple}) |
michael@57 | 132 | - Getopt::Long (%{V_getopt_long}) |
michael@57 | 133 | - Getopt::Attribute (%{V_getopt_attribute}) |
michael@57 | 134 | - Getopt::ArgvFile (%{V_getopt_argvfile}) |
michael@57 | 135 | - Getopt::Fancy (%{V_getopt_fancy}) |
michael@57 | 136 | - Getopt::LL (%{V_getopt_ll}) |
michael@57 | 137 | |
michael@57 | 138 | %track |
michael@57 | 139 | prog perl-parse:Config-General = { |
michael@57 | 140 | version = %{V_config_general} |
michael@57 | 141 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 142 | regex = Config-General-(__VER__)\.tar\.gz |
michael@57 | 143 | } |
michael@57 | 144 | prog perl-parse:Config-IniFiles = { |
michael@57 | 145 | version = %{V_config_inifiles} |
michael@57 | 146 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 147 | regex = Config-IniFiles-(__VER__)\.tar\.gz |
michael@57 | 148 | } |
michael@57 | 149 | prog perl-parse:Config-Simple = { |
michael@57 | 150 | version = %{V_config_simple} |
michael@57 | 151 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 152 | regex = Config-Simple-(__VER__)\.tar\.gz |
michael@57 | 153 | } |
michael@57 | 154 | prog perl-parse:Parse-RecDescent = { |
michael@57 | 155 | version = %{V_parse_recdescent} |
michael@57 | 156 | url = http://www.cpan.org/authors/id/D/DC/DCONWAY/ |
michael@57 | 157 | regex = Parse-RecDescent-v(__VER__)\.tar\.gz |
michael@57 | 158 | } |
michael@57 | 159 | prog perl-parse:Parse-RecDescent-Consumer = { |
michael@57 | 160 | version = %{V_parse_recdescent_consumer} |
michael@57 | 161 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 162 | regex = Parse-RecDescent-Consumer-(__VER__)\.tar\.gz |
michael@57 | 163 | } |
michael@57 | 164 | prog perl-parse:Parse-RecDescent-Deparse = { |
michael@57 | 165 | version = %{V_parse_recdescent_deparse} |
michael@57 | 166 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 167 | regex = Parse-RecDescent-Deparse-(__VER__)\.tar\.gz |
michael@57 | 168 | } |
michael@57 | 169 | prog perl-parse:Parse-RecDescent-FAQ = { |
michael@57 | 170 | version = %{V_parse_recdescent_faq} |
michael@57 | 171 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 172 | regex = Parse-RecDescent-FAQ-(__VER__)\.tar\.gz |
michael@57 | 173 | } |
michael@57 | 174 | prog perl-parse:Parse-RecDescent-Topiary = { |
michael@57 | 175 | version = %{V_parse_recdescent_topiary} |
michael@57 | 176 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 177 | regex = Parse-RecDescent-Topiary-(__VER__)\.tar\.gz |
michael@57 | 178 | } |
michael@57 | 179 | prog perl-parse:Parse-Yapp = { |
michael@57 | 180 | version = %{V_parse_yapp} |
michael@57 | 181 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 182 | regex = Parse-Yapp-(__VER__)\.tar\.gz |
michael@57 | 183 | } |
michael@57 | 184 | prog perl-parse:Parse-Eyapp = { |
michael@57 | 185 | version = %{V_parse_eyapp} |
michael@57 | 186 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 187 | regex = Parse-Eyapp-(__VER__)\.tar\.gz |
michael@57 | 188 | } |
michael@57 | 189 | prog perl-parse:Parse-Earley = { |
michael@57 | 190 | version = %{V_parse_earley} |
michael@57 | 191 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 192 | regex = Parse-Earley-(__VER__)\.tar\.gz |
michael@57 | 193 | } |
michael@57 | 194 | prog perl-parse:Parse-Lex = { |
michael@57 | 195 | version = %{V_parse_lex} |
michael@57 | 196 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 197 | regex = ParseLex-(__VER__)\.tar\.gz |
michael@57 | 198 | } |
michael@57 | 199 | prog perl-parse:Parse-Flex = { |
michael@57 | 200 | version = %{V_parse_flex} |
michael@57 | 201 | url = http://www.cpan.org/modules/by-module/Parse/ |
michael@57 | 202 | regex = Parse-Flex-(__VER__)\.tar\.gz |
michael@57 | 203 | } |
michael@57 | 204 | prog perl-parse:C-Scan = { |
michael@57 | 205 | version = %{V_c_scan} |
michael@57 | 206 | url = http://www.cpan.org/modules/by-module/C/ |
michael@57 | 207 | regex = C-Scan-(__VER__)\.tar\.gz |
michael@57 | 208 | } |
michael@57 | 209 | prog perl-parse:AppConfig = { |
michael@57 | 210 | version = %{V_appconfig} |
michael@57 | 211 | url = http://www.cpan.org/modules/by-module/AppConfig/ |
michael@57 | 212 | regex = AppConfig-(__VER__)\.tar\.gz |
michael@57 | 213 | } |
michael@57 | 214 | prog perl-parse:AppConfig-Std = { |
michael@57 | 215 | version = %{V_appconfig_std} |
michael@57 | 216 | url = http://www.cpan.org/modules/by-module/AppConfig/ |
michael@57 | 217 | regex = AppConfig-Std-(__VER__)\.tar\.gz |
michael@57 | 218 | } |
michael@57 | 219 | prog perl-parse:OGDL = { |
michael@57 | 220 | version = %{V_ogdl} |
michael@57 | 221 | url = http://prdownloads.sourceforge.net/ogdl/ |
michael@57 | 222 | regex = ogdlutils-(__VER__)\.tgz |
michael@57 | 223 | } |
michael@57 | 224 | prog perl-parse:String-Tokenizer = { |
michael@57 | 225 | version = %{V_string_tokenizer} |
michael@57 | 226 | url = http://www.cpan.org/modules/by-module/String/ |
michael@57 | 227 | regex = String-Tokenizer-(__VER__)\.tar\.gz |
michael@57 | 228 | } |
michael@57 | 229 | prog perl-parse:Config-Context = { |
michael@57 | 230 | version = %{V_config_context} |
michael@57 | 231 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 232 | regex = Config-Context-(__VER__)\.tar\.gz |
michael@57 | 233 | } |
michael@57 | 234 | prog perl-parse:Config-Scoped = { |
michael@57 | 235 | version = %{V_config_scoped} |
michael@57 | 236 | url = http://www.cpan.org/modules/by-module/Config/ |
michael@57 | 237 | regex = Config-Scoped-(__VER__)\.tar\.gz |
michael@57 | 238 | } |
michael@57 | 239 | prog perl-parse:Text-CSV_XS = { |
michael@57 | 240 | version = %{V_text_csv_xs} |
michael@57 | 241 | url = http://www.cpan.org/modules/by-module/Text/ |
michael@57 | 242 | regex = Text-CSV_XS-(__VER__)\.t(ar\.)?gz |
michael@57 | 243 | } |
michael@57 | 244 | prog perl-parse:Text-CSV-Simple = { |
michael@57 | 245 | version = %{V_text_csv_simple} |
michael@57 | 246 | url = http://www.cpan.org/modules/by-module/Text/ |
michael@57 | 247 | regex = Text-CSV-Simple-(__VER__)\.tar\.gz |
michael@57 | 248 | } |
michael@57 | 249 | prog perl-parse:Getopt-Long = { |
michael@57 | 250 | version = %{V_getopt_long} |
michael@57 | 251 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 252 | regex = Getopt-Long-(__VER__)\.tar\.gz |
michael@57 | 253 | } |
michael@57 | 254 | prog perl-parse:Getopt-Attribute = { |
michael@57 | 255 | version = %{V_getopt_attribute} |
michael@57 | 256 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 257 | regex = Getopt-Attribute-(__VER__)\.tar\.gz |
michael@57 | 258 | } |
michael@57 | 259 | prog perl-parse:Getopt-ArgvFile = { |
michael@57 | 260 | version = %{V_getopt_argvfile} |
michael@57 | 261 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 262 | regex = Getopt-ArgvFile-(__VER__)\.tar\.gz |
michael@57 | 263 | } |
michael@57 | 264 | prog perl-parse:Getopt-Fancy = { |
michael@57 | 265 | version = %{V_getopt_fancy} |
michael@57 | 266 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 267 | regex = Getopt-Fancy-(__VER__)\.tar\.gz |
michael@57 | 268 | } |
michael@57 | 269 | prog perl-parse:Getopt-LL = { |
michael@57 | 270 | version = %{V_getopt_ll} |
michael@57 | 271 | url = http://www.cpan.org/modules/by-module/Getopt/ |
michael@57 | 272 | regex = Getopt-LL-(__VER__)\.tar\.gz |
michael@57 | 273 | } |
michael@57 | 274 | |
michael@57 | 275 | %prep |
michael@57 | 276 | %setup -q -c |
michael@57 | 277 | %setup -q -T -D -a 1 |
michael@57 | 278 | %setup -q -T -D -a 2 |
michael@57 | 279 | %setup -q -T -D -a 3 |
michael@57 | 280 | %setup -q -T -D -a 4 |
michael@57 | 281 | %setup -q -T -D -a 5 |
michael@57 | 282 | %setup -q -T -D -a 6 |
michael@57 | 283 | %setup -q -T -D -a 7 |
michael@57 | 284 | %setup -q -T -D -a 8 |
michael@57 | 285 | %setup -q -T -D -a 9 |
michael@57 | 286 | %setup -q -T -D -a 10 |
michael@57 | 287 | %setup -q -T -D -a 11 |
michael@57 | 288 | %setup -q -T -D -a 12 |
michael@57 | 289 | %setup -q -T -D -a 13 |
michael@57 | 290 | %setup -q -T -D -a 14 |
michael@57 | 291 | %setup -q -T -D -a 15 |
michael@57 | 292 | %setup -q -T -D -a 16 |
michael@57 | 293 | %setup -q -T -D -a 17 |
michael@57 | 294 | %setup -q -T -D -a 18 |
michael@57 | 295 | %setup -q -T -D -a 19 |
michael@57 | 296 | %setup -q -T -D -a 20 |
michael@57 | 297 | %setup -q -T -D -a 21 |
michael@57 | 298 | %setup -q -T -D -a 22 |
michael@57 | 299 | %setup -q -T -D -a 23 |
michael@57 | 300 | %setup -q -T -D -a 24 |
michael@57 | 301 | %setup -q -T -D -a 25 |
michael@57 | 302 | %setup -q -T -D -a 26 |
michael@57 | 303 | |
michael@57 | 304 | %build |
michael@57 | 305 | |
michael@57 | 306 | %install |
michael@57 | 307 | rm -rf $RPM_BUILD_ROOT |
michael@57 | 308 | %{l_prefix}/bin/perl-openpkg prepare |
michael@57 | 309 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install |
michael@57 | 310 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install |
michael@57 | 311 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install |
michael@57 | 312 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install |
michael@57 | 313 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install |
michael@57 | 314 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install |
michael@57 | 315 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install |
michael@57 | 316 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install |
michael@57 | 317 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install |
michael@57 | 318 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install |
michael@57 | 319 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install |
michael@57 | 320 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install |
michael@57 | 321 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install |
michael@57 | 322 | ( cd ogdlutils-%{V_ogdl}/c |
michael@57 | 323 | %{l_cc} %{l_cflags} -c ogdlparser.c graph.c path.c ogdllog.c |
michael@57 | 324 | ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o |
michael@57 | 325 | ) || exit $? |
michael@57 | 326 | %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install |
michael@57 | 327 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install |
michael@57 | 328 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install |
michael@57 | 329 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install |
michael@57 | 330 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install |
michael@57 | 331 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install |
michael@57 | 332 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install |
michael@57 | 333 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install |
michael@57 | 334 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install |
michael@57 | 335 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install |
michael@57 | 336 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install |
michael@57 | 337 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install |
michael@57 | 338 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install |
michael@57 | 339 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install |
michael@57 | 340 | %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
michael@57 | 341 | %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
michael@57 | 342 | |
michael@57 | 343 | %files -f files |
michael@57 | 344 | |
michael@57 | 345 | %clean |
michael@57 | 346 | rm -rf $RPM_BUILD_ROOT |
michael@57 | 347 |