]> git.pld-linux.org Git - packages/perl.git/blame - perl.spec
- updated list of provided modules
[packages/perl.git] / perl.spec
CommitLineData
6d45ca4e 1#
2# Conditional build:
361d5527
JB
3%bcond_without tests # do not perform "make test"
4%bcond_without threads # build without support for threads
5%bcond_without gdbm # build without the GDBM_File module
253f30cb 6%bcond_with microperl # build microperl (needs fixing)
6d45ca4e 7#
8# TODO:
8d09dfc6 9# - fix "FIXME"s
3d18c4ab 10# - add the {O,N}DBM_File modules
aa6096e9 11# - `diagnostics.pm' (perl-base) requires `perldiag.pod' (perl-perldoc)
12# move .pod file to -base or S: perl-perldoc in -base
7e4278a5 13# - consider disabling ithreads by default; packages that require it:
14# maatkit (dunno, seems complicated), munin-plugins-muninexchange (fixable),
15# whohas (easy to fix), slimrat (no way to fix)
361d5527 16# - what about "prove" (binary+manual)? (conflicts with standalone Test-Harness)
410c7955 17# - patch MakeMaker to get rid of empty *.bs files (MM_Unix::dynamic_bs())
82890722
JB
18# - consider separating C/XS development files (*.h, libperl.so)
19# and perl development modules (like MakeMaker, Devel...)
7e4278a5 20# - subpackage for perl-ExtUtils-MakeMaker, (instmodsh conflicts with
21# perl-ExtUtils-MakeMaker)
82890722
JB
22# - resolve ugly perl-base/perl-dirs dependency loop
23# (in fact perl-dirs dep in perl-base could be dropped and perl-dirs
24# deps in external modules autogenerated - perhaps with proper ">= version")
469f90c5 25#
26# TODO for perl-dependent packages:
27# - change all "R/BR: perl" to one of perl-{base,modules,devel}
6d45ca4e 28#
1d7037ad
ER
29# NOTE
30# - modules in 5.10.0: http://search.cpan.org/~rgarcia/perl-5.10.0/
6d45ca4e 31
b1bef4eb 32%define abi 5.18.0
361d5527 33%define perlthread %{?with_threads:-thread-multi}
3eb80867 34
f977e516
ER
35%define perl_privlib %{_datadir}/perl5/%{ver}
36%define perl_archlib %{_libdir}/perl5/%{ver}/%{_target_platform}%{perlthread}
01393b52 37%define perl_sitelib %{_usr}/local/share/perl5
9faa3120 38%define perl_sitearch %{_usr}/local/lib/perl5/%{abi}/%{_target_platform}%{perlthread}
01393b52 39%define perl_vendorlib %{_datadir}/perl5/vendor_perl
9faa3120 40%define perl_vendorarch %{_libdir}/perl5/vendor_perl/%{abi}/%{_target_platform}%{perlthread}
3eb80867 41
be97afc4 42# extract module version from source
f977e516 43%define perl_modver() %([ -f %{SOURCE3} ] && awk -vp=%1 '$1 == p{print $3}' %{SOURCE3} || echo ERROR)
765cb63f 44%define perl_modversion() %([ -f %{SOURCE3} ] && awk -vp=%1 '$1 == p{m=$1; gsub(/::/, "-", m); printf("perl-%s = %s\\n", m, $3)}END{if (!m) printf("# Error looking up [%s]\\n", p)}' %{SOURCE3} || echo ERROR)
be97afc4 45
b1bef4eb 46%define ver 5.18.0
6c373bcb 47%define rel 4
557db02e 48Summary: Practical Extraction and Report Language (Perl)
8e37f0be
ER
49Summary(cs.UTF-8): Programovací jazyk Perl
50Summary(da.UTF-8): Programmeringssproget Perl
51Summary(de.UTF-8): Praktische Extraktions- und Berichtsprache
52Summary(es.UTF-8): Lenguaje práctica de extracción y listado
53Summary(fr.UTF-8): Langage de programmation Perl
54Summary(id.UTF-8): Bahasa pemrograman Perl
55Summary(is.UTF-8): Forritunarmálið Perl
56Summary(it.UTF-8): Perl: linguaggio di programmazione
57Summary(ja.UTF-8): Perl プログラミング言語
58Summary(ko.UTF-8): 펄 프로그래밍 언어
59Summary(nb.UTF-8): Programmeringsspråket Perl
60Summary(pl.UTF-8): Interpreter języka Perl (Practical Extraction and Report Language)
61Summary(pt.UTF-8): A linguagem de programação Perl
62Summary(pt_BR.UTF-8): Linguagem prática de extração e relatório
63Summary(ru.UTF-8): Язык программирования Perl
64Summary(sk.UTF-8): Programovací jazyk Perl
65Summary(sl.UTF-8): Programski jezik Perl
66Summary(sv.UTF-8): Programmeringsspråket Perl
67Summary(tr.UTF-8): Kabuk yorumlama dili
68Summary(zh_CN.UTF-8): Perl 编程语言。
c82a4287 69Name: perl
f977e516 70Version: %{ver}
86f9edf1 71Release: %{rel}%{!?with_threads:_nothr}
fe72cf40 72Epoch: 1
956305df 73License: GPL v1+ or Artistic
6d45ca4e 74Group: Development/Languages/Perl
cb645a79 75Source0: http://www.cpan.org/src/5.0/%{name}-%{ver}.tar.gz
b1bef4eb 76# Source0-md5: 197ce31e84936bc0a83b03b2ee714cff
cb28b959 77Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
979ede99 78# Source1-md5: de47d7893f49ad7f41ba69c78511c0db
51b5ef13 79Source2: %{name}.prov
be97afc4 80Source3: %{name}-modules
86f9edf1 81Patch2: %{name}_580-errno_h-parsing.patch
2b9d6832
JB
82Patch3: %{name}_581-soname.patch
83Patch4: %{name}-test-noproc.patch
84Patch5: %{name}_585-microperl_uconfig.patch
85Patch6: %{name}-write-permissions.patch
81febea5 86Patch7: %{name}-t-syslog.patch
b003a5ad 87Patch8: %{name}-fix-pointer-arithmetic.patch
36d48d93 88URL: http://dev.perl.org/perl5/
e0d08e68 89%ifarch ppc
90# gcc 3.3.x miscompiles pp_hot.c
a3a44f8c 91BuildRequires: gcc >= 5:4.1
e0d08e68 92%endif
93%{?with_gdbm:BuildRequires: gdbm-devel}
a56bad3c
JB
94# asm-generic, merged x86 asm dirs
95BuildRequires: linux-libc-headers >= 7:2.6.24
06e5624b 96%{?with_tests:BuildRequires: procps}
361d5527
JB
97# required for proper Provides generation (older are not supported by spec)
98BuildRequires: rpm-build >= 4.3-0.20040107.4
45e2757d 99BuildRequires: rpmbuild(macros) >= 1.426
f977e516 100Requires: %{name}-base = %{epoch}:%{ver}-%{release}
f977e516 101Requires: %{name}-modules = %{epoch}:%{ver}-%{release}
d8c35c4e
TP
102Suggests: %{name}-doc-reference = %{epoch}:%{ver}-%{release}
103Suggests: perldoc
cef25338 104BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d0796292 105
f977e516 106%define __perl %{_builddir}/perl-%{ver}/runperl
44d02c40 107%define __perl_provides %{__perl} %{SOURCE2}
6facfd19 108
d0796292 109%description
110Perl is an interpreted language optimized for scanning arbitrary text
b7856278 111files, extracting information from those text files, and printing
112reports based on that information. It's also a good language for many
113system management tasks. The language is intended to be practical
114(easy to use, efficient, complete) rather than beautiful (tiny,
115elegant, minimal).
d0796292 116
600062b5
JR
117%description -l cs.UTF-8
118Perl je vyšší programovací jazyk s kořeny v jazyce C, sed, awk a
119shellových skriptech. Perl je vhodný pro manipulace s procesy a
120soubory, ale obzvláště se hodí ke zpracovávání textů. Perl vyniká
121praktičností účinností. I když se používá prakticky na cokoli, většina
122Perlových programů slouží jako správcovské utility nebo programy pro
123WWW. V Perlu je napsáno velmi mnoho CGI skriptů pro WWW servery na
124celém světě.
125
126%description -l da.UTF-8
127Perl er et høgniveauprogramsprog med røtter i C, sed, awk og
128skalskript. Perl er godt på at behandle processer og filer, og er
129særskilt godt på at behandle text. Utmærkende for Perl er at det er
130praktisk og effektivt. Det bruges for at gøre en mængd forskellige
7095bd2b 131saker, men de almindeligeste programmerne er systemadministration og
600062b5
JR
132webbprogrammering. En stor andel af CGI-skripten på webben er skrivna
133i Perl. Du behøver installere pakken Perl på dit system så at ditt
7095bd2b 134system kan behandle Perlskript.
135
600062b5 136%description -l de.UTF-8
b7856278 137Perl ist eine Interpreter-Sprache, die zum Durchsuchen beliebiger
138Text- dateien, Extrahieren von Informationen aus diesen Dateien und
139Drucken von auf diesen Informationen basierenden Berichten optimiert
600062b5 140ist. Die Sprache eignet sich außerdem für viele
b7856278 141Systemverwaltungsaufgaben. Sie ist eher praktisch (einfache
600062b5 142Anwendung,effizient, vollständig) als schön (winzig, elegant,
b7856278 143minimal).
d0796292 144
600062b5 145%description -l es.UTF-8
70f47ad4 146Perl es un lenguaje interpretado, optimizado para manejar archivos
600062b5
JR
147texto, extrayendo información de estos archivos y mostrando listados
148basados en esta información. También es un buen lenguaje para varias
149tareas de administración de sistema. El lenguaje busca ser más
150práctico (fácil de usar, eficiente, completo) que bonito (minúsculo,
151elegante, mínimo).
152
153%description -l fr.UTF-8
154Perl est un langage interprété, optimisé pour filtrer des fichiers
b7856278 155texte, extraire des informations de ces fichiers, et imprimer des
600062b5
JR
156rapports basés sur ces informations. C'est aussi un bon langage pour
157de nombreuses procédures de gestion système. Ce langage se veut
158pratique (simple à utiliser, efficace, complet) autant qu'agréable
159(conscrit, élégant, minimal).
d0796292 160
600062b5 161%description -l id.UTF-8
7095bd2b 162Perl adalah sebuah bahasa pemrograman tingkat tinggi yang didasarkan
163pada C, sed, awk, dan bahasa shell. Perl memiliki kemampuan penanganan
164proses dan file yang bagus, tapi terutama kemampuan penanganan teksnya
165yang baik. Ciri khas Perl adalah kepraktisan dan efisiensi. Meski
166digunakan untuk berbagai hal, aplikasi Perl yang paling umum adalah
167utilitas sistem administrasi dan pemrograman web. Sebagian besar skrip
f2fb55e1 168CGI yang ada di web ditulis dalam Perl. Anda Perlu memasang paket Perl
7095bd2b 169di sistem agar dapat menjalankan skrip-skrip Perl.
170
600062b5
JR
171%description -l is.UTF-8
172Perl er hás stigs forritunar tungumál sem á rætur sínar að rekja til
173C, sed, awk, og skeljar forritunar. Perl er góð í að meðhöndla
174processa og skrár og er sérstaklega góð í að meðhöndla texta. Perls
175kostir eru nytsamleiki og virkni. Á meðan það er notað til að gera
176marga mismunandi hluti, Perl mest notuðu forrit eru krefisstjórnunar
177tól og vef forritun Stór hluti af CGI forritum á vefnum eru skrifaðar
178í Perl. Þú þarft Perl pakkann settan upp á þínu krefi svo þitt kerfi
179geti notað Perl scriptur.
180
181%description -l it.UTF-8
182Perl è un linguaggio di programmazione di alto livello derivato dal
f851d747 183linguaggio C, da sed, da awk e dallo scripting delle shell. E' adatto
184per la gestione di processi, di file e in particolare di file di
600062b5
JR
185testo. Perl è un linguaggio semplice ed efficiente. Viene utilizzato
186per numerosi scopi, ma le sue applicazioni più diffuse sono le utility
f851d747 187di amministrazione del sistema e la programmazione Web. Una grossa
600062b5 188parte degli script CGI nel Web sono scritti in Perl. È consigliabile
f2fb55e1 189installare il pacchetto Perl in modo che il sistema sia in grado di
f851d747 190gestire gli script di Perl.
7095bd2b 191
600062b5
JR
192%description -l ja.UTF-8
193Perl は C言語、sed, awk、及び シェルスクリプティングに根源を
194持つハイレベルな プログラム言語です。Perl はプロセスやファイルの処理に
195適切で 、特に テキスト処理には最適です。さまざまな作業に
196使用されますが、 Perlの最も頻繁な活用はシステムアドミニストレーション
197ユーティリティと webプログラミングです。web上の 大部分のCGI"
198スクリプトがPerlで書かれています。 システムがPerlスクリプトを
199処理出来るようにするためには Perlパッケージを インストールする
200必要があります。
201
202%description -l pl.UTF-8
203Perl jest językiem przeznaczonym do skanowania plików tekstowych,
204wyciągania z nich informacji i drukowania raportu bazującego na tych
205informacjach. Jest również doskonałym językiem do wielu prac
206związanych z nadzorem systemu. Język ten jest w zamierzeniu bardziej
207praktyczny (łatwy w użyciu, wydajny, kompletny) niż piękny (skromny,
069b337b 208elegancki, minimalny).
d0796292 209
600062b5
JR
210%description -l pt.UTF-8
211O Perl é uma linguagem de programação de alto nível que tem como
212raizes o C, sed, awk, e 'shell scripting'. O Perl é bom a manipular
213processos e ficheiros, e é especialmente bom para manipular texto.
214Características do Perl são a eficiência e o uso prático. As
215aplicações mais comuns do Perl são utilitários de administração de
216sistema e programação Web. Uma grande parte dos 'scripts' CGI na Web
217são escritos em Perl. Você precisa do pacote Perl instalado no seu
f851d747 218sistema de maneira a que este possa tratar de 'scripts' de Perl.
7095bd2b 219
600062b5
JR
220%description -l pt_BR.UTF-8
221Perl é uma linguagem interpretada, otimizada para tratar arquivos
222texto, extraindo informação desses arquivos e mostrando relatórios
223baseados nessa informação. Também é uma boa linguagem para várias
224tarefas de administração de sistema. A linguagem procura ser mais
225prática (fácil de usar, eficiente, completa) do que bonita (minúscula,
226elegante, mínima).
227
228%description -l ru.UTF-8
229Perl - это интерпретируемый язык программирования, уходящий корнями в
230C, sed, awk и языки командных оболочек (shell). Perl хорош для работы
231с процессами и файлами, а особенно хорош для задач обработки текстов.
232Особенности Perl - практичность и эффективность. Хотя он и
233используется для решения самых разных задач, наиболее распространенные
234применения (и то, в чем он силен) это, вероятно, утилиты системного
235администрирования и web-программирование. Большая часть CGI скриптов
236написана на Perl.
237
238%description -l sk.UTF-8
239Perl je programovací jazyk vyššej úrovne s koreňmi v C, sed, awk, a
240shell skriptoch. Perl má vhodné vlastnosti pre spracovanie procesov a
241súborov a je zvlášť vhodný pre spracovanie textu. Jeho cieľmi sú
242praktičnosť a efektivita. Aj keď je používaný pre množstvo rozličných
243činností, jeho najčastejším použitím (a kde vyniká najviac) sú
244pravdepodobne nástroje pre správu systému a programovanie na Webe.
245Veľká časť CGI skriptov na Webe je napísaná v Perle. Balík Perl
246potrebujete mať nainštalovaný, aby bol váš systém schopný spracovať
7095bd2b 247Perl skripty.
248
600062b5
JR
249%description -l sv.UTF-8
250Perl är ett högnivåprogramspråk med rötter i C, sed, awk och
251skalskript. Perl är bra på att hantera processer och filer, och är
252särskilt bra på att hantera text. Utmärkande för Perl är att det är
253praktiskt och effektivt. Det används för att göra en mängd olika
254saker, men de vanligaste tillämpningarna är systemadministration och
255webbprogrammering. En stor andel av CGI-skripten på webben är skrivna
256i Perl. Du behöver installera paketet Perl på ditt system så att ditt
257
258%description -l tr.UTF-8
259Perl, metin dosyalarını taramak, bu metin dosyalarından bilgi çıkarmak
260ve bu bilgiye dayalı raporlar hazırlamak icin geliştirilmiş bir
261yorumlamalı dildir. Ayrıca pek çok sistem yönetimi görevleri için de
262yararlı yetenekleri vardır. Perl, güzel (ufak, zarif, minimum)
263olmaktan çok, pratik olmaya yönelik (kullanımı kolay, verimli,
264eksiksiz) olarak tasarlanmıştır.
265
266%description -l uk.UTF-8
267Perl - це інтерпретована мова програмування, що запозичує ідеї в C,
268sed, awk та мовах командних оболонок (shell). Perl добре підходить для
269роботи з процесами та файлами, а найкраще - для обробки текстів.
270Особливості Perl - практичність та ефективність. Хоча сфера його
271використання дуже широка, найбільш поширене його застосування (та
272найсильніша сторона) це, імовірно, утиліти системного адміністрування
273та web-програмування. Більша частина CGI скриптів написана на Perl.
274
275%description -l zh_CN.UTF-8
276Perl 是一种高级编程语言,起源于 C、sed、awk 和 shell 脚本。
277它善于处理进程和文件,尤其是处理文本。Perl
278的特点在于其实用性和有效性。
279尽管它可用于执行许多不同的任务,但是通常多应用于系统管理实用程序和 Web
280编程。\n Web 上的大部分 CGI 脚本均使用 Perl
281语言进行编写。您必须在系统中安装 Perl 软件包, 以便处理 Perl 脚本。
7095bd2b 282
5dc60bcd
ER
283%package libs
284Summary: Shared Perl library
8e37f0be 285Summary(pl.UTF-8): Biblioteka współdzielona Perla
5dc60bcd
ER
286Group: Libraries
287Conflicts: perl-base < 1:5.8.8-8.1
288
289%description libs
290Shared Perl library.
291
600062b5
JR
292%description libs -l pl.UTF-8
293Biblioteka współdzielona Perla.
5598a1c5 294
6d45ca4e 295%package base
f2fb55e1 296Summary: Base Perl components for a minimal installation
8e37f0be 297Summary(pl.UTF-8): Podstawowe składniki potrzebne do minimalnej instalacji Perla
ff22dcd9 298Group: Development/Languages/Perl
f977e516 299Requires: %{name}-libs = %{epoch}:%{ver}-%{release}
dca0d8c2
ER
300Requires: %{perl_vendorarch}
301Requires: %{perl_vendorlib}
51b5ef13 302Provides: perl(largefiles)
be97afc4
ER
303Provides: %perl_modversion File::Compare
304Provides: %perl_modversion File::Spec
305Provides: %perl_modversion File::Temp
306Provides: %perl_modversion IO
307Provides: %perl_modversion PerlIO::via::QuotedPrint
be97afc4
ER
308Provides: %perl_modversion Socket
309Provides: %perl_modversion Tie::File
b12f7245 310Obsoletes: sperl
0bafe179 311Conflicts: perl < 1:5.8.0
6d45ca4e 312
313%description base
f2fb55e1 314Base components, files, core modules, etc. -- a minimal usable Perl
e2bc1831 315installation. You are encouraged to install a full Perl (the perl
6d45ca4e 316package) whenever possible.
317
600062b5
JR
318%description base -l pl.UTF-8
319Podstawowe składniki, pliki, główne moduły itp. - minimalna instalacja
320Perla, nadająca się do użytku. Zaleca się instalację pełnego Perla
321(pakietu perl), jeśli to tylko możliwe.
3d18c4ab 322
f1e62c51
JR
323%package devel
324Summary: Perl development files
8e37f0be
ER
325Summary(pl.UTF-8): Pliki potrzebne przy tworzeniu własnych aplikacji w Perlu
326Summary(pt_BR.UTF-8): Arquivos de desenvolvimento e cabeçalhos para o Perl
30563732 327Group: Development/Libraries
f977e516
ER
328Requires: %{name}-base = %{epoch}:%{ver}-%{release}
329Requires: %{name}-modules = %{epoch}:%{ver}-%{release}
330Requires: %{name}-tools-pod = %{epoch}:%{ver}-%{release}
be97afc4 331Provides: %perl_modversion CPAN
6c373bcb
JR
332Provides: %perl_modversion CPAN::Meta
333Provides: %perl_modversion CPAN::Meta::YAML
be97afc4 334Provides: %perl_modversion Devel::Peek
6c373bcb
JR
335Provides: %perl_modversion Devel::PPPort
336Provides: %perl_modversion ExtUtils::CBuilder
337Provides: %perl_modversion ExtUtils::Command
be97afc4 338Provides: %perl_modversion ExtUtils::Embed
6c373bcb 339Provides: %perl_modversion ExtUtils::Install
be97afc4 340Provides: %perl_modversion ExtUtils::MakeMaker
6c373bcb
JR
341Provides: %perl_modversion ExtUtils::Manifest
342Provides: %perl_modversion ExtUtils::ParseXS
7ea3f706 343Provides: %perl_modversion Module::Build
f675ab89 344Obsoletes: perl-lib-devel
7da49777 345
f1e62c51 346%description devel
cdfacc8a 347Components required for developing applications which embed a Perl
f2fb55e1 348interpreter and compiling Perl modules.
6d45ca4e 349
600062b5
JR
350%description devel -l pl.UTF-8
351Składniki potrzebne do tworzenia aplikacji osadzających interpreter
352Perla oraz kompilowania modułów Perla.
cdfacc8a 353
6d45ca4e 354%package doc-pod
355Summary: Perl documentation in POD format
8e37f0be 356Summary(pl.UTF-8): Dokumentacja Perla w formacie POD
6d45ca4e 357Group: Documentation
f9902769 358Requires: perldoc
6d45ca4e 359Obsoletes: perl-pod
360
361%description doc-pod
362Practical Extraction and Report Language - POD docs.
7da49777 363
600062b5 364%description doc-pod -l pl.UTF-8
cdfacc8a
JB
365Practical Extraction and Report Language - dokumentacja w formacie
366POD.
70f47ad4 367
6d45ca4e 368%package doc-reference
369Summary: Perl reference documentation
8e37f0be 370Summary(pl.UTF-8): Dokumentacja Perla
6d45ca4e 371Group: Documentation
70f47ad4 372
6d45ca4e 373%description doc-reference
51b5ef13
ER
374Reference documentation for the Practical Extraction and Report
375Language and it's interpreter in the man(1) format.
6d45ca4e 376
600062b5
JR
377%description doc-reference -l pl.UTF-8
378Dokumentacja referencyjna w formacie man do języka Perl (Practical
6d45ca4e 379Extraction and Report Language) i jego interpretera.
380
381%package modules
f2fb55e1 382Summary: Modules from the core Perl distribution
8e37f0be 383Summary(pl.UTF-8): Moduły z podstawowej dystrybucji Perla
3d18c4ab 384Group: Libraries
f977e516 385Requires: %{name}-base = %{epoch}:%{ver}-%{release}
6c373bcb 386Provides: %perl_modversion Archive::Tar
be97afc4
ER
387Provides: %perl_modversion Attribute::Handlers
388Provides: %perl_modversion CGI
6c373bcb
JR
389Provides: %perl_modversion Compress::Raw::Bzip2
390Provides: %perl_modversion Compress::Raw::Zlib
be97afc4
ER
391Provides: %perl_modversion Digest
392Provides: %perl_modversion Digest::MD5
6c373bcb 393Provides: %perl_modversion Digest::SHA
be97afc4
ER
394Provides: %perl_modversion Filter::Simple
395Provides: %perl_modversion FindBin
be97afc4
ER
396Provides: %perl_modversion I18N::LangTags
397Provides: %perl_modversion IPC::SysV
b2a9749d 398Provides: %perl_modversion JSON::PP
6c373bcb 399Provides: %perl_modversion Locale::Codes
be97afc4 400Provides: %perl_modversion Locale::Maketext
6c373bcb 401Provides: %perl_modversion Locale::Maketext::Simple
be97afc4
ER
402Provides: %perl_modversion Math::BigInt
403Provides: %perl_modversion Math::BigRat
404Provides: %perl_modversion Math::Trig
405Provides: %perl_modversion Memoize
6c373bcb
JR
406Provides: %perl_modversion MIME::Base64
407Provides: %perl_modversion Module::CoreList
408Provides: %perl_modversion Module::Load
409Provides: %perl_modversion Module::Load::Conditional
b2a9749d 410Provides: %perl_modversion Module::Metadata
6c373bcb 411Provides: %perl_modversion Module::Pluggable
be97afc4 412Provides: %perl_modversion NEXT
7e81db84 413Provides: %perl_modversion Parse::CPAN::Meta
b2a9749d 414Provides: %perl_modversion Perl::OSType
6c373bcb 415Provides: %perl_modversion Pod::Escapes
be97afc4
ER
416Provides: %perl_modversion Pod::LaTeX
417Provides: %perl_modversion Pod::Parser
6c373bcb 418Provides: %perl_modversion Pod::Simple
54eeeecd 419Provides: %perl_modversion Safe
be97afc4 420Provides: %perl_modversion Storable
6c373bcb 421Provides: %perl_modversion Sys::Syslog
be97afc4
ER
422Provides: %perl_modversion Term::ANSIColor
423Provides: %perl_modversion Term::Cap
424Provides: %perl_modversion Test
425Provides: %perl_modversion Test::Harness
426Provides: %perl_modversion Test::Simple
427Provides: %perl_modversion Text::Balanced
428Provides: %perl_modversion Text::ParseWords
429Provides: %perl_modversion Text::Soundex
be97afc4 430Provides: %perl_modversion Time::HiRes
6c373bcb 431Provides: %perl_modversion Time::Piece
be97afc4
ER
432Provides: %perl_modversion Unicode::Collate
433Provides: %perl_modversion Unicode::Normalize
6c373bcb
JR
434Provides: %perl_modversion UNIVERSAL
435Provides: %perl_modversion bignum
be97afc4 436Provides: %perl_modversion libnet
174a61b6 437Provides: %perl_modversion version
56868231 438Suggests: perl-Encode >= 1:2.44
8d09dfc6 439Suggests: perl-Version-Requirements
6d45ca4e 440Obsoletes: perl-lib
441
442%description modules
443Practical Extraction and Report Language - modules from the core
444distribution.
445
600062b5
JR
446%description modules -l pl.UTF-8
447Practical Extraction and Report Language - moduły z podstawowej
6d45ca4e 448dystrybucji.
449
450%package perldoc
451Summary: perldoc - Look up Perl documentation in pod format
8e37f0be 452Summary(pl.UTF-8): perldoc - przeszukiwanie dokumentacji Perla w formacie pod
6d45ca4e 453Group: Development/Tools
f977e516 454Requires: %{name}-modules = %{epoch}:%{ver}-%{release}
d8c35c4e 455Requires: %{name}-tools-pod
7472b4d0 456Requires: groff
f977e516 457Provides: perldoc = 3.14_02@%{ver}
6d45ca4e 458
459%description perldoc
cdfacc8a 460perldoc looks up a piece of documentation in .pod format that is
f2fb55e1 461embedded in the Perl installation tree or in a Perl script, and
cdfacc8a 462displays it via "pod2man | nroff -man | $PAGER". This is primarily
f2fb55e1 463used for the documentation for the Perl library modules.
cdfacc8a 464
600062b5 465%description perldoc -l pl.UTF-8
cdfacc8a 466perldoc wyszukuje fragment dokumentacji w formacie .pod osadzony w
600062b5
JR
467drzewie instalacji Perla lub w skypcie perlowym i wyświetla go przez
468"pod2man | nroff -man | $PAGER". Program ten używany jest głównie do
469dokumentacji modułów z bibliotek Perla.
818aae8e 470
6d45ca4e 471%package tools
f2fb55e1 472Summary: Various tools from the core Perl distribution
8e37f0be 473Summary(pl.UTF-8): Różne narzędzia z podstawowej dystrybucji Perla
6d45ca4e 474Group: Applications
f977e516 475Requires: %{name}-devel = %{epoch}:%{ver}-%{release}
ea77564b 476
6d45ca4e 477%description tools
f2fb55e1 478Various tools from the core Perl distribution:
e2bc1831 479a2p - Awk to Perl translator
e2bc1831 480find2perl - translate find command lines to Perl code
e2bc1831 481psed, s2p - a stream editor
3641062d 482and others.
70f47ad4 483
600062b5
JR
484%description tools -l pl.UTF-8
485Różne narzędzia z podstawowej dystrybucji Perla:
486a2p - translator skryptów Awka do Perla
600062b5 487find2perl - tłumaczenie linii poleceń programu find na kod w Perlu
e2bc1831 488psed, s2p - edytor strumieniowy
3641062d 489i inne.
6d45ca4e 490
491%package tools-devel
f2fb55e1 492Summary: Developer's tools from the core Perl distribution
8e37f0be 493Summary(pl.UTF-8): Narzędzia z podstawowej dystrybucji Perla, przeznaczone dla programistów
6d45ca4e 494Group: Development/Tools
f977e516
ER
495Requires: %{name}-base = %{epoch}:%{ver}-%{release}
496Requires: %{name}-devel = %{epoch}:%{ver}-%{release}
6d45ca4e 497
498%description tools-devel
f2fb55e1 499Various tools from the core Perl distribution:
e2bc1831 500c2ph, pstruct - Dump C structures as generated from C<cc -g -S> stabs
501dprofpp - display Perl profile data
e2bc1831 502h2ph - convert .h C header files to .ph Perl header files
503h2xs - convert .h C header files to Perl extensions
504perlcc - generate executables from Perl programs
505perlivp - Perl Installation Verification Procedure
506pl2pm - Rough tool to translate Perl4 .pl files to Perl5 .pm modules.
507splain - force verbose warning diagnostics
6d45ca4e 508
600062b5
JR
509%description tools-devel -l pl.UTF-8
510Różne narzędzia z podstawowej dystrybucji Perla:
e2bc1831 511c2ph, pstruct - zrzucanie struktur C w postaci generowanej z tablic
512 symboli z cc -g -S
600062b5 513dprofpp - wyświetlanie perlowych danych profilujących
600062b5 514h2ph - konwerter plików nagłówkowych .h z C na perlowe pliki
d8c35c4e
TP
515 nagłówkowe .ph
516h2xs - konwerter plików nagłówkowych .h z C na rozszerzenia
e2bc1831 517 Perla
d8c35c4e
TP
518perlcc - generator binarek z programów w Perlu
519perlivp - procedura weryfikacji instalacji Perla
600062b5
JR
520pl2pm - zgrubne narzędzie do tłumaczenia plików pl Perla 4 na
521 moduły .pm Perla 5
522splain - wymuszenie obszernych ostrzeżeń diagnostycznych
cdfacc8a 523
6d45ca4e 524%package tools-pod
525Summary: Tools for manipulating files in the POD format
8e37f0be 526Summary(pl.UTF-8): Narzędzia do przetwarzania plików w formacie POD
6d45ca4e 527Group: Applications
f977e516 528Requires: %{name}-modules = %{epoch}:%{ver}-%{release}
6d45ca4e 529
530%description tools-pod
cdfacc8a
JB
531Tools for manipulating files in the POD (Plain Old Documentation)
532format:
e2bc1831 533pod2html - convert .pod files to .html files
534pod2latex - convert pod documentation to LaTeX format
535pod2man - convert POD data to formatted *roff input
536pod2text - convert POD data to formatted ASCII text
537pod2usage - print usage messages from embedded pod docs in files
538podchecker - check the syntax of POD format documentation files
539podselect - print selected sections of pod documentation
cdfacc8a 540
600062b5
JR
541%description tools-pod -l pl.UTF-8
542Narzędzia do przetwarzania plików w formacie POD (Plain Old
cdfacc8a 543Documentation):
600062b5 544pod2html - konwerter plików .pod do plików .html
e2bc1831 545pod2latex - konwerter dokumentacji pod do formatu LaTeX
600062b5 546pod2man - konwerter danych POD na wejście sformatowane dla *roffa
e2bc1831 547pod2text - konwerter danych POD na sformatowany tekst ASCII
600062b5 548pod2usage - wypisanie informacji o używaniu programu z dokumentacji
e2bc1831 549 osadzonej w plikach
600062b5 550podchecker - kontrola składni dokumentacji w formacie POD
e2bc1831 551podselect - wypisanie wybranych sekcji z dokumentacji POD
6d45ca4e 552
553%package -n microperl
f2fb55e1 554Summary: A really minimal Perl, even more minimal than miniperl
8e37f0be 555Summary(pl.UTF-8): Naprawdę minimalny Perl, nawet bardziej minimalny niż miniperl
986fd3a7 556Group: Development/Languages/Perl
6d45ca4e 557
558%description -n microperl
f2fb55e1 559microperl is supposed to be able a really minimal Perl, even more
e2bc1831 560minimal than miniperl. No Configure is needed to build microperl, on
cdfacc8a
JB
561the other hand this means that interfaces between Perl and your
562operating system are left very -- minimal.
6d45ca4e 563
e2bc1831 564All this is experimental. If you don't know what to do with microperl
565you probably shouldn't. Do not report bugs in microperl; fix the bugs.
70f47ad4 566
600062b5
JR
567%description -n microperl -l pl.UTF-8
568microperl ma być naprawdę minimalnym Perlem, nawet bardziej minimalnym
cdfacc8a 569od miniperla. Uruchamianie Configure nie jest potrzebne do zbudowania
600062b5 570microperla, z drugiej strony oznacza to, że interfejs między Perlem a
cdfacc8a
JB
571systemem operacyjnym pozostaje bardzo minimalny.
572
600062b5
JR
573Całość jest eksperymentalna. Jeśli nie wiesz co zrobić z microperlem,
574prawdopodobnie nie powinieneś tego robić. Nie zgłaszaj błędów w
cdfacc8a 575microperlu - popraw je.
b9c44ddd 576
f977e516
ER
577%package Encode
578Summary: Encode - character encodings
579Summary(pl.UTF-8): Encode - kodowania znaków
580Version: %perl_modver Encode
581Group: Libraries
582Requires: %{name}-base = %{epoch}:%{ver}-%{release}
6bfa436e 583Obsoletes: perl-Encode-compat
f977e516
ER
584
585%description Encode
586The Encode module provides the interfaces between Perl's strings and
587the rest of the system.
588
589%description Encode -l pl.UTF-8
590Moduł Encode udostępnia interfejs pomiędzy łańcuchami w wewnętrznym
591formacie Perla a resztą systemu.
592
593%package GDBM_File
594Summary: GDBM_File - Perl5 access to the gdbm library
595Summary(pl.UTF-8): GDBM_File - dostęp do biblioteki gdbm w Perlu
596Version: %perl_modver GDBM_File
52441ddf 597Epoch: 2
f977e516 598Group: Libraries
52441ddf 599Requires: %{name}-base = 1:%{ver}-%{release}
f977e516
ER
600
601%description GDBM_File
602GDBM_File is a module which allows Perl programs to make use of the
603facilities provided by the GNU gdbm library.
604
605%description GDBM_File -l pl.UTF-8
606GDBM_File jest modułem, który umożliwia programom w Perlu korzystanie
607z biblioteki GNU gdbm.
608
253f30cb 609# Setting Version in GDBM_File resets the %version macro. This hack works around it.
610%define version %{ver}
611
d0796292 612%prep
d426f924 613%setup -q
86f9edf1 614%patch2 -p1
3d18c4ab 615%patch3 -p1
a081ef92 616%patch4 -p1
04ccf32e 617%patch5 -p1
0e8c105c
AM
618%patch6 -p1
619%patch7 -p1
b003a5ad 620%patch8 -p1
5086fb9c 621
253f30cb 622cat > runperl <<'EOF'
623#!/bin/sh
624LD_PRELOAD="%{_builddir}/%{name}-%{ver}/libperl.so.%{abi}" \
625PERL5LIB="%{buildroot}%{perl_privlib}:%{buildroot}%{perl_archlib}" \
626exec %{buildroot}%{_bindir}/perl ${1:+"$@"}
627EOF
628chmod a+x runperl
be97afc4 629
73319bac
AM
630# perl_585-microperl_uconfig.patch removes some variables
631# that are later verified by porting/checkcfgvar.t
632#
633# Disabling test for now but should also check if
634# perl porting/checkcfgvar.pl --regen --default=undef
635# makes better sense.
636rm t/porting/checkcfgvar.t
637sed -i -e '/^t\/porting\/checkcfgvar\.t.*/d' MANIFEST
638
253f30cb 639%build
6920c517 640unset LD_SYMBOLIC_FUNCTIONS || :
22c0382c 641sh Configure \
c08ea156 642 -des \
6f9cf0dd 643 -Dcc="%{__cc}" \
4fd66609 644 -Darchname=%{_target_platform} \
de084ee8 645 -Dcccdlflags='-fPIC' \
7da49777 646 -Dccdlflags='-rdynamic' \
a081ef92 647 -Dldlibpthname=none \
21f1d3d4 648 -Dldflags="%{rpmldflags}" \
649 -Dlddlflags="-shared %{rpmldflags}" \
0efd67b4 650 -Doptimize="%{rpmcflags}" \
e9c5d365 651 -%{?debug:D}%{!?debug:U}DEBUGGING \
da8aa48b 652 -Duseshrplib \
6d45ca4e 653 -Dman1dir=%{_mandir}/man1 -Dman1ext=1 \
654 -Dman3dir=%{_mandir}/man3 -Dman3ext=3perl \
3b2b7489 655 -Dvendorman1dir=%{_mandir}/man1 -Dvendorman1ext=1p \
656 -Dvendorman3dir=%{_mandir}/man3 -Dvendorman3ext=3pm \
657 -Dsiteman1dir=%{_usr}/local/man/man1 -Dsiteman1ext=1p \
658 -Dsiteman3dir=%{_usr}/local/man/man3 -Dsiteman3ext=3pm \
6d45ca4e 659 -Dprefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dsiteprefix=%{_usr}/local \
1bc6d5ba 660 -Dlibpth="%{_libdir} /%{_lib}" \
e2bc1831 661 -Dprivlib=%{perl_privlib} -Darchlib=%{perl_archlib} \
662 -Dsitelib=%{perl_sitelib} -Dsitearch=%{perl_sitearch} \
6d45ca4e 663 -Dvendorlib=%{perl_vendorlib} -Dvendorarch=%{perl_vendorarch} \
3d18c4ab 664 -Ui_db \
361d5527 665 %{!?with_gdbm: -Ui_dbm -Ui_gdbm -Ui_ndbm} \
e2bc1831 666 %{?with_gdbm: -Ui_dbm -Di_gdbm -Ui_ndbm} \
361d5527
JB
667 -Dlibswanted="dl m c crypt %{?with_gdbm:gdbm}" \
668 -%{?with_threads:D}%{!?with_threads:U}usethreads \
669 -Duselargefiles
6d45ca4e 670
3240f754 671%{__make} \
9faa3120 672 LIBPERL_SONAME=libperl.so.%{abi} \
e1685d1c 673 LDDLFLAGS="%{rpmcflags} -shared"
3d18c4ab 674
675## microperl
c3a42fee 676%if %{with microperl}
9988ff1c 677%{__rm} uconfig.h
3240f754 678%{__make} -f Makefile.micro \
3d18c4ab 679 archlib=%{perl_archlib} \
680 archlibexp=%{perl_archlib} \
681 privlib=%{perl_privlib} \
682 privlibexp=%{perl_privlib} \
683 archname=%{_target_platform}%{perlthread} \
684 osname=%{_host} \
685 bin=%{_bindir} \
686 scriptdir=%{_bindir} \
687 scriptdirexp=%{_bindir} \
fbfc6f96 688 usemallocwrap='define' \
159cf444 689 CC="%{__cc}" \
5b36f5d6 690 OPTIMIZE="%{rpmcflags}"
c3a42fee 691%endif
6d45ca4e 692
c042b094 693%{?with_tests:%{__make} test -j1}
54685691 694#%{?with_tests:%{__make} minitest}
695
d0796292 696%install
b2a9749d 697rm -rf $RPM_BUILD_ROOT
be97afc4 698
b2a9749d
JR
699%{__make} install \
700 DESTDIR=$RPM_BUILD_ROOT
701
702%{?with_microperl:install microperl $RPM_BUILD_ROOT%{_bindir}}
703install -d $RPM_BUILD_ROOT%{_mandir}/{ja,ko,zh_CN,zh_TW}/man1
704
705## use symlinks instead of hardlinks
706%{__ln_s} -f perl%{ver} $RPM_BUILD_ROOT%{_bindir}/perl
707%{__ln_s} -f c2ph $RPM_BUILD_ROOT%{_bindir}/pstruct
708%{__ln_s} -f psed $RPM_BUILD_ROOT%{_bindir}/s2p
709
710## install directory needed by packages dependant on TAP::Harness
711install -d $RPM_BUILD_ROOT%{perl_privlib}/TAP/Harness
06f384d7
JR
712## install directory needed by packages dependant on Encode
713install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Encode
b2a9749d
JR
714
715## Fix lib
716%{__rm} $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so
717mv $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so.%{abi} $RPM_BUILD_ROOT%{_libdir}
718%{__ln_s} ../../../../libperl.so.%{abi} $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so.%{abi}
719%{__ln_s} libperl.so.%{abi} $RPM_BUILD_ROOT%{_libdir}/libperl.so
720# installed as non-executable - let rpm generate deps
721chmod 755 $RPM_BUILD_ROOT%{_libdir}/libperl.so.%{abi}
722
723## Fix Config.pm: remove buildroot path and change man pages extensions
724%{__perl} -pi -e 's,%{buildroot}/*,/,g' $RPM_BUILD_ROOT%{perl_archlib}/Config.pm
725%{__perl} -pi -e "s,^man1ext='1',man1ext='1p'," $RPM_BUILD_ROOT%{perl_archlib}/Config_heavy.pl
726%{__perl} -pi -e "s,^man3ext='3perl',man3ext='3pm'," $RPM_BUILD_ROOT%{perl_archlib}/Config_heavy.pl
727
728## Generate the *.ph files
729owd=$(pwd)
730cd /usr/include
731H2PH=$RPM_BUILD_ROOT%{_bindir}/h2ph
732PHDIR=$RPM_BUILD_ROOT%{perl_archlib}
733WANTED='
734 syscall.h
735 syslog.h
736 termios.h
737 wait.h
738 asm/termios.h
739 sys/ioctl.h
740 sys/socket.h
741 sys/syscall.h
742 sys/time.h
743 linux/posix_types.h
744 linux/stddef.h
745'
746# why it returns non-zero???
747%{__perl} $H2PH -a -d $PHDIR $WANTED || :
748cd "$owd"
749
750## remove man pages for other operating systems
751%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/perl{aix,amiga,bs2000,ce,cygwin,dgux,dos}* \
752 $RPM_BUILD_ROOT%{_mandir}/man1/perl{freebsd,hpux,macos,os2,os390}* \
753 $RPM_BUILD_ROOT%{_mandir}/man1/perl{qnx,solaris,vms,vos,win32}*
754
755## symlink perldelta.1.gz -> perlFOOdelta.1.gz
756[ -e $RPM_BUILD_ROOT%{_mandir}/man1/perl%(echo %{ver} | tr -d .)delta.1 ] || exit 1
757%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/perldelta.1
758echo ".so perl%(echo %{ver} | tr -d .)delta.1" >$RPM_BUILD_ROOT%{_mandir}/man1/perldelta.1
759
760## These File::Spec submodules are for non-Unix systems
761%{__rm} $RPM_BUILD_ROOT%{perl_archlib}/File/Spec/[EMOVW]*.pm
762%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/File::Spec::{Epoc,Mac,OS2,VMS,Win32}.3perl*
763
764## We already have these *.pod files as man pages
765%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/{Encode,Test,Net,Locale{,/Maketext},version}/*.pod
766%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/pod/a2p.pod
767%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/*.pod
768%{__rm} $RPM_BUILD_ROOT%{perl_archlib}/*.pod
769
770install -d doc-base/{Getopt/Long,Switch} \
771 doc-devel/ExtUtils \
772 doc-modules/{Attribute/Handlers,Filter/Simple,I18N/LangTags,Locale/{Codes,Maketext},Memoize,NEXT} \
773 doc-modules/{Net/Ping,Term/ANSIColor,Test/Simple,Text/{Balanced,TabsWrap},Unicode/Collate,unicore}
774
775# needed only for tests
776%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/Unicode/Collate/keys.txt
777# source for *.pl
778%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/unicore/*.txt
779# lib/Unicode/UCD.pm opens them via openunicode():
780cp -p lib/unicore/{Blocks,CaseFolding,SpecialCasing}.txt $RPM_BUILD_ROOT%{perl_privlib}/unicore
781
782# cpan tools, we use rpm instead of cpan for managing packages (some search tool would be nice to have but...)
783%{__rm} $RPM_BUILD_ROOT%{_bindir}/cpan*
784%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/cpan*
785# others
786%{__rm} $RPM_BUILD_ROOT%{_bindir}/config_data
787%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/config_data*
788
789owd=$(pwd)
790
791## non-english man pages
792%{__bzip2} -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
793
794mv -f $RPM_BUILD_ROOT%{_mandir}/man1/perlcn.* $RPM_BUILD_ROOT%{_mandir}/zh_CN/man1
795mv -f $RPM_BUILD_ROOT%{_mandir}/man1/perljp.* $RPM_BUILD_ROOT%{_mandir}/ja/man1
796mv -f $RPM_BUILD_ROOT%{_mandir}/man1/perlko.* $RPM_BUILD_ROOT%{_mandir}/ko/man1
797mv -f $RPM_BUILD_ROOT%{_mandir}/man1/perltw.* $RPM_BUILD_ROOT%{_mandir}/zh_TW/man1
798
799# `perl -MExtUtils::Embed -e ldopts` includes -Wl,--as-needed
800# which is then forced upon anyone embedding perl.
801sed -i -e 's#^\(ld.*=.*\)-Wl,--as-needed\(.*\)#\1 \2#g' $RPM_BUILD_ROOT%{perl_archlib}/Config*.pl
802
803%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.perl-non-english-man-pages
be97afc4
ER
804
805# update and check perl-modules file
f977e516 806echo '# Module versions from Perl %{ver} distribution.' > perl-modules
be97afc4
ER
807for m in $(awk '!/^#/ && !/^$/{print $1}' %{SOURCE3}); do
808 case $m in
809 Devel::DProf)
810# + perl -ilib -MDevel::DProf -e print 'Devel-DProf = ',$Devel::DProf::VERSION
811# DProf: run perl with -d to use DProf.
812# Compilation failed in require.
813# BEGIN failed--compilation aborted.
814 v=$(%{__perl} -e 'do "Devel/DProf.pm"; print $Devel::DProf::VERSION')
815 ;;
816 libnet)
253f30cb 817 v=$(awk '/^libnet /{print $2; exit}' cpan/libnet/Changes)
be97afc4
ER
818 ;;
819 *)
7e81db84 820 v=$(%{__perl} -M$m -e "print $m->VERSION" )
be97afc4
ER
821 ;;
822 esac
823 echo "$m = $v" >> perl-modules
824done
825
826egrep -v '^([ ]*$|[;#])' %{SOURCE3} > .mods1
827egrep -v '^([ ]*$|[;#])' perl-modules > .mods2
828if ! cmp -s .mods1 .mods2; then
829 : %{SOURCE3} outdated with $(pwd)/perl-modules
830 exit 1
831fi
832
b2a9749d
JR
833# remove empty .bs files
834find $RPM_BUILD_ROOT -name \*.bs -size 0 -print0 | xargs -0 %{__rm}
835
d0796292 836%clean
2d07ad96 837rm -rf $RPM_BUILD_ROOT
d0796292 838
5dc60bcd
ER
839%post libs -p /sbin/ldconfig
840%postun libs -p /sbin/ldconfig
7da49777 841
d0796292 842%files
c82a4287 843%defattr(644,root,root,755)
6d45ca4e 844%doc README AUTHORS
7e81db84 845%attr(755,root,root) %{_bindir}/perlthanks
6d45ca4e 846
5dc60bcd
ER
847%files libs
848%defattr(644,root,root,755)
9faa3120 849%attr(755,root,root) %{_libdir}/libperl.so.%{abi}
5dc60bcd 850
6d45ca4e 851%files base
852%defattr(644,root,root,755)
361d5527 853%doc doc-base/*
f907aec4 854%attr(755,root,root) %{_bindir}/perl
f977e516 855%attr(755,root,root) %{_bindir}/perl%{ver}
a835b19e
JB
856%{_mandir}/man1/perl.1*
857%lang(fi) %{_mandir}/fi/man1/perl.1*
858%lang(pl) %{_mandir}/pl/man1/perl.1*
6d45ca4e 859
01393b52 860%dir %{_datadir}/perl5
6d45ca4e 861%dir %{perl_privlib}
ce56881d 862%dir %{_libdir}/perl5
f977e516 863%dir %{_libdir}/perl5/%{ver}
ce56881d
JB
864%dir %{perl_archlib}
865%dir %{perl_archlib}/CORE
9faa3120 866%attr(755,root,root) %{perl_archlib}/CORE/libperl.so.%{abi}
6d45ca4e 867%dir %{perl_archlib}/auto
868
c196461a 869## pragmas
3d6ffcb1 870%{perl_privlib}/_charnames*
7e81db84 871%{perl_privlib}/autodie*
872%{_mandir}/man3/autodie*
c196461a 873%{perl_privlib}/base.pm
874%{_mandir}/man3/base.*
875%{perl_privlib}/constant.pm
876%{_mandir}/man3/constant.*
877%{perl_privlib}/diagnostics.pm
878%{_mandir}/man3/diagnostics.*
ecc1f4bf 879%{perl_privlib}/feature.pm
880%{_mandir}/man3/feature.*
c196461a 881%{perl_privlib}/fields.pm
882%{_mandir}/man3/fields.*
883%{perl_privlib}/integer.pm
884%{_mandir}/man3/integer.*
7e81db84 885%{perl_privlib}/overload*
886%{_mandir}/man3/overload*
887%{perl_privlib}/parent.pm
888%{_mandir}/man3/parent.*
c196461a 889%{perl_privlib}/sort.pm
890%{_mandir}/man3/sort.*
891%{perl_privlib}/strict.pm
892%{_mandir}/man3/strict.*
893%{perl_privlib}/subs.pm
894%{_mandir}/man3/subs.*
895%{perl_privlib}/vars.pm
896%{_mandir}/man3/vars.*
897%{perl_privlib}/warnings*
898%{_mandir}/man3/warnings*
899
900%{perl_archlib}/lib.pm
901%{_mandir}/man3/lib.*
902
903## arch-_IN_dependent modules
6d45ca4e 904%{perl_privlib}/Auto*
905%{_mandir}/man3/Auto*
906%{perl_privlib}/Carp*
907%{_mandir}/man3/Carp*
c196461a 908%dir %{perl_privlib}/Class
909%{perl_privlib}/Class/Struct*
910%{_mandir}/man3/Class::Struct*
6d45ca4e 911%{perl_privlib}/Exporter*
912%{_mandir}/man3/Exporter*
913%{perl_privlib}/English*
914%{_mandir}/man3/English*
915%{perl_privlib}/Getopt*
916%{_mandir}/man3/Getopt*
3d6ffcb1
JR
917%{perl_privlib}/HTTP*
918%{_mandir}/man3/HTTP*
6c44be7b 919# FIXME: README and Changes files
6d45ca4e 920%{perl_privlib}/IPC
921%{_mandir}/man3/IPC::Open*
3641062d 922%{_mandir}/man3/IPC::Cmd*
c196461a 923%{perl_privlib}/SelectSaver.pm
924%{_mandir}/man3/SelectSaver.*
925%{perl_privlib}/Symbol.pm
926%{_mandir}/man3/Symbol.*
927%{perl_privlib}/Tie
928%{_mandir}/man3/Tie::*
8d09dfc6
JR
929%{perl_privlib}/UNIVERSAL.*
930%{_mandir}/man3/UNIVERSAL.*
253f30cb 931%{perl_privlib}/XSLoader*
932%{_mandir}/man3/XSLoader*
6d45ca4e 933
c196461a 934## arch-dependent modules
6d45ca4e 935%{perl_archlib}/Config*
a649919c 936%{_mandir}/man3/Config.*
6d45ca4e 937%{perl_archlib}/DynaLoader*
6d45ca4e 938%{_mandir}/man3/DynaLoader*
939%{perl_archlib}/Errno*
940%{_mandir}/man3/Errno*
6d45ca4e 941
942%{perl_archlib}/Cwd.*
943%dir %{perl_archlib}/auto/Cwd
944%attr(755,root,root) %{perl_archlib}/auto/Cwd/*.so
033f5715 945#%{perl_archlib}/auto/Cwd/*.bs
6d45ca4e 946%{_mandir}/man3/Cwd.*
947
948%{perl_archlib}/Fcntl.*
949%dir %{perl_archlib}/auto/Fcntl
950%attr(755,root,root) %{perl_archlib}/auto/Fcntl/*.so
033f5715 951#%{perl_archlib}/auto/Fcntl/*.bs
6d45ca4e 952%{_mandir}/man3/Fcntl.*
953
954%{perl_privlib}/File*
955%{perl_archlib}/File
956%dir %{perl_archlib}/auto/File
957%dir %{perl_archlib}/auto/File/*/
958%attr(755,root,root) %{perl_archlib}/auto/File/*/*.so
033f5715 959#%{perl_archlib}/auto/File/*/*.bs
6d45ca4e 960%{_mandir}/man3/File*
961
c196461a 962%{perl_privlib}/IO
963%{perl_archlib}/IO*
964%dir %{perl_archlib}/auto/IO
965%attr(755,root,root) %{perl_archlib}/auto/IO/*.so
c196461a 966%{_mandir}/man3/IO*
967
6d45ca4e 968%{perl_archlib}/Opcode.*
969%dir %{perl_archlib}/auto/Opcode
970%attr(755,root,root) %{perl_archlib}/auto/Opcode/*.so
6d45ca4e 971%{_mandir}/man3/Opcode.*
972
b2a9749d
JR
973%dir %{perl_privlib}/Perl
974%{perl_privlib}/Perl/OSType.pm
975%{_mandir}/man3/Perl::OSType*
976
a649919c 977%{perl_privlib}/PerlIO*
6d45ca4e 978%{perl_archlib}/PerlIO
979%dir %{perl_archlib}/auto/PerlIO
980%dir %{perl_archlib}/auto/PerlIO/*/
981%attr(755,root,root) %{perl_archlib}/auto/PerlIO/*/*.so
a649919c 982%{_mandir}/man3/PerlIO*
6d45ca4e 983
984%{perl_archlib}/POSIX*
985%dir %{perl_archlib}/auto/POSIX
986%attr(755,root,root) %{perl_archlib}/auto/POSIX/*.so
81febea5
AM
987#%{perl_archlib}/auto/POSIX/*.al
988#%{perl_archlib}/auto/POSIX/*.ix
989#%{perl_archlib}/auto/POSIX/SigAction
990#%{perl_archlib}/auto/POSIX/SigRt
6d45ca4e 991%{_mandir}/man3/POSIX.*
992
c196461a 993%{perl_archlib}/Socket.*
994%dir %{perl_archlib}/auto/Socket
995%attr(755,root,root) %{perl_archlib}/auto/Socket/*.so
c196461a 996%{_mandir}/man3/Socket.*
997
3d6ffcb1
JR
998%dir %{perl_archlib}/Tie
999%dir %{perl_archlib}/Tie/Hash
1000%{perl_archlib}/Tie/Hash/NamedCapture.pm
1001%dir %{perl_archlib}/auto/Tie
1002%dir %{perl_archlib}/auto/Tie/Hash
1003%dir %{perl_archlib}/auto/Tie/Hash/NamedCapture
1004%attr(755,root,root) %{perl_archlib}/auto/Tie/Hash/NamedCapture/*.so
1005
1006%{perl_archlib}/arybase.pm
1007%dir %{perl_archlib}/auto/arybase
1008%attr(755,root,root) %{perl_archlib}/auto/arybase/*.so
1009%{_mandir}/man3/arybase.*
1010
f977e516
ER
1011%files Encode
1012%defattr(644,root,root,755)
1013%attr(755,root,root) %{_bindir}/enc2xs
1014%attr(755,root,root) %{_bindir}/piconv
06f384d7
JR
1015# for dependant packages (ex. perl-Encode-Locale)
1016%{perl_vendorlib}/Encode
f977e516
ER
1017# FIXME: *.h to devel(?), check out the use for *.e2x files
1018%{perl_privlib}/Encode
1019%{perl_archlib}/Encode*
1020%{perl_archlib}/encoding.pm
1021%dir %{perl_archlib}/auto/Encode
1022%dir %{perl_archlib}/auto/Encode/*/
1023%attr(755,root,root) %{perl_archlib}/auto/Encode/*/*.so
1024%{_mandir}/man1/enc2xs.*
1025%{_mandir}/man1/piconv.*
1026%{_mandir}/man3/Encode*
1027%{_mandir}/man3/encoding.*
9f7b646d 1028
361d5527 1029%if %{with gdbm}
3d18c4ab 1030%files GDBM_File
1031%defattr(644,root,root,755)
1032%{perl_archlib}/GDBM_File.*
1033%dir %{perl_archlib}/auto/GDBM_File
1034%attr(755,root,root) %{perl_archlib}/auto/GDBM_File/*.so
3d18c4ab 1035%{_mandir}/man3/GDBM_File.*
1036%endif
1037
d84674b2 1038%files devel
1039%defattr(644,root,root,755)
361d5527 1040%doc doc-devel/*
78261efe 1041%attr(755,root,root) %{_libdir}/libperl.so
1042%{perl_archlib}/CORE/*.h
ecc1f4bf 1043%{_mandir}/man3/CORE*
6d45ca4e 1044
253f30cb 1045%{perl_privlib}/App/Cpan.pm
1046%{_mandir}/man3/App::Cpan*
6d45ca4e 1047# FIXME: Changes file to _docdir (and rm MANIFEST.SKIP?)
1048%{perl_privlib}/ExtUtils
1049%{_mandir}/man3/ExtUtils*
3641062d
AM
1050%{perl_privlib}/vmsish.pm
1051%{_mandir}/man3/vmsish.*
6d45ca4e 1052%{perl_privlib}/CPAN*
1053%{_mandir}/man3/CPAN*
1054%{perl_privlib}/DB.*
1055%{_mandir}/man3/DB.*
253f30cb 1056
1057%{perl_privlib}/inc
1058%{_mandir}/man3/inc::latest*
a649919c 1059%{perl_privlib}/Module/Build*
1060%{_mandir}/man3/Module::Build*
1061
6d45ca4e 1062%{perl_archlib}/O.*
1063%{_mandir}/man3/O.*
1064
6d45ca4e 1065%{perl_privlib}/Devel
1066%{perl_archlib}/Devel
1067%dir %{perl_archlib}/auto/Devel
1068%dir %{perl_archlib}/auto/Devel/*/
1069%attr(755,root,root) %{perl_archlib}/auto/Devel/*/*.so
033f5715 1070#%{perl_archlib}/auto/Devel/*/*.bs
6d45ca4e 1071%{_mandir}/man3/Devel::*
1072
033f5715
AM
1073#%{perl_archlib}/XS
1074#%dir %{perl_archlib}/auto/XS
1075#%dir %{perl_archlib}/auto/XS/*/
1076#%attr(755,root,root) %{perl_archlib}/auto/XS/*/*.so
1077#%{perl_archlib}/auto/XS/*/*.bs
1078#%{_mandir}/man3/XS::*
6d45ca4e 1079
6d45ca4e 1080%files doc-pod
1081%defattr(644,root,root,755)
1082%{perl_privlib}/pod/perl.pod
1083%{perl_privlib}/pod/perl[5abceghijklmnopqrstuvwx]*.pod
d00bf1e2 1084%{perl_privlib}/pod/perld[!i]*.pod
1085%{perl_privlib}/pod/perlf[!au]*.pod
6d45ca4e 1086
6d45ca4e 1087%files doc-reference
1088%defattr(644,root,root,755)
d00bf1e2 1089%{_mandir}/man1/perl[5aefghlmnoprstuvwx]*
6d45ca4e 1090%{_mandir}/man1/perlbo*
1091%{_mandir}/man1/perlcall.*
d5dcea79 1092%{_mandir}/man1/perlcheat.*
6d45ca4e 1093%{_mandir}/man1/perlclib.*
3641062d 1094%{_mandir}/man1/perlcommunity.*
81febea5 1095#%{_mandir}/man1/perlcompile.*
d00bf1e2 1096%{_mandir}/man1/perld[!o]*
1097%{_mandir}/man1/perli[!v]*
d5dcea79 1098
a835b19e
JB
1099%lang(fi) %{_mandir}/fi/man1/perlbook.1*
1100%lang(pl) %{_mandir}/pl/man1/perldata.1*
1101%lang(pl) %{_mandir}/pl/man1/perl[fors]*.1*
fe42833b 1102%lang(zh_CN) %{_mandir}/zh_CN/man1/perlcn.*
1103%lang(ja) %{_mandir}/ja/man1/perljp.*
1104%lang(ko) %{_mandir}/ko/man1/perlko.*
969db6b6 1105%lang(zh_TW) %{_mandir}/zh_TW/man1/perltw.*
6d45ca4e 1106
1107%files modules
1108%defattr(644,root,root,755)
361d5527 1109%doc doc-modules/*
3d18c4ab 1110
6d45ca4e 1111%{perl_privlib}/unicore
1112
c196461a 1113## pragmas
c196461a 1114%{perl_privlib}/autouse.pm
1115%{_mandir}/man3/autouse.*
1116%{perl_privlib}/big*.pm
1117%{_mandir}/man3/big*
1118%{perl_privlib}/blib.pm
1119%{_mandir}/man3/blib.*
1120%{perl_privlib}/bytes.pm
1121%{_mandir}/man3/bytes.*
1122%{perl_privlib}/charnames.pm
1123%{_mandir}/man3/charnames.*
253f30cb 1124%{perl_privlib}/deprecate*.pm
1125%{_mandir}/man3/deprecate*
a649919c 1126%{perl_privlib}/encoding
1127%{_mandir}/man3/encoding::*
c196461a 1128%{perl_privlib}/filetest.pm
1129%{_mandir}/man3/filetest.*
1130%{perl_privlib}/if.pm
1131%{_mandir}/man3/if.*
1132%{perl_privlib}/less.pm
1133%{_mandir}/man3/less.*
1134%{perl_privlib}/locale.pm
1135%{_mandir}/man3/locale.*
1136%{perl_privlib}/open.pm
1137%{_mandir}/man3/open.*
1138%{perl_privlib}/sigtrap.pm
1139%{_mandir}/man3/sigtrap.*
1140%{perl_privlib}/utf8.pm
1141%{_mandir}/man3/utf8.*
ecc1f4bf 1142%{perl_privlib}/version.pm
7e81db84 1143%{_mandir}/man3/version*
c196461a 1144
253f30cb 1145%{perl_archlib}/attributes.pm
1146%dir %{perl_archlib}/auto/attributes
1147%attr(755,root,root) %{perl_archlib}/auto/attributes/*.so
1148%{_mandir}/man3/attributes.*
7e81db84 1149%{perl_archlib}/mro.pm
7472b4d0 1150%dir %{perl_archlib}/auto/mro
7e81db84 1151%attr(755,root,root) %{perl_archlib}/auto/mro/*.so
1152%{_mandir}/man3/mro.*
c196461a 1153%{perl_archlib}/re.pm
1154%dir %{perl_archlib}/auto/re
c196461a 1155%attr(755,root,root) %{perl_archlib}/auto/re/*.so
1156%{_mandir}/man3/re.*
c196461a 1157%{perl_archlib}/ops.pm
1158%{_mandir}/man3/ops.*
1159
361d5527 1160%if %{with threads}
78261efe 1161%{perl_archlib}/threads*
1162%dir %{perl_archlib}/auto/threads
1163%dir %{perl_archlib}/auto/threads/shared
78261efe 1164%attr(755,root,root) %{perl_archlib}/auto/threads/*.so
1165%attr(755,root,root) %{perl_archlib}/auto/threads/shared/*.so
1166%{_mandir}/man3/t*
1167%endif
1168
c196461a 1169## old *.pl files
1170%{perl_privlib}/*.pl
1171
3d18c4ab 1172## *.ph files (could be made a separate package, but an autohelper's support is needed)
6d45ca4e 1173%{perl_archlib}/*.ph
1174%{perl_archlib}/asm
a510aed4
JB
1175%ifnarch alpha ppc ppc64 sparc sparcv9 sparc64
1176# on archs which <asm/ioctl.h> uses <asm-generic/ioctl.h>
86f9edf1 1177%{perl_archlib}/asm-generic
1d7037ad 1178%endif
6d45ca4e 1179%{perl_archlib}/bits
1180%{perl_archlib}/gnu
1181%{perl_archlib}/linux
1182%{perl_archlib}/sys
1183
54eeeecd 1184%{perl_privlib}/B
1185%{perl_archlib}/B
1186%{perl_archlib}/B.pm
1187%dir %{perl_archlib}/auto/B
1188%attr(755,root,root) %{perl_archlib}/auto/B/*.so
1189%{_mandir}/man3/B[.:]*
1190
253f30cb 1191%{perl_privlib}/Compress
a649919c 1192%{perl_archlib}/Compress
1193%dir %{perl_archlib}/auto/Compress
1194%dir %{perl_archlib}/auto/Compress/Raw
7e81db84 1195%dir %{perl_archlib}/auto/Compress/Raw/*/
1196%attr(755,root,root) %{perl_archlib}/auto/Compress/Raw/*/*.so
1197%{perl_archlib}/auto/Compress/Raw/*/*.ix
a649919c 1198%{_mandir}/man3/Compress*
1199
6d45ca4e 1200%{perl_archlib}/Data
1201%dir %{perl_archlib}/auto/Data
1202%dir %{perl_archlib}/auto/Data/Dumper
1203%attr(755,root,root) %{perl_archlib}/auto/Data/Dumper/*.so
6d45ca4e 1204%{_mandir}/man3/Data*
1205
ecc1f4bf 1206%{perl_privlib}/Digest*
6d45ca4e 1207%{perl_archlib}/Digest
1208%dir %{perl_archlib}/auto/Digest
ecc1f4bf 1209%dir %{perl_archlib}/auto/Digest/*/
1210%attr(755,root,root) %{perl_archlib}/auto/Digest/*/*.so
6d45ca4e 1211%{_mandir}/man3/Digest*
1212
fbfc6f96 1213# FIXME: Changes file
1214%{perl_privlib}/DBM_Filter*
1215%{_mandir}/man3/DBM_Filter*
1216
6d45ca4e 1217# FIXME: README and Changes files
1218%{perl_privlib}/Filter
1219%{perl_archlib}/Filter
1220%dir %{perl_archlib}/auto/Filter
1221%dir %{perl_archlib}/auto/Filter/Util
1222%dir %{perl_archlib}/auto/Filter/Util/Call
1223%attr(755,root,root) %{perl_archlib}/auto/Filter/Util/Call/*.so
6d45ca4e 1224%{_mandir}/man3/Filter*
1225
ecc1f4bf 1226%{perl_archlib}/Hash
1227%dir %{perl_archlib}/auto/Hash
1228%dir %{perl_archlib}/auto/Hash/*/
85b8aa4b 1229%dir %{perl_archlib}/auto/Hash/*/FieldHash
ecc1f4bf 1230%attr(755,root,root) %{perl_archlib}/auto/Hash/*/*.so
1231%attr(755,root,root) %{perl_archlib}/auto/Hash/*/*/*.so
1232%{_mandir}/man3/Hash::*
1233
6d45ca4e 1234%{perl_privlib}/I18N
1235%{perl_archlib}/I18N
1236%dir %{perl_archlib}/auto/I18N
1237%dir %{perl_archlib}/auto/I18N/*/
1238%attr(755,root,root) %{perl_archlib}/auto/I18N/*/*.so
6d45ca4e 1239%{_mandir}/man3/I18N::*
1240
6d45ca4e 1241%{perl_archlib}/IPC
1242%dir %{perl_archlib}/auto/IPC
1243%dir %{perl_archlib}/auto/IPC/*/
1244%attr(755,root,root) %{perl_archlib}/auto/IPC/*/*.so
6d45ca4e 1245%{_mandir}/man3/IPC::[MS]*
1246
3d18c4ab 1247%{perl_archlib}/List
6d45ca4e 1248%dir %{perl_archlib}/auto/List
1249%dir %{perl_archlib}/auto/List/*/
1250%attr(755,root,root) %{perl_archlib}/auto/List/*/*.so
6d45ca4e 1251%{_mandir}/man3/List::*
1252
ecc1f4bf 1253%{perl_privlib}/Math
1254%{perl_archlib}/Math
1255%dir %{perl_archlib}/auto/Math
1256%dir %{perl_archlib}/auto/Math/*/
1257%dir %{perl_archlib}/auto/Math/*/*/
1258%attr(755,root,root) %{perl_archlib}/auto/Math/*/*/*.so
1259%{_mandir}/man3/Math::*
1260
6d45ca4e 1261%{perl_archlib}/MIME
1262%dir %{perl_archlib}/auto/MIME
1263%dir %{perl_archlib}/auto/MIME/Base64
1264%attr(755,root,root) %{perl_archlib}/auto/MIME/Base64/*.so
6d45ca4e 1265%{_mandir}/man3/MIME::*
1266
1267%{perl_archlib}/SDBM_File.*
1268%dir %{perl_archlib}/auto/SDBM_File
1269%attr(755,root,root) %{perl_archlib}/auto/SDBM_File/*.so
6d45ca4e 1270%{_mandir}/man3/SDBM_File.*
1271
6d45ca4e 1272%{perl_archlib}/Storable.*
1273%dir %{perl_archlib}/auto/Storable
1274%attr(755,root,root) %{perl_archlib}/auto/Storable/*.so
6d45ca4e 1275%{_mandir}/man3/Storable.*
1276
1277%{perl_archlib}/Sys
1278%dir %{perl_archlib}/auto/Sys
1279%dir %{perl_archlib}/auto/Sys/*/
1280%attr(755,root,root) %{perl_archlib}/auto/Sys/*/*.so
6d45ca4e 1281%{_mandir}/man3/Sys::*
1282
a649919c 1283%{perl_archlib}/Text
1284%dir %{perl_archlib}/auto/Text
1285%dir %{perl_archlib}/auto/Text/Soundex
1286%attr(755,root,root) %{perl_archlib}/auto/Text/Soundex/*.so
1287#%{_mandir}/man3/Text::Soundex* # listed later
1288
ecc1f4bf 1289%{perl_privlib}/Time
6d45ca4e 1290%{perl_archlib}/Time
1291%dir %{perl_archlib}/auto/Time
ecc1f4bf 1292%dir %{perl_archlib}/auto/Time/*/
1293%attr(755,root,root) %{perl_archlib}/auto/Time/*/*.so
1294%{_mandir}/man3/Time::*
6d45ca4e 1295
361d5527
JB
1296%dir %{perl_privlib}/Unicode
1297%{perl_privlib}/Unicode/*.pm
3641062d 1298%{perl_privlib}/Unicode/Collate
6d45ca4e 1299%{perl_archlib}/Unicode
1300%dir %{perl_archlib}/auto/Unicode
361d5527 1301%dir %{perl_archlib}/auto/Unicode/*
6d45ca4e 1302%attr(755,root,root) %{perl_archlib}/auto/Unicode/*/*.so
6d45ca4e 1303%{_mandir}/man3/Unicode::*
1304
1305%{perl_privlib}/AnyDBM*
1306%{_mandir}/man3/AnyDBM*
253f30cb 1307%dir %{perl_privlib}/App
1308%{perl_privlib}/App/Prove*
7e81db84 1309%{_mandir}/man3/App::Prove*
a649919c 1310%{perl_privlib}/Archive*
1311%{_mandir}/man3/Archive*
6d45ca4e 1312%{perl_privlib}/Attribute
1313%{_mandir}/man3/Attribute*
1314%{perl_privlib}/Benchmark*
1315%{_mandir}/man3/Benchmark*
6d45ca4e 1316%{perl_privlib}/CGI*
1317%{_mandir}/man3/CGI*
a649919c 1318%{perl_privlib}/Config
1319%{_mandir}/man3/Config::*
6d45ca4e 1320%{perl_privlib}/DirHandle*
1321%{_mandir}/man3/DirHandle*
1322%{perl_privlib}/Dumpvalue.*
1323%{_mandir}/man3/Dumpvalue.*
1324%{perl_privlib}/Env.*
1325%{_mandir}/man3/Env.*
1326%{perl_privlib}/Fatal.*
1327%{_mandir}/man3/Fatal.*
1328%{perl_privlib}/FindBin.*
1329%{_mandir}/man3/FindBin.*
b2a9749d
JR
1330%{perl_privlib}/JSON
1331%{_mandir}/man3/JSON*
a649919c 1332%{perl_privlib}/Log
1333%{_mandir}/man3/Log::*
6d45ca4e 1334%{perl_privlib}/Locale
1335%{_mandir}/man3/Locale::*
6d45ca4e 1336%{perl_privlib}/Memoize*
1337%{_mandir}/man3/Memoize*
a649919c 1338%dir %{perl_privlib}/Module
b2a9749d
JR
1339%{perl_privlib}/Module/[CLMP]*
1340%{_mandir}/man3/Module::[CLMP]*
361d5527 1341%{perl_privlib}/NEXT.pm
6d45ca4e 1342%{_mandir}/man3/NEXT*
3d18c4ab 1343# FIXME: README and Changes files
361d5527 1344%dir %{perl_privlib}/Net
361d5527
JB
1345%{perl_privlib}/Net/*.pm
1346%{perl_privlib}/Net/FTP
6d45ca4e 1347%{_mandir}/man3/Net::*
a649919c 1348%{perl_privlib}/Object
1349%{_mandir}/man3/Object::*
1350%{perl_privlib}/Package
1351%{_mandir}/man3/Package::*
1352%{perl_privlib}/Params
1353%{_mandir}/man3/Params::*
7e81db84 1354%{perl_privlib}/Parse
1355%{_mandir}/man3/Parse::CPAN::Meta*
6d45ca4e 1356%{perl_privlib}/Pod
1357%{_mandir}/man3/Pod::*
54eeeecd 1358%{perl_privlib}/Safe*
1359%{_mandir}/man3/Safe*
ecc1f4bf 1360%{perl_archlib}/Scalar
6d45ca4e 1361%{_mandir}/man3/Scalar::*
1362%{perl_privlib}/Search
1363%{_mandir}/man3/Search::*
6d45ca4e 1364%{perl_privlib}/SelfLoader.*
1365%{_mandir}/man3/SelfLoader.*
81febea5
AM
1366#%{perl_privlib}/Shell.*
1367#%{_mandir}/man3/Shell.*
7e81db84 1368%{perl_privlib}/TAP
1369%{_mandir}/man3/TAP::*
6d45ca4e 1370# FIXME: README and Changes files
6d45ca4e 1371%{perl_privlib}/Term
1372%{_mandir}/man3/Term::*
1373# FIXME: README and Changes files
1374%{perl_privlib}/Test*
1375%{_mandir}/man3/Test*
1376%{perl_privlib}/Text
1377%{_mandir}/man3/Text::*
361d5527 1378%if %{with threads}
6d45ca4e 1379%{perl_privlib}/Thread*
1380%{_mandir}/man3/Thread*
f10a6a7a 1381%endif
6d45ca4e 1382# FIXME: README and Changes files
1383%{perl_privlib}/User
1384%{_mandir}/man3/User::*
1385
6d45ca4e 1386%files perldoc
1387%defattr(644,root,root,755)
1388%attr(755,root,root) %{_bindir}/perldoc
3d6ffcb1 1389%{perl_privlib}/perlfaq.pm
f9902769 1390%dir %{perl_privlib}/pod
6d45ca4e 1391%{perl_privlib}/pod/perldiag.pod
1392%{perl_privlib}/pod/perlfaq*.pod
1393%{perl_privlib}/pod/perlfunc.pod
1394%{_mandir}/man1/perldoc.*
1395
6d45ca4e 1396%files tools
d84674b2 1397%defattr(644,root,root,755)
6d45ca4e 1398%attr(755,root,root) %{_bindir}/a2p
1399%{_mandir}/man1/a2p.*
3641062d
AM
1400%attr(755,root,root) %{_bindir}/corelist
1401%{_mandir}/man1/corelist.*
6d45ca4e 1402%attr(755,root,root) %{_bindir}/find2perl
1403%{_mandir}/man1/find2perl.*
fbfc6f96 1404%attr(755,root,root) %{_bindir}/instmodsh
c042b094 1405%{_mandir}/man1/instmodsh.*
b2a9749d
JR
1406%attr(755,root,root) %{_bindir}/json_pp
1407%{_mandir}/man1/json_pp.*
6d45ca4e 1408%attr(755,root,root) %{_bindir}/libnetcfg
1409%{_mandir}/man1/libnetcfg.*
6d45ca4e 1410%attr(755,root,root) %{_bindir}/psed
6d45ca4e 1411%{_mandir}/man1/psed.*
3641062d
AM
1412%attr(755,root,root) %{_bindir}/ptar
1413%{_mandir}/man1/ptar.*
b2a9749d
JR
1414%attr(755,root,root) %{_bindir}/ptargrep
1415%{_mandir}/man1/ptargrep.*
3641062d
AM
1416%attr(755,root,root) %{_bindir}/ptardiff
1417%{_mandir}/man1/ptardiff.*
1418%attr(755,root,root) %{_bindir}/s2p
6d45ca4e 1419%{_mandir}/man1/s2p.*
3641062d
AM
1420%attr(755,root,root) %{_bindir}/shasum
1421%{_mandir}/man1/shasum.*
b2a9749d
JR
1422%attr(755,root,root) %{_bindir}/zipdetails
1423%{_mandir}/man1/zipdetails.1.gz
6d45ca4e 1424
1425%files tools-devel
1426%defattr(644,root,root,755)
1427%attr(755,root,root) %{_bindir}/perlbug
1428%{_mandir}/man1/perlbug.*
1429%attr(755,root,root) %{_bindir}/c2ph
1430%attr(755,root,root) %{_bindir}/pstruct
1431%{_mandir}/man1/c2ph.*
1432%{_mandir}/man1/pstruct.*
81febea5
AM
1433#%attr(755,root,root) %{_bindir}/dprofpp
1434#%{_mandir}/man1/dprofpp.*
6d45ca4e 1435%attr(755,root,root) %{_bindir}/h2ph
1436%{_mandir}/man1/h2ph.*
1437%attr(755,root,root) %{_bindir}/h2xs
1438%{_mandir}/man1/h2xs.*
033f5715
AM
1439#%attr(755,root,root) %{_bindir}/perlcc
1440#%{_mandir}/man1/perlcc.*
6d45ca4e 1441%attr(755,root,root) %{_bindir}/perlivp
1442%{_mandir}/man1/perlivp.*
1443%attr(755,root,root) %{_bindir}/pl2pm
1444%{_mandir}/man1/pl2pm.*
3641062d
AM
1445%attr(755,root,root) %{_bindir}/prove
1446%{_mandir}/man1/prove.*
6d45ca4e 1447%attr(755,root,root) %{_bindir}/splain
1448%{_mandir}/man1/splain.*
80a1a2f4 1449%attr(755,root,root) %{_bindir}/xsubpp
1450%{_mandir}/man1/xsubpp.*
6d45ca4e 1451
1452%files tools-pod
1453%defattr(644,root,root,755)
1454%attr(755,root,root) %{_bindir}/pod*
1455%{_mandir}/man1/pod*
1456
c3a42fee 1457%if %{with microperl}
6d45ca4e 1458%files -n microperl
b9c44ddd 1459%defattr(644,root,root,755)
7e81db84 1460%doc README.micro
6d45ca4e 1461%attr(755,root,root) %{_bindir}/microperl
c3a42fee 1462%endif
This page took 0.597545 seconds and 4 git commands to generate.