Tue, 28 Aug 2012 18:29:00 +0200
Massively update modules from Drupal 6.x to 7.x, and add diverse OpenID modules.
Unfortunately many modules available to Drupal 6.x installations have not been
since maintained or ported to 7.x causing this package to diminish in both size
and utility.
1 ##
2 ## perl-parse.spec -- OpenPKG RPM Package Specification
3 ## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/>
4 ##
5 ## Permission to use, copy, modify, and distribute this software for
6 ## any purpose with or without fee is hereby granted, provided that
7 ## the above copyright notice and this permission notice appear in all
8 ## copies.
9 ##
10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
21 ## SUCH DAMAGE.
22 ##
24 # versions of individual parts
25 %define V_perl 5.14
26 %define V_config_inifiles 2.68
27 %define V_config_general 2.50
28 %define V_config_simple 4.59
29 %define V_config_context 0.10
30 %define V_config_scoped 0.13
31 %define V_string_tokenizer 0.05
32 %define V_parse_recdescent 1.962.2
33 %define V_parse_recdescent_faq 7.5
34 %define V_parse_recdescent_deparse 1.00
35 %define V_parse_recdescent_consumer 1.03
36 %define V_parse_recdescent_topiary 0.05
37 %define V_parse_yapp 1.05
38 %define V_parse_eyapp 1.181
39 %define V_parse_earley 0.15
40 %define V_parse_lex 2.20
41 %define V_parse_flex 0.12
42 %define V_c_scan 0.74
43 %define V_appconfig 1.66
44 %define V_appconfig_std 1.07
45 %define V_ogdl 20041124
46 %define V_text_csv_pp 1.06
47 %define V_text_csv_xs 0.85
48 %define V_text_csv_simple 1.00
49 %define V_getopt_long 2.38_02
50 %define V_getopt_attribute 2.101700
51 %define V_getopt_argvfile 1.11
52 %define V_getopt_fancy 0.06
53 %define V_getopt_ll 1.0.0
54 %define V_getopt_flex 1.07
56 # package information
57 Name: perl-parse
58 Summary: Perl Modules for use with parsing algorythms
59 URL: http://www.cpan.org/
60 Vendor: Perl Community
61 Packager: OpenPKG Foundation e.V.
62 Distribution: OpenPKG Community
63 Class: BASE
64 Group: Perl
65 License: GPL/Artistic
66 Version: %{V_perl}
67 Release: 20110914
69 # list of sources
70 Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-%{V_config_inifiles}.tar.gz
71 Source1: http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-%{V_config_general}.tar.gz
72 Source2: http://www.cpan.org/authors/id/S/SH/SHERZODR/Config-Simple-%{V_config_simple}.tar.gz
73 Source3: http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-%{V_parse_recdescent}.tar.gz
74 Source4: http://www.cpan.org/authors/id/T/TB/TBONE/Parse-RecDescent-FAQ-%{V_parse_recdescent_faq}.tar.gz
75 Source5: http://www.cpan.org/authors/id/S/SI/SIMON/Parse-RecDescent-Deparse-%{V_parse_recdescent_deparse}.tar.gz
76 Source6: http://www.cpan.org/authors/id/T/TB/TBONE/Parse-RecDescent-Consumer-%{V_parse_recdescent_consumer}.tar.gz
77 Source7: http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-%{V_parse_yapp}.tar.gz
78 Source8: http://www.cpan.org/authors/id/L/LP/LPALMER/Parse-Earley-%{V_parse_earley}.tar.gz
79 Source9: http://www.cpan.org/authors/id/P/PS/PSCUST/ParseLex-%{V_parse_lex}.tar.gz
80 Source10: http://www.cpan.org/authors/id/H/HV/HVDS/C-Scan-%{V_c_scan}.tar.gz
81 Source11: http://www.cpan.org/authors/id/A/AB/ABW/AppConfig-%{V_appconfig}.tar.gz
82 Source12: http://www.cpan.org/authors/id/N/NE/NEILB/AppConfig-Std-%{V_appconfig_std}.tar.gz
83 Source13: http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
84 Source14: http://www.cpan.org/authors/id/S/ST/STEVAN/String-Tokenizer-%{V_string_tokenizer}.tar.gz
85 Source15: http://www.cpan.org/authors/id/M/MG/MGRAHAM/Config-Context-%{V_config_context}.tar.gz
86 Source16: http://www.cpan.org/authors/id/G/GA/GAISSMAI/Config-Scoped-%{V_config_scoped}.tar.gz
87 Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz
88 Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz
89 Source19: http://www.cpan.org/authors/id/T/TM/TMTM/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz
90 Source20: http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-%{V_getopt_long}.tar.gz
91 Source21: http://www.cpan.org/authors/id/M/MA/MARCEL/Getopt-Attribute-%{V_getopt_attribute}.tar.gz
92 Source22: http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz
93 Source23: http://www.cpan.org/authors/id/B/BA/BATMAN/Getopt-Fancy-%{V_getopt_fancy}.tar.gz
94 Source24: http://www.cpan.org/authors/id/A/AS/ASKSH/Getopt-LL-%{V_getopt_ll}.tar.gz
95 Source25: http://www.cpan.org/authors/id/I/IV/IVORW/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz
96 Source26: http://www.cpan.org/authors/id/I/IO/IOANNIS/Parse-Flex-%{V_parse_flex}.tar.gz
97 Source27: http://www.cpan.org/authors/id/C/CA/CASIANO/Parse-Eyapp-%{V_parse_eyapp}.tar.gz
98 Source28: http://www.cpan.org/authors/id/R/RP/RPKELLY/Getopt-Flex-%{V_getopt_flex}.tar.gz
100 # build information
101 Prefix: %{l_prefix}
102 BuildRoot: %{l_buildroot}
103 BuildPreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031
104 PreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}
105 BuildPreReq: perl-util, perl-module, flex
106 PreReq: perl-util, perl-module, flex
107 AutoReq: no
108 AutoReqProv: no
110 %description
111 Perl modules for use with parsing algorythms:
112 - Config::IniFiles (%{V_config_inifiles})
113 - Config::General (%{V_config_general})
114 - Config::Simple (%{V_config_simple})
115 - Config::Context (%{V_config_context})
116 - Config::Scoped (%{V_config_scoped})
117 - String::Tokenizer (%{V_string_tokenizer})
118 - Parse::RecDescent (%{V_parse_recdescent})
119 - Parse::RecDescent::FAQ (%{V_parse_recdescent_faq})
120 - Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse})
121 - Parse::RecDescent::Consumer (%{V_parse_recdescent_consumer})
122 - Parse::RecDescent::Topiary (%{V_parse_recdescent_topiary})
123 - Parse::Yapp (%{V_parse_yapp})
124 - Parse::Eyapp (%{V_parse_eyapp})
125 - Parse::Earley (%{V_parse_earley})
126 - Parse::Lex (%{V_parse_lex})
127 - Parse::Flex (%{V_parse_flex})
128 - C::Scan (%{V_c_scan})
129 - AppConfig (%{V_appconfig})
130 - AppConfig::Std (%{V_appconfig_std})
131 - OGDL (%{V_ogdl})
132 - Text::CSV_PP (%{V_text_csv_pp})
133 - Text::CSV_XS (%{V_text_csv_xs})
134 - Text::CSV::Simple (%{V_text_csv_simple})
135 - Getopt::Long (%{V_getopt_long})
136 - Getopt::Attribute (%{V_getopt_attribute})
137 - Getopt::ArgvFile (%{V_getopt_argvfile})
138 - Getopt::Fancy (%{V_getopt_fancy})
139 - Getopt::LL (%{V_getopt_ll})
140 - Getopt::Flex (%{V_getopt_flex})
142 %track
143 prog perl-parse:Config-General = {
144 version = %{V_config_general}
145 url = http://www.cpan.org/authors/id/T/TL/TLINDEN/
146 regex = Config-General-(__VER__)\.tar\.gz
147 }
148 prog perl-parse:Config-IniFiles = {
149 version = %{V_config_inifiles}
150 url = http://www.cpan.org/authors/id/S/SH/SHLOMIF/
151 regex = Config-IniFiles-(__VER__)\.tar\.gz
152 }
153 prog perl-parse:Config-Simple = {
154 version = %{V_config_simple}
155 url = http://www.cpan.org/authors/id/S/SH/SHERZODR/
156 regex = Config-Simple-(__VER__)\.tar\.gz
157 }
158 prog perl-parse:Parse-RecDescent = {
159 version = %{V_parse_recdescent}
160 url = http://www.cpan.org/authors/id/D/DC/DCONWAY/
161 regex = Parse-RecDescent-v(__VER__)\.tar\.gz
162 }
163 prog perl-parse:Parse-RecDescent-Consumer = {
164 version = %{V_parse_recdescent_consumer}
165 url = http://www.cpan.org/authors/id/T/TB/TBONE/
166 regex = Parse-RecDescent-Consumer-(__VER__)\.tar\.gz
167 }
168 prog perl-parse:Parse-RecDescent-Deparse = {
169 version = %{V_parse_recdescent_deparse}
170 url = http://www.cpan.org/authors/id/S/SI/SIMON/
171 regex = Parse-RecDescent-Deparse-(__VER__)\.tar\.gz
172 }
173 prog perl-parse:Parse-RecDescent-FAQ = {
174 version = %{V_parse_recdescent_faq}
175 url = http://www.cpan.org/authors/id/T/TB/TBONE/
176 regex = Parse-RecDescent-FAQ-(__VER__)\.tar\.gz
177 }
178 prog perl-parse:Parse-RecDescent-Topiary = {
179 version = %{V_parse_recdescent_topiary}
180 url = http://www.cpan.org/authors/id/I/IV/IVORW/
181 regex = Parse-RecDescent-Topiary-(__VER__)\.tar\.gz
182 }
183 prog perl-parse:Parse-Yapp = {
184 version = %{V_parse_yapp}
185 url = http://www.cpan.org/authors/id/F/FD/FDESAR/
186 regex = Parse-Yapp-(__VER__)\.tar\.gz
187 }
188 prog perl-parse:Parse-Eyapp = {
189 version = %{V_parse_eyapp}
190 url = http://www.cpan.org/authors/id/C/CA/CASIANO/
191 regex = Parse-Eyapp-(__VER__)\.tar\.gz
192 }
193 prog perl-parse:Parse-Earley = {
194 version = %{V_parse_earley}
195 url = http://www.cpan.org/authors/id/L/LP/LPALMER/
196 regex = Parse-Earley-(__VER__)\.tar\.gz
197 }
198 prog perl-parse:Parse-Lex = {
199 version = %{V_parse_lex}
200 url = http://www.cpan.org/authors/id/P/PS/PSCUST/
201 regex = ParseLex-(__VER__)\.tar\.gz
202 }
203 prog perl-parse:Parse-Flex = {
204 version = %{V_parse_flex}
205 url = http://www.cpan.org/authors/id/I/IO/IOANNIS/
206 regex = Parse-Flex-(__VER__)\.tar\.gz
207 }
208 prog perl-parse:C-Scan = {
209 version = %{V_c_scan}
210 url = http://www.cpan.org/authors/id/H/HV/HVDS/
211 regex = C-Scan-(__VER__)\.tar\.gz
212 }
213 prog perl-parse:AppConfig = {
214 version = %{V_appconfig}
215 url = http://www.cpan.org/authors/id/A/AB/ABW/
216 regex = AppConfig-(__VER__)\.tar\.gz
217 }
218 prog perl-parse:AppConfig-Std = {
219 version = %{V_appconfig_std}
220 url = http://www.cpan.org/authors/id/N/NE/NEILB/
221 regex = AppConfig-Std-(__VER__)\.tar\.gz
222 }
223 prog perl-parse:OGDL = {
224 version = %{V_ogdl}
225 url = http://sourceforge.net/projects/ogdl/files/
226 regex = ogdlutils-(__VER__)\.tgz
227 }
228 prog perl-parse:String-Tokenizer = {
229 version = %{V_string_tokenizer}
230 url = http://www.cpan.org/authors/id/S/ST/STEVAN/
231 regex = String-Tokenizer-(__VER__)\.tar\.gz
232 }
233 prog perl-parse:Config-Context = {
234 version = %{V_config_context}
235 url = http://www.cpan.org/authors/id/M/MG/MGRAHAM/
236 regex = Config-Context-(__VER__)\.tar\.gz
237 }
238 prog perl-parse:Config-Scoped = {
239 version = %{V_config_scoped}
240 url = http://www.cpan.org/authors/id/G/GA/GAISSMAI/
241 regex = Config-Scoped-(__VER__)\.tar\.gz
242 }
243 prog perl-parse:Text-CSV_PP = {
244 version = %{V_text_csv_pp}
245 url = http://www.cpan.org/modules/by-module/Text/
246 regex = Text-CSV_PP-(__VER__)\.tar\.gz
247 }
248 prog perl-parse:Text-CSV_XS = {
249 version = %{V_text_csv_xs}
250 url = http://www.cpan.org/modules/by-module/Text/
251 regex = Text-CSV_XS-(__VER__)\.t(ar\.)?gz
252 }
253 prog perl-parse:Text-CSV-Simple = {
254 version = %{V_text_csv_simple}
255 url = http://www.cpan.org/authors/id/T/TM/TMTM/
256 regex = Text-CSV-Simple-(__VER__)\.tar\.gz
257 }
258 prog perl-parse:Getopt-Long = {
259 version = %{V_getopt_long}
260 url = http://www.cpan.org/authors/id/J/JV/JV/
261 regex = Getopt-Long-(__VER__)\.tar\.gz
262 }
263 prog perl-parse:Getopt-Attribute = {
264 version = %{V_getopt_attribute}
265 url = http://www.cpan.org/authors/id/M/MA/MARCEL/
266 regex = Getopt-Attribute-(__VER__)\.tar\.gz
267 }
268 prog perl-parse:Getopt-ArgvFile = {
269 version = %{V_getopt_argvfile}
270 url = http://www.cpan.org/authors/id/J/JS/JSTENZEL/
271 regex = Getopt-ArgvFile-(__VER__)\.tar\.gz
272 }
273 prog perl-parse:Getopt-Fancy = {
274 version = %{V_getopt_fancy}
275 url = http://www.cpan.org/authors/id/B/BA/BATMAN/
276 regex = Getopt-Fancy-(__VER__)\.tar\.gz
277 }
278 prog perl-parse:Getopt-LL = {
279 version = %{V_getopt_ll}
280 url = http://www.cpan.org/authors/id/A/AS/ASKSH/
281 regex = Getopt-LL-(__VER__)\.tar\.gz
282 }
283 prog perl-parse:Getopt-Flex = {
284 version = %{V_getopt_flex}
285 url = http://www.cpan.org/authors/id/R/RP/RPKELLY/
286 regex = Getopt-Flex-(__VER__)\.tar\.gz
287 }
289 %prep
290 %setup -q -c
291 %setup -q -T -D -a 1
292 %setup -q -T -D -a 2
293 %setup -q -T -D -a 3
294 %setup -q -T -D -a 4
295 %setup -q -T -D -a 5
296 %setup -q -T -D -a 6
297 %setup -q -T -D -a 7
298 %setup -q -T -D -a 8
299 %setup -q -T -D -a 9
300 %setup -q -T -D -a 10
301 %setup -q -T -D -a 11
302 %setup -q -T -D -a 12
303 %setup -q -T -D -a 13
304 %setup -q -T -D -a 14
305 %setup -q -T -D -a 15
306 %setup -q -T -D -a 16
307 %setup -q -T -D -a 17
308 %setup -q -T -D -a 18
309 %setup -q -T -D -a 19
310 %setup -q -T -D -a 20
311 %setup -q -T -D -a 21
312 %setup -q -T -D -a 22
313 %setup -q -T -D -a 23
314 %setup -q -T -D -a 24
315 %setup -q -T -D -a 25
316 %setup -q -T -D -a 26
317 %setup -q -T -D -a 27
318 %setup -q -T -D -a 28
320 %build
322 %install
323 rm -rf $RPM_BUILD_ROOT
324 %{l_prefix}/bin/perl-openpkg prepare
325 %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
326 %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
327 %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
328 %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
329 %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
330 %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
331 %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
332 %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
333 %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
334 %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
335 %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
336 %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
337 %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
338 ( cd ogdlutils-%{V_ogdl}/c
339 %{l_cc} %{l_cflags} -c ogdlparser.c graph.c path.c ogdllog.c
340 ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o
341 ) || exit $?
342 %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install
343 %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
344 %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
345 %{l_prefix}/bin/perl-openpkg -A TAR=%{l_tar} -d %{SOURCE16} configure build install
346 %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
347 %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
348 %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
349 %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
350 %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
351 %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
352 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
353 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
354 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
355 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
356 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
357 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
358 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
359 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
361 %files -f files
363 %clean
364 rm -rf $RPM_BUILD_ROOT