]>
Commit | Line | Data |
---|---|---|
166a6c21 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
166a6c21 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = perl |
7 | version = 5.12.3 | |
8 | release = 4 | |
9 | ||
10 | groups = Development/Languages | |
11 | url = http://www.perl.org/ | |
12 | license = GPL+ or Artistic and GPLv2+ or Artistic | |
13 | summary = Practical Extraction and Report Language. | |
14 | ||
15 | description | |
16 | Perl is a high-level programming language with roots in C, sed, awk | |
17 | and shell scripting. Perl is good at handling processes and files, | |
18 | and is especially good at handling text. Perl's hallmarks are | |
19 | practicality and efficiency. While it is used to do a lot of | |
20 | different things, Perl's most common applications are system | |
21 | administration utilities and web programming. A large proportion of | |
22 | the CGI scripts on the web are written in Perl. You need the perl | |
23 | package installed on your system so that your system can handle Perl | |
166a6c21 | 24 | scripts. |
802ea3af MT |
25 | end |
26 | ||
27 | source_dl = | |
28 | ||
29 | build | |
30 | requires | |
31 | db4-devel | |
32 | gcc-c++ | |
33 | gdbm-devel | |
34 | iana-etc | |
35 | perl | |
36 | procps | |
37 | zlib-devel | |
38 | end | |
39 | ||
40 | # Perl passes -fstack-protector, if no argument is passed that enables the SSP. | |
41 | # So we need to pass it explicitely. | |
42 | CFLAGS += -fstack-protector-all | |
43 | ||
44 | # Filter string for very weird dependencies. | |
45 | export PKG_REQUIRES_FILTER = (DBD\:\:SQLite|DBIx\:\:Simple|perl>=[0-9]\:.*|NDBM_File|Your\:\:Module\:\:Here|FCGI|Mac\:\:.*) | |
46 | ||
47 | prepare_cmds | |
48 | sed -i 's/command /command[ -]/' makedepend.SH | |
49 | end | |
50 | ||
51 | build | |
52 | sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \ | |
53 | -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ | |
54 | -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ | |
55 | cpan/Compress-Raw-Zlib/config.in | |
56 | ||
c857cefa | 57 | sh ./Configure -des \ |
802ea3af | 58 | -Doptimize="%{CFLAGS}" \ |
cdd4579c | 59 | -Dccdlflags="-Wl,--enable-new-dtags" \ |
802ea3af | 60 | -Dversion=%{version} \ |
cdd4579c MT |
61 | -Dmyhostname=localhost \ |
62 | -Dperladmin=root@localhost \ | |
63 | -Dcc="gcc" \ | |
802ea3af | 64 | -Dcf_by="%{DISTRO_VENDOR}" \ |
c857cefa | 65 | -Dprefix=/usr \ |
cdd4579c MT |
66 | -Dvendorprefix=/usr \ |
67 | -Dsiteprefix="/usr/local" \ | |
68 | -Dsitelib="/usr/local/share/perl5" \ | |
69 | -Dsitearch="/usr/local/lib/perl5" \ | |
70 | -Dprivlib="/usr/share/perl5" \ | |
71 | -Dvendorlib="/usr/share/perl5/vendor_perl" \ | |
72 | -Darchlib="/usr/lib/perl5" \ | |
73 | -Dvendorarch="/usr/lib/perl5/vendor_perl" \ | |
802ea3af | 74 | -Darchname=%{arch}-linux-thread-multi \ |
cdd4579c | 75 | -Dpager="/usr/bin/less -isr" \ |
c857cefa MT |
76 | -Dman1dir=/usr/share/man/man1 \ |
77 | -Dman3dir=/usr/share/man/man3 \ | |
c857cefa MT |
78 | -Duseshrplib \ |
79 | -Dusethreads \ | |
80 | -Duseithreads \ | |
81 | -Duselargefiles \ | |
c857cefa MT |
82 | -Dd_semctl_semun \ |
83 | -Di_db \ | |
84 | -Ui_ndbm \ | |
85 | -Di_gdbm \ | |
86 | -Di_shadow \ | |
87 | -Di_syslog \ | |
88 | -Dman3ext=3pm \ | |
89 | -Duseperlio \ | |
90 | -Dinstallusrbinperl=n \ | |
91 | -Ubincompat5005 \ | |
92 | -Uversiononly \ | |
93 | -Dd_gethostent_r_proto \ | |
94 | -Ud_endhostent_r_proto \ | |
95 | -Ud_sethostent_r_proto \ | |
96 | -Ud_endprotoent_r_proto \ | |
97 | -Ud_setprotoent_r_proto \ | |
98 | -Ud_endservent_r_proto \ | |
cdd4579c MT |
99 | -Ud_setservent_r_proto \ |
100 | -Dscriptdir="/usr/bin" | |
166a6c21 | 101 | |
802ea3af MT |
102 | make %{PARALLELISMFLAGS} |
103 | end | |
104 | ||
105 | # test | |
106 | # make test | |
107 | # end | |
108 | ||
109 | install_cmds | |
110 | # Remove precreated directories | |
111 | rm -rfv %{BUILDROOT}/usr/local | |
112 | end | |
113 | end | |
114 | ||
115 | quality-agent | |
116 | whitelist_rpath | |
117 | /lib | |
118 | /usr/lib | |
119 | /usr/lib/perl5/CORE | |
120 | end | |
121 | end | |
122 | ||
123 | packages | |
124 | package %{name} | |
125 | requires | |
126 | %{name}-libs=%{thisver} | |
127 | end | |
128 | ||
129 | provides | |
130 | # These provides are needed by the perl pkg itself with auto-generated perl.req | |
131 | %{name}(VMS::Filespec) | |
132 | %{name}(VMS::Stdio) | |
133 | ||
134 | # Compat provides | |
135 | %{name}(:MODULE_COMPAT_5.12.3) | |
136 | %{name}(:MODULE_COMPAT_5.12.2) | |
137 | %{name}(:MODULE_COMPAT_5.12.1) | |
138 | %{name}(:MODULE_COMPAT_5.12.0) | |
139 | ||
140 | # Threading provides | |
141 | %{name}(:WITH_ITHREADS) | |
142 | %{name}(:WITH_THREADS) | |
143 | ||
144 | # Largefile provides | |
145 | %{name}(:WITH_LARGEFILES) | |
146 | ||
147 | # PerlIO provides | |
148 | %{name}(:WITH_PERLIO) | |
149 | ||
150 | # File provides | |
151 | %{name}(abbrev.pl) | |
152 | %{name}(assert.pl) | |
153 | %{name}(bigfloat.pl) | |
154 | %{name}(bigint.pl) | |
155 | %{name}(bigrat.pl) | |
156 | %{name}(bytes_heavy.pl) | |
157 | %{name}(cacheout.pl) | |
158 | %{name}(complete.pl) | |
159 | %{name}(ctime.pl) | |
160 | %{name}(dotsh.pl) | |
161 | %{name}(dumpvar.pl) | |
162 | %{name}(exceptions.pl) | |
163 | %{name}(fastcwd.pl) | |
164 | %{name}(find.pl) | |
165 | %{name}(finddepth.pl) | |
166 | %{name}(flush.pl) | |
167 | %{name}(ftp.pl) | |
168 | %{name}(getcwd.pl) | |
169 | %{name}(getopt.pl) | |
170 | %{name}(getopts.pl) | |
171 | %{name}(hostname.pl) | |
172 | %{name}(importenv.pl) | |
173 | %{name}look.pl) | |
174 | %{name}(newgetopt.pl) | |
175 | %{name}(open2.pl) | |
176 | %{name}(open3.pl) | |
177 | %{name}(perl5db.pl) | |
178 | %{name}(pwd.pl) | |
179 | %{name}(shellwords.pl) | |
180 | %{name}(stat.pl) | |
181 | %{name}(syslog.pl) | |
182 | %{name}(tainted.pl) | |
183 | %{name}(termcap.pl) | |
184 | %{name}(timelocal.pl) | |
185 | %{name}(utf8_heavy.pl) | |
186 | %{name}(validate.pl) | |
187 | %{name}(Carp) | |
188 | %{name}(Carp::Heavy) | |
189 | %{name}(Exporter) | |
190 | %{name}(File::Basename) | |
191 | %{name}(constant) | |
192 | %{name}(strict) | |
193 | %{name}(vars) | |
194 | end | |
195 | end | |
196 | ||
197 | package %{name}-libs | |
198 | template LIBS | |
199 | ||
200 | provides | |
201 | libperl.so | |
202 | end | |
203 | ||
204 | files | |
205 | /usr/lib/perl5/CORE/libperl.so | |
206 | end | |
207 | end | |
208 | ||
209 | package %{name}-devel | |
210 | template DEVEL | |
211 | ||
212 | files | |
213 | /usr/bin/enc2xs | |
214 | /usr/share/man/man1/enc2xs* | |
215 | /usr/share/perl5/Encode/ | |
216 | /usr/bin/h2xs | |
217 | /usr/share/man/man1/h2xs* | |
218 | /usr/bin/libnetcfg | |
219 | /usr/share/man/man1/libnetcfg* | |
220 | /usr/bin/perlivp | |
221 | /usr/share/man/man1/perlivp* | |
222 | /usr/lib/perl5/CORE/*.h | |
223 | /usr/bin/xsubpp | |
224 | /usr/share/man/man1/xsubpp* | |
225 | /usr/share/man/man1/perlxs* | |
226 | end | |
227 | end | |
228 | ||
229 | #package %{name}-tests | |
230 | # summary = Testsuite to check your Perl installation. | |
231 | # description-perl-tests | |
232 | # This package contains the test suite included with perl %{thisver}. | |
233 | # Install this if you want to test your Perl installation (binary and core | |
234 | # modules). | |
235 | # end | |
236 | # | |
237 | # files | |
238 | # /usr/lib/perl5-tests | |
239 | # end | |
240 | #end | |
241 | ||
242 | package %{name}-Archive-Extract | |
243 | epoch = 0 | |
244 | version = 0.38 | |
245 | arch = noarch | |
246 | ||
247 | summary = Generic archive extracting mechanism. | |
248 | description | |
249 | Archive::Extract is a generic archive extraction mechanism. | |
250 | end | |
251 | ||
252 | requires | |
253 | %{name}=%{thisver} | |
254 | end | |
255 | ||
256 | files | |
257 | /usr/share/perl5/Archive/Extract.pm | |
258 | /usr/share/man/man3/Archive::Extract.3* | |
259 | end | |
260 | end | |
261 | ||
262 | package %{name}-Archive-Tar | |
263 | epoch = 0 | |
264 | version = 1.54 | |
265 | arch = noarch | |
266 | ||
267 | summary = A module for Perl manipulation of .tar files. | |
268 | description | |
269 | Archive::Tar provides an object oriented mechanism for handling tar files. It | |
270 | provides class methods for quick and easy files handling while also allowing | |
271 | for the creation of tar file objects for custom manipulation. If you have the | |
272 | IO::Zlib module installed, Archive::Tar will also support compressed or | |
273 | gzipped tar files. | |
274 | end | |
275 | ||
276 | requires | |
277 | %{name}=%{thisver} | |
278 | end | |
279 | ||
280 | files | |
281 | /usr/bin/ptar | |
282 | /usr/bin/ptardiff | |
283 | /usr/share/perl5/Archive/Tar.pm | |
284 | /usr/share/man/man1/ptar.1* | |
285 | /usr/share/man/man1/ptardiff.1* | |
286 | /usr/share/man/man3/Archive::Tar* | |
287 | end | |
288 | end | |
289 | ||
290 | package %{name}-Compress-Raw-Zlib | |
291 | epoch = 0 | |
292 | version = 2.024 | |
293 | ||
294 | summary = Low-Level Interface to the zlib compression library. | |
295 | description | |
296 | This module provides a Perl interface to the zlib compression library. | |
297 | It is used by IO::Compress::Zlib. | |
298 | end | |
299 | ||
300 | requires | |
301 | %{name}=%{thisver} | |
302 | end | |
303 | ||
304 | files | |
305 | /usr/share/perl5/Compress/Raw/Zlib/ | |
306 | /usr/share/man/man3/Compress::Raw::Zlib* | |
307 | end | |
308 | end | |
309 | ||
310 | package %{name}-CPAN | |
311 | epoch = 0 | |
312 | version = 1.9402 | |
313 | arch = noarch | |
314 | ||
315 | summary = Query, download and build perl modules from CPAN sites. | |
316 | description | |
317 | Query, download and build perl modules from CPAN sites. | |
318 | end | |
319 | ||
320 | requires | |
321 | %{name}=%{thisver} | |
322 | perl(Digest::SHA) | |
323 | end | |
324 | ||
325 | provides | |
326 | cpan | |
327 | cpan=$(version-perl-CPAN) | |
328 | end | |
329 | ||
330 | files | |
331 | /usr/bin/cpan | |
332 | /usr/share/perl5/CPAN* | |
333 | /usr/share/man/man1/cpan.1* | |
334 | /usr/share/man/man3/CPAN* | |
335 | end | |
336 | end | |
337 | ||
338 | package %{name}-CPANPLUS | |
339 | epoch = 0 | |
340 | version = 0.9 | |
341 | arch = noarch | |
342 | ||
343 | summary = API & CLI access to the CPAN mirrors. | |
344 | description | |
345 | The CPANPLUS library is an API to the CPAN mirrors and a collection of | |
346 | interactive shells, commandline programs, etc, that use this API. | |
347 | end | |
348 | ||
349 | requires | |
350 | %{name}=%{thisver} | |
351 | %{name}(Digest::SHA) | |
352 | %{name}(Module::Pluggable)>=2.4 | |
353 | %{name}(Module::CoreList) | |
354 | %{name}(DBIx::Simple) | |
355 | end | |
356 | ||
357 | provides | |
358 | %{name}-CPANPLUS-Dist-Build=0.06 | |
359 | end | |
360 | ||
361 | files | |
362 | /usr/bin/cpan2dist | |
363 | /usr/bin/cpanp | |
364 | /usr/bin/cpanp-run-perl | |
365 | /usr/share/perl5/CPANPLUS* | |
366 | /usr/share/man/man1/cpan2dist.1* | |
367 | /usr/share/man/man1/cpanp.1* | |
368 | /usr/share/man/man3/CPANPLUS* | |
369 | end | |
370 | end | |
371 | ||
372 | package %{name}-Digest-SHA | |
373 | epoch = 0 | |
374 | version = 5.47 | |
375 | ||
376 | summary = Perl extension for SHA-1/224/256/384/512. | |
377 | description | |
378 | Digest::SHA is a complete implementation of the NIST Secure Hash | |
379 | Standard. It gives Perl programmers a convenient way to calculate | |
380 | SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512 message digests. The | |
381 | module can handle all types of input, including partial-byte data. | |
382 | end | |
383 | ||
384 | requires | |
385 | %{name}=%{thisver} | |
386 | end | |
387 | ||
388 | files | |
389 | /usr/bin/shasum | |
390 | /usr/share/perl5/Digest* | |
391 | /usr/share/man/man1/shasum.1* | |
392 | /usr/share/man/man3/Digest::SHA.3* | |
393 | end | |
394 | end | |
395 | ||
396 | package %{name}-ExtUtils-CBuilder | |
397 | epoch = 0 | |
398 | version = 0.27 | |
399 | arch = noarch | |
400 | ||
401 | summary = Compile and link C code for Perl modules. | |
402 | description | |
403 | This module can build the C portions of Perl modules by invoking the | |
404 | appropriate compilers and linkers in a cross-platform manner. It was | |
405 | motivated by the Module::Build project, but may be useful for other | |
406 | purposes as well. | |
407 | end | |
408 | ||
409 | requires | |
410 | %{name}=%{thisver} | |
411 | %{name}-devel | |
412 | end | |
413 | ||
414 | files | |
415 | /usr/share/perl5/ExtUtils/CBuilder* | |
416 | /usr/share/man/man3/ExtUtils::CBuilder* | |
417 | end | |
418 | end | |
419 | ||
420 | package %{name}-ExtUtils-Embed | |
421 | epoch = 0 | |
422 | version = 1.28 | |
423 | arch = noarch | |
424 | ||
425 | summary = Utilities for embedding Perl in C/C++ applications. | |
426 | description | |
427 | Utilities for embedding Perl in C/C++ applications. | |
428 | end | |
429 | ||
430 | requires | |
431 | %{name}=%{thisver} | |
432 | %{name}-devel | |
433 | end | |
434 | ||
435 | files | |
436 | /usr/share/perl5/ExtUtils/Embed* | |
437 | /usr/share/man/man3/ExtUtils::Embed* | |
438 | end | |
439 | end | |
440 | ||
441 | package %{name}-ExtUtils-MakeMaker | |
442 | epoch = 0 | |
443 | version = 6.56 | |
444 | arch = noarch | |
445 | ||
446 | summary = Create a module Makefile. | |
447 | description | |
448 | Create a module Makefile. | |
449 | end | |
450 | ||
451 | requires | |
452 | %{name}=%{thisver} | |
453 | %{name}-devel | |
454 | %{name}(Test::Harness) | |
455 | end | |
456 | ||
457 | files | |
458 | /usr/bin/instmodsh | |
459 | /usr/share/perl5/ExtUtils/Command/ | |
460 | /usr/share/perl5/ExtUtils/Install.pm | |
461 | /usr/share/perl5/ExtUtils/Installed.pm | |
462 | /usr/share/perl5/ExtUtils/Liblist/ | |
463 | /usr/share/perl5/ExtUtils/Liblist.pm | |
464 | /usr/share/perl5/ExtUtils/MakeMaker/ | |
465 | /usr/share/perl5/ExtUtils/MakeMaker.pm | |
466 | /usr/share/perl5/ExtUtils/MANIFEST.SKIP | |
467 | /usr/share/perl5/ExtUtils/MM*.pm | |
468 | /usr/share/perl5/ExtUtils/MY.pm | |
469 | /usr/share/perl5/ExtUtils/Manifest.pm | |
470 | /usr/share/perl5/ExtUtils/Mkbootstrap.pm | |
471 | /usr/share/perl5/ExtUtils/Mksymlists.pm | |
472 | /usr/share/perl5/ExtUtils/Packlist.pm | |
473 | /usr/share/perl5/ExtUtils/testlib.pm | |
474 | /usr/share/man/man1/instmodsh.1* | |
475 | /usr/share/man/man3/ExtUtils::Command::MM* | |
476 | /usr/share/man/man3/ExtUtils::Install.3* | |
477 | /usr/share/man/man3/ExtUtils::Installed.3* | |
478 | /usr/share/man/man3/ExtUtils::Liblist.3* | |
479 | /usr/share/man/man3/ExtUtils::MM* | |
480 | /usr/share/man/man3/ExtUtils::MY.3* | |
481 | /usr/share/man/man3/ExtUtils::MakeMaker* | |
482 | /usr/share/man/man3/ExtUtils::Manifest.3* | |
483 | /usr/share/man/man3/ExtUtils::Mkbootstrap.3* | |
484 | /usr/share/man/man3/ExtUtils::Mksymlists.3* | |
485 | /usr/share/man/man3/ExtUtils::Packlist.3* | |
486 | /usr/share/man/man3/ExtUtils::testlib.3* | |
487 | end | |
488 | end | |
489 | ||
490 | package %{name}-ExtUtils-ParseXS | |
491 | epoch = 0 | |
492 | version = 2.21 | |
493 | arch = noarch | |
494 | ||
495 | summary = Module and a script for converting Perl XS code into C code. | |
496 | description | |
497 | ExtUtils::ParseXS will compile XS code into C code by embedding the | |
498 | constructs necessary to let C functions manipulate Perl values and creates | |
499 | the glue necessary to let Perl access those functions. | |
500 | end | |
501 | ||
502 | requires | |
503 | %{name}=%{thisver} | |
504 | %{name}-devel | |
505 | end | |
506 | ||
507 | files | |
508 | /usr/share/perl5/ExtUtils/ParseXS.pm | |
509 | /usr/share/perl5/ExtUtils/xsubpp | |
510 | /usr/share/man/man3/ExtUtils::ParseXS.3* | |
511 | end | |
512 | end | |
513 | ||
514 | package %{name}-File-Fetch | |
515 | epoch = 0 | |
516 | version = 6.56 | |
517 | arch = noarch | |
518 | ||
519 | summary = Generic file fetching mechanism. | |
520 | description | |
521 | File::Fetch is a generic file fetching mechanism. | |
522 | end | |
523 | ||
524 | requires | |
525 | %{name}=%{thisver} | |
526 | %{name}(IPC::Cmd)>=0.36 | |
527 | %{name}(Module::Load::Conditional)>=0.04 | |
528 | %{name}(Params::Check)>=0.07 | |
529 | end | |
530 | ||
531 | files | |
532 | /usr/share/perl5/File/Fetch.pm | |
533 | /usr/share/man/man3/File::Fetch.3* | |
534 | end | |
535 | end | |
536 | ||
537 | package %{name}-IO-Compress | |
538 | epoch = 0 | |
539 | version = 2.026 | |
540 | ||
541 | summary = IO::Compress wrapper for modules. | |
542 | description | |
543 | This module is the base class for all IO::Compress and IO::Uncompress | |
544 | modules. This module is not intended for direct use in application code. | |
545 | Its sole purpose is to to be sub-classed by IO::Compress modules. | |
546 | end | |
547 | ||
548 | requires | |
549 | %{name}=%{thisver} | |
550 | end | |
551 | ||
552 | provides | |
553 | %{name}(IO::Uncompress::Bunzip2) | |
554 | end | |
555 | ||
556 | files | |
557 | /usr/share/perl5/Compress/Zlib.pm | |
558 | /usr/lib/perl5/auto/Compress/Zlib/ | |
559 | /usr/share/man/man3/Compress::Zlib* | |
560 | /usr/share/perl5/File/GlobMapper.pm | |
561 | /usr/share/perl5/IO/Compress/Base/ | |
562 | /usr/share/perl5/IO/Compress/Base.pm | |
563 | /usr/share/perl5/IO/Uncompress/AnyUncompress.pm | |
564 | /usr/share/perl5/IO/Uncompress/Base.pm | |
565 | /usr/share/man/man3/File::GlobMapper.* | |
566 | /usr/share/man/man3/IO::Compress::Base.* | |
567 | /usr/share/man/man3/IO::Uncompress::AnyUncompress.* | |
568 | /usr/share/man/man3/IO::Uncompress::Base.* | |
569 | end | |
570 | end | |
571 | ||
572 | package %{name}-IO-Zlib | |
573 | epoch = 0 | |
574 | version = 1.10 | |
575 | arch = noarch | |
576 | ||
577 | summary = Perl IO:: style interface to Compress::Zlib. | |
578 | description | |
579 | This modules provides an IO:: style interface to the Compress::Zlib | |
580 | package. The main advantage is that you can use an IO::Zlib object in much | |
581 | the same way as an IO::File object so you can have common code that doesn't | |
582 | know which sort of file it is using. | |
583 | end | |
584 | ||
585 | requires | |
586 | %{name}=%{thisver} | |
587 | %{name}(Compress::Zlib) | |
588 | end | |
589 | ||
590 | files | |
591 | /usr/share/perl5/IO/Zlib.pm | |
592 | /usr/share/man/man3/IO::Zlib.* | |
593 | end | |
594 | end | |
595 | ||
596 | package %{name}-IPC-Cmd | |
597 | epoch = 0 | |
598 | version = 0.54 | |
599 | arch = noarch | |
600 | ||
601 | summary = Finding and running system commands made easy. | |
602 | description | |
603 | IPC::Cmd allows you to run commands, interactively if desired, in a | |
604 | platform independent way, but have them still work. | |
605 | end | |
606 | ||
607 | requires | |
608 | %{name}=%{thisver} | |
609 | end | |
610 | ||
611 | files | |
612 | /usr/share/perl5/IPC/Cmd.pm | |
613 | /usr/share/man/man3/IPC::Cmd.3* | |
614 | end | |
615 | end | |
616 | ||
617 | package %{name}-Locale-Maketext-Simple | |
618 | epoch = 0 | |
619 | version = 0.21 | |
620 | arch = noarch | |
621 | license = MIT | |
622 | ||
623 | summary = Simple interface to Locale::Maketext::Lexicon. | |
624 | description | |
625 | This module is a simple wrapper around Locale::Maketext::Lexicon, designed | |
626 | to alleviate the need of creating Language Classes for module authors. | |
627 | end | |
628 | ||
629 | requires | |
630 | %{name}=%{thisver} | |
631 | end | |
632 | ||
633 | files | |
634 | /usr/share/perl5/Locale/Maketext/Simple.pm | |
635 | /usr/share/man/man3/Locale::Maketext::Simple.* | |
636 | end | |
637 | end | |
638 | ||
639 | package %{name}-Log-Message | |
640 | epoch = 0 | |
641 | version = 0.02 | |
642 | arch = noarch | |
643 | ||
644 | summary = Generic message storage mechanism. | |
645 | description | |
646 | Log::Message is a generic message storage mechanism. It allows you to store | |
647 | messages on a stack -- either shared or private -- and assign meta-data to it. | |
648 | Some meta-data will automatically be added for you, like a timestamp and a | |
649 | stack trace, but some can be filled in by the user, like a tag by which to | |
650 | identify it or group it, and a level at which to handle the message (for | |
651 | example, log it, or die with it). | |
652 | end | |
653 | ||
654 | requires | |
655 | %{name}=%{thisver} | |
656 | end | |
657 | ||
658 | provides | |
659 | %{name}(Log::Message::Handlers)=%{version} | |
660 | end | |
661 | ||
662 | files | |
663 | /usr/share/perl5/Log/Message.pm | |
664 | /usr/share/perl5/Log/Message/Config.pm | |
665 | /usr/share/perl5/Log/Message/Handlers.pm | |
666 | /usr/share/perl5/Log/Message/Item.pm | |
667 | /usr/share/man/man3/Log::Message.3* | |
668 | /usr/share/man/man3/Log::Message::Config.3* | |
669 | /usr/share/man/man3/Log::Message::Handlers.3* | |
670 | /usr/share/man/man3/Log::Message::Item.3* | |
671 | end | |
672 | end | |
673 | ||
674 | package %{name}-Log-Message-Simple | |
675 | epoch = 0 | |
676 | version = 0.06 | |
677 | arch = noarch | |
678 | ||
679 | summary = Simplified frontend to Log::Message. | |
680 | description | |
681 | This module provides standardized logging facilities using the | |
682 | Log::Message module. | |
683 | end | |
684 | ||
685 | requires | |
686 | %{name}=%{thisver} | |
687 | end | |
688 | ||
689 | files | |
690 | /usr/share/perl5/Log/Message/Simple.pm | |
691 | /usr/share/man/man3/Log::Message::Simple.3* | |
692 | end | |
693 | end | |
694 | ||
695 | package %{name}-Module-Build | |
696 | epoch = 0 | |
697 | version = 0.3603 | |
698 | arch = noarch | |
699 | ||
700 | summary = Perl module for building and installing Perl modules. | |
701 | description | |
702 | Module::Build is a system for building, testing, and installing Perl modules. | |
703 | It is meant to be an alternative to ExtUtils::MakeMaker. Developers may alter | |
704 | the behavior of the module through subclassing in a much more straightforward | |
705 | way than with MakeMaker. It also does not require a make on your system - most | |
706 | of the Module::Build code is pure-perl and written in a very cross-platform | |
707 | way. In fact, you don't even need a shell, so even platforms like MacOS | |
708 | (traditional) can use it fairly easily. Its only prerequisites are modules that | |
709 | are included with perl 5.6.0, and it works fine on perl 5.005 if you can | |
710 | install a few additional modules. | |
711 | end | |
712 | ||
713 | requires | |
714 | %{name}=%{thisver} | |
715 | %{name}(Archive::Tar)>=1.08 | |
716 | %{name}(ExtUtils::CBuilder)>=0.15 | |
717 | %{name}(ExtUtils::ParseXS)>=1.02 | |
718 | end | |
719 | ||
720 | files | |
721 | /usr/bin/config_data | |
722 | /usr/share/perl5/inc/ | |
723 | /usr/share/perl5/Module/Build* | |
724 | /usr/share/man/man1/config_data.1* | |
725 | /usr/share/man/man3/Module::Build* | |
726 | /usr/share/man/man3/inc::latest.3* | |
727 | end | |
728 | end | |
729 | ||
730 | package %{name}-Module-CoreList | |
731 | epoch = 0 | |
732 | version = 2.29 | |
733 | arch = noarch | |
734 | ||
735 | summary = Perl core modules indexed by perl versions. | |
736 | description | |
737 | Module::CoreList contains the hash of hashes %Module::CoreList::version, this | |
738 | is keyed on perl version as indicated in $]. The second level hash is module | |
739 | => version pairs. | |
740 | end | |
741 | ||
742 | requires | |
743 | %{name}=%{thisver} | |
744 | end | |
745 | ||
746 | files | |
747 | /usr/bin/corelist | |
748 | /usr/share/perl5/Module/CoreList.pm | |
749 | /usr/share/man/man1/corelist* | |
750 | /usr/share/man/man3/Module::CoreList* | |
751 | end | |
752 | end | |
753 | ||
754 | package %{name}-Module-Load | |
755 | epoch = 0 | |
756 | version = 0.16 | |
757 | arch = noarch | |
758 | ||
759 | summary = Runtime require of both modules and files. | |
760 | description | |
761 | Module::Load eliminates the need to know whether you are trying to require | |
762 | either a file or a module. | |
763 | end | |
764 | ||
765 | requires | |
766 | %{name}=%{thisver} | |
767 | end | |
768 | ||
769 | files | |
770 | /usr/share/perl5/Module/Load.pm | |
771 | /usr/share/man/man3/Module::Load.* | |
772 | end | |
773 | end | |
774 | ||
775 | package %{name}-Module-Load-Conditional | |
776 | epoch = 0 | |
777 | version = 0.34 | |
778 | arch = noarch | |
779 | ||
780 | summary = Looking up module information / loading at runtime. | |
781 | description | |
782 | Module::Load::Conditional provides simple ways to query and possibly load | |
783 | any of the modules you have installed on your system during runtime. | |
784 | end | |
785 | ||
786 | requires | |
787 | %{name}=%{thisver} | |
788 | end | |
789 | ||
790 | files | |
791 | /usr/share/perl5/Module/Load/ | |
792 | /usr/share/man/man3/Module::Load::Conditional* | |
793 | end | |
794 | end | |
795 | ||
796 | package %{name}-Module-Loaded | |
797 | epoch = 0 | |
798 | version = 0.06 | |
799 | arch = noarch | |
800 | ||
801 | summary = Mark modules as loaded or unloaded. | |
802 | description | |
803 | When testing applications, often you find yourself needing to provide | |
804 | functionality in your test environment that would usually be provided by | |
805 | external modules. Rather than munging the %INC by hand to mark these external | |
806 | modules as loaded, so they are not attempted to be loaded by perl, this module | |
807 | offers you a very simple way to mark modules as loaded and/or unloaded. | |
808 | end | |
809 | ||
810 | requires | |
811 | %{name}=%{thisver} | |
812 | end | |
813 | ||
814 | files | |
815 | /usr/share/perl5/Module/Loaded.pm | |
816 | /usr/share/man/man3/Module::Loaded* | |
817 | end | |
818 | end | |
819 | ||
820 | package %{name}-Module-Plugable | |
821 | epoch = 0 | |
822 | version = 3.90 | |
823 | arch = noarch | |
824 | ||
825 | summary = Automatically give your module the ability to have plugins. | |
826 | description | |
827 | Provides a simple but, hopefully, extensible way of having 'plugins' for | |
828 | your module. | |
829 | end | |
830 | ||
831 | requires | |
832 | %{name}=%{thisver} | |
833 | end | |
834 | ||
835 | files | |
836 | /usr/share/perl5/Devel/InnerPackage.pm | |
837 | /usr/share/perl5/Module/Pluggable/ | |
838 | /usr/share/perl5/Module/Pluggable.pm | |
839 | /usr/share/man/man3/Devel::InnerPackage* | |
840 | /usr/share/man/man3/Module::Pluggable* | |
841 | end | |
842 | end | |
843 | ||
844 | package %{name}-Object-Accessor | |
845 | epoch = 0 | |
846 | version = 0.36 | |
847 | arch = noarch | |
848 | ||
849 | summary = Perl module that allows per object accessors. | |
850 | description | |
851 | Object::Accessor provides an interface to create per object accessors (as | |
852 | opposed to per Class accessors, as, for example, Class::Accessor provides). | |
853 | end | |
854 | ||
855 | requires | |
856 | %{name}=%{thisver} | |
857 | end | |
858 | ||
859 | files | |
860 | /usr/share/perl5/Object/ | |
861 | /usr/share/man/man3/Object::Accessor* | |
862 | end | |
863 | end | |
864 | ||
865 | package %{name}-Package-Constants | |
866 | epoch = 0 | |
867 | version = 0.02 | |
868 | arch = noarch | |
869 | ||
870 | summary = List all constants declared in a package. | |
871 | description | |
872 | Package::Constants lists all the constants defined in a certain package. This | |
873 | can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK | |
874 | for a Constants.pm file. | |
875 | end | |
876 | ||
877 | requires | |
878 | %{name}=%{thisver} | |
879 | end | |
880 | ||
881 | files | |
882 | /usr/share/perl5/Package/ | |
883 | /usr/share/man/man3/Package::Constants* | |
884 | end | |
885 | end | |
886 | ||
887 | package %{name}-Params-Check | |
888 | epoch = 0 | |
889 | version = 0.26 | |
890 | arch = noarch | |
891 | ||
892 | summary = Generic input parsing/checking mechanism. | |
893 | description | |
894 | Params::Check is a generic input parsing/checking mechanism. | |
895 | end | |
896 | ||
897 | requires | |
898 | %{name}=%{thisver} | |
899 | end | |
900 | ||
901 | provides | |
902 | %{name}(Params::Check) | |
903 | end | |
904 | ||
905 | files | |
906 | /usr/share/perl5/Params/ | |
907 | /usr/share/man/man3/Params::Check* | |
908 | end | |
909 | end | |
910 | ||
911 | package %{name}-Parse-CPAN-Meta | |
912 | epoch = 0 | |
913 | version = 1.40 | |
914 | arch = noarch | |
915 | ||
916 | summary = Parse META.yml and other similar CPAN metadata files. | |
917 | description | |
918 | Parse::CPAN::Meta is a parser for META.yml files, based on the parser half of | |
919 | YAML::Tiny. | |
920 | end | |
921 | ||
922 | requires | |
923 | %{name}=%{thisver} | |
924 | end | |
925 | ||
926 | files | |
927 | /usr/share/perl5/Parse/CPAN/Meta.pm | |
928 | /usr/share/man/man3/Parse::CPAN::Meta.3* | |
929 | end | |
930 | end | |
931 | ||
932 | package %{name}-Path-Tools | |
933 | epoch = 0 | |
934 | version = 3.31 | |
935 | license = (GPL+ or Artistic) and BSD | |
936 | ||
937 | summary = PathTools Perl module (Cwd, File::Spec). | |
938 | description | |
939 | PathTools Perl module (Cwd, File::Spec). | |
940 | end | |
941 | ||
942 | requires | |
943 | %{name}=%{thisver} | |
944 | end | |
945 | ||
946 | files | |
947 | /usr/lib/perl5/Cwd.pm | |
948 | /usr/lib/perl5/File/Spec* | |
949 | /usr/share/man/man3/Cwd* | |
950 | /usr/share/man/man3/File::Spec* | |
951 | end | |
952 | end | |
953 | ||
954 | package %{name}-Pod-Escapes | |
955 | epoch= 0 | |
956 | version = 1.04 | |
957 | arch = noarch | |
958 | ||
959 | summary = Perl module for resolving POD escape sequences. | |
960 | description | |
961 | This module provides things that are useful in decoding Pod E<...> sequences. | |
962 | Presumably, it should be used only by Pod parsers and/or formatters. | |
963 | end | |
964 | ||
965 | requires | |
966 | %{name}=%{thisver} | |
967 | end | |
968 | ||
969 | files | |
970 | /usr/share/perl5/Pod/Escapes.pm | |
971 | /usr/share/man/man3/Pod::Escapes.* | |
972 | end | |
973 | end | |
974 | ||
975 | package %{name}-Pod-Simple | |
976 | epoch = 0 | |
977 | version = 3.13 | |
978 | arch = noarch | |
979 | ||
980 | summary = Framework for parsing POD documentation. | |
981 | description | |
982 | Pod::Simple is a Perl library for parsing text in the Pod (plain old | |
983 | documentation) markup language that is typically used for writing | |
984 | documentation for Perl and for Perl modules. | |
985 | end | |
986 | ||
987 | requires | |
988 | %{name}=%{thisver} | |
989 | end | |
990 | ||
991 | files | |
992 | /usr/share/perl5/Pod/Simple/ | |
993 | /usr/share/perl5/Pod/Simple.pm | |
994 | /usr/share/perl5/Pod/Simple.pod | |
995 | /usr/share/man/man3/Pod::Simple* | |
996 | end | |
997 | end | |
998 | ||
999 | package %{name}-Term-UI | |
1000 | epoch = 0 | |
1001 | version = 0.20 | |
1002 | arch = noarch | |
1003 | ||
1004 | summary = Term::ReadLine UI made easy. | |
1005 | description | |
1006 | Term::UI is a transparent way of eliminating the overhead of having to format | |
1007 | a question and then validate the reply, informing the user if the answer was not | |
1008 | proper and re-issuing the question. | |
1009 | end | |
1010 | ||
1011 | requires | |
1012 | %{name}=%{thisver} | |
1013 | %{name}(Log::Message::Simple) | |
1014 | end | |
1015 | ||
1016 | files | |
1017 | /usr/share/perl5/Term/UI/ | |
1018 | /usr/share/perl5/Term/UI.pm | |
1019 | /usr/share/man/man3/Term::UI* | |
1020 | end | |
1021 | end | |
1022 | ||
1023 | package %{name}-Test-Harness | |
1024 | epoch = 0 | |
1025 | version = 3.17 | |
1026 | arch = noarch | |
1027 | ||
1028 | summary = Run Perl standard test scripts with statistics. | |
1029 | description | |
1030 | Run Perl standard test scripts with statistics. | |
1031 | Use TAP::Parser, Test::Harness package was whole rewritten. | |
1032 | end | |
1033 | ||
1034 | requires | |
1035 | %{name}=%{thisver} | |
1036 | end | |
1037 | ||
1038 | files | |
1039 | /usr/bin/prove | |
1040 | /usr/share/perl5/App* | |
1041 | /usr/share/perl5/TAP* | |
1042 | /usr/share/perl5/Test/Harness* | |
1043 | /usr/share/man/man1/prove.1* | |
1044 | /usr/share/man/man3/App* | |
1045 | /usr/share/man/man3/TAP* | |
1046 | /usr/share/man/man3/Test::Harness* | |
1047 | end | |
1048 | end | |
1049 | ||
1050 | package %{name}-Test-Simple | |
1051 | epoch = 0 | |
1052 | version = 0.94 | |
1053 | arch = noarch | |
1054 | ||
1055 | summary = Basic utilities for writing tests. | |
1056 | description | |
1057 | Basic utilities for writing tests. | |
1058 | end | |
1059 | ||
1060 | requires | |
1061 | %{name}=%{thisver} | |
1062 | end | |
1063 | ||
1064 | files | |
1065 | /usr/share/perl5/Test/More* | |
1066 | /usr/share/perl5/Test/Builder* | |
1067 | /usr/share/perl5/Test/Simple* | |
1068 | /usr/share/perl5/Test/Tutorial* | |
1069 | /usr/share/man/man3/Test::More* | |
1070 | /usr/share/man/man3/Test::Builder* | |
1071 | /usr/share/man/man3/Test::Simple* | |
1072 | /usr/share/man/man3/Test::Tutorial* | |
1073 | end | |
1074 | end | |
1075 | ||
1076 | package %{name}-Time-Piece | |
1077 | epoch = 0 | |
1078 | version = 1.15 | |
1079 | ||
1080 | summary = Time objects from localtime and gmtime. | |
1081 | description | |
1082 | The Time::Piece module replaces the standard localtime and gmtime functions | |
1083 | with implementations that return objects. It does so in a backwards compatible | |
1084 | manner, so that using localtime or gmtime as documented in perlfunc still | |
1085 | behave as expected. | |
1086 | end | |
1087 | ||
1088 | requires | |
1089 | %{name}=%{thisver} | |
1090 | end | |
1091 | ||
1092 | files | |
1093 | /usr/lib/perl5/Time/Piece.pm | |
1094 | /usr/lib/perl5/Time/Seconds.pm | |
1095 | /usr/lib/perl5/auto/Time/Piece/ | |
1096 | /usr/share/man/man3/Time::Piece.3* | |
1097 | /usr/share/man/man3/Time::Seconds.3* | |
1098 | end | |
1099 | end | |
1100 | ||
1101 | package %{name}-parent | |
1102 | epoch = 0 | |
1103 | version = 0.223 | |
1104 | arch = noarch | |
1105 | ||
1106 | summary = Establish an ISA relationship with base classes at compile time. | |
1107 | description | |
1108 | parent allows you to both load one or more modules, while setting up | |
1109 | inheritance from those modules at the same time. | |
1110 | end | |
1111 | ||
1112 | requires | |
1113 | %{name}=%{thisver} | |
1114 | end | |
1115 | ||
1116 | files | |
1117 | /usr/share/perl5/parent.pm | |
1118 | /usr/share/man/man3/parent.3* | |
1119 | end | |
1120 | end | |
1121 | ||
1122 | package %{name}-threads | |
1123 | epoch = 0 | |
1124 | version = 1.75 | |
1125 | ||
1126 | summary = Perl interpreter-based threads. | |
1127 | description | |
1128 | Since Perl 5.8, thread programming has been available using a model called | |
1129 | interpreter threads which provides a new Perl interpreter for each thread, | |
1130 | and, by default, results in no data or state information being shared between | |
1131 | threads. (Prior to Perl 5.8, 5005threads was available through the Thread.pm | |
1132 | API. This threading model has been deprecated, and was removed as of Perl | |
1133 | 5.10.0.) As just mentioned, all variables are, by default, thread local. To use | |
1134 | shared variables, you need to also load threads::shared. | |
1135 | end | |
1136 | ||
1137 | requires | |
1138 | %{name}=%{thisver} | |
1139 | end | |
1140 | ||
1141 | files | |
1142 | /usr/lib/perl5/auto/threads/threads* | |
1143 | /usr/lib/perl5/threads.pm | |
1144 | /usr/share/man/man3/threads.3* | |
1145 | end | |
1146 | end | |
1147 | ||
1148 | package %{name}-threads-shared | |
1149 | epoch = 0 | |
1150 | version = 1.32 | |
1151 | ||
1152 | summary = Perl extension for sharing data structures between threads. | |
1153 | description | |
1154 | By default, variables are private to each thread, and each newly created thread | |
1155 | gets a private copy of each existing variable. This module allows you to share | |
1156 | variables across different threads (and pseudo-forks on Win32). It is used | |
1157 | together with the threads module. This module supports the sharing of the | |
1158 | following data types only: scalars and scalar refs, arrays and array refs, and | |
1159 | hashes and hash refs. | |
1160 | end | |
1161 | ||
1162 | requires | |
1163 | %{name}=%{thisver} | |
1164 | end | |
1165 | ||
1166 | files | |
1167 | /usr/lib/perl5/auto/threads/shared* | |
1168 | /usr/lib/perl5/threads/shared* | |
1169 | /usr/share/man/man3/threads::shared* | |
1170 | end | |
1171 | end | |
1172 | ||
1173 | package %{name}-version | |
1174 | epoch = 0 | |
1175 | version = 0.82 | |
1176 | arch = noarch | |
1177 | ||
1178 | summary = Perl extension for Version Objects. | |
1179 | description | |
1180 | Perl extension for Version Objects. | |
1181 | end | |
1182 | ||
1183 | requires | |
1184 | %{name}=%{thisver} | |
1185 | end | |
1186 | ||
1187 | files | |
1188 | /usr/share/perl5/version.pm | |
1189 | /usr/share/perl5/version.pod | |
1190 | /usr/share/perl5/version/ | |
1191 | /usr/share/man/man3/version.3* | |
1192 | /usr/share/man/man3/version::Internals.3* | |
1193 | end | |
1194 | end | |
1195 | ||
1196 | package %{name}-core | |
1197 | epoch = 0 | |
1198 | ||
1199 | summary = Base perl metapackage. | |
1200 | description | |
1201 | A metapackage which requires all of the perl bits and modules in the upstream | |
1202 | tarball from perl.org. | |
1203 | end | |
1204 | ||
1205 | requires | |
1206 | %{name}=%{thisver} | |
1207 | %{name}-libs | |
1208 | %{name}-devel | |
1209 | %{name}-Archive-Extract | |
1210 | %{name}-Archive-Tar | |
1211 | %{name}-Compress-Raw-Zlib | |
1212 | %{name}-CPAN | |
1213 | %{name}-CPANPLUS | |
1214 | %{name}-Digest-SHA | |
1215 | %{name}-ExtUtils-CBuilder | |
1216 | %{name}-ExtUtils-Embed | |
1217 | %{name}-ExtUtils-MakeMaker | |
1218 | %{name}-ExtUtils-ParseXS | |
1219 | %{name}-File-Fetch | |
1220 | %{name}-IO-Compress | |
1221 | %{name}-IO-Zlib | |
1222 | %{name}-IPC-Cmd | |
1223 | %{name}-Locale-Maketext-Simple | |
1224 | %{name}-Log-Message | |
1225 | %{name}-Log-Message-Simple | |
1226 | %{name}-Module-Build | |
1227 | %{name}-Module-CoreList | |
1228 | %{name}-Module-Load | |
1229 | %{name}-Module-Load-Conditional | |
1230 | %{name}-Module-Loaded | |
1231 | %{name}-Module-Plugable | |
1232 | %{name}-Object-Accessor | |
1233 | %{name}-Package-Constants | |
1234 | %{name}-Params-Check | |
1235 | %{name}-Parse-CPAN-Meta | |
1236 | %{name}-Path-Tools | |
1237 | %{name}-Pod-Simple | |
1238 | %{name}-Term-UI | |
1239 | %{name}-Test-Harness | |
1240 | %{name}-Test-Simple | |
1241 | %{name}-Time-Piece | |
1242 | %{name}-parent | |
1243 | %{name}-threads | |
1244 | %{name}-threads-shared | |
1245 | %{name}-version | |
1246 | end | |
1247 | ||
1248 | # Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry. | |
1249 | files | |
1250 | end | |
1251 | end | |
1252 | end |