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