]> git.pld-linux.org Git - packages/perl.git/blob - perl.spec
- added %%{perl_sitelib}/Image and %%{perl_sitearch}/XML dirs
[packages/perl.git] / perl.spec
1
2 %define         __find_provides %{_builddir}/%{name}-%{version}/find-perl-provides
3 %define         perlthread %{?_with_perl_threads:-thread-multi}
4
5 Summary:        Practical Extraction and Report Language (Perl)
6 Summary(de):    Praktische Extraktions- und Berichtsprache
7 Summary(es):    Lenguaje práctica de extracción y listado
8 Summary(pl):    Interpreter jêzyka Perl (Practical Extraction and Report Language)
9 Summary(pt_BR): Linguagem prática de extração e relatório
10 Summary(ru):    Practical Extraction and Report Language
11 Summary(tr):    Kabuk yorumlama dili
12 Summary(uk):    Practical Extraction and Report Language
13 Name:           perl
14 Version:        5.6.1
15 Release:        36
16 Epoch:          1
17 License:        GPL
18 Group:          Applications/Text
19 Source0:        ftp://ftp.cpan.org/pub/CPAN/src/%{name}-%{version}.tar.gz
20 Source1:        %{name}-non-english-man-pages.tar.bz2
21 Patch0:         %{name}-noroot_install.patch
22 Patch1:         %{name}-nodb.patch
23 Patch2:         %{name}-DESTDIR.patch
24 Patch3:         %{name}-find-provides.patch
25 Patch4:         %{name}-prereq.patch
26 Patch5:         %{name}-syslog.patch
27 Patch6:         %{name}-CGI-upload-tmpdir.patch
28 Patch7:         %{name}-LD_RUN_PATH.patch
29 Patch8:         %{name}-errno_h-parsing.patch
30 Patch9:         %{name}-use-LD_PRELOAD-for-lib%{name}.so.patch
31 Patch10:        %{name}-sitearch.patch
32 Patch11:        %{name}-soname.patch
33 Patch12:        %{name}-db3.patch
34 URL:            http://www.perl.org/
35 BuildRequires:  db3-devel
36 BuildRequires:  gdbm-devel
37 Provides:       perl(DynaLoader)
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Obsoletes:      perl-lib
40 Obsoletes:      perl-mod-skel
41 Obsoletes:      perl-base
42
43 %description
44 Perl is an interpreted language optimized for scanning arbitrary text
45 files, extracting information from those text files, and printing
46 reports based on that information. It's also a good language for many
47 system management tasks. The language is intended to be practical
48 (easy to use, efficient, complete) rather than beautiful (tiny,
49 elegant, minimal).
50
51 %description -l de
52 Perl ist eine Interpreter-Sprache, die zum Durchsuchen beliebiger
53 Text- dateien, Extrahieren von Informationen aus diesen Dateien und
54 Drucken von auf diesen Informationen basierenden Berichten optimiert
55 ist. Die Sprache eignet sich außerdem für viele
56 Systemverwaltungsaufgaben. Sie ist eher praktisch (einfache
57 Anwendung,effizient, vollständig) als schön (winzig, elegant,
58 minimal).
59
60 %description -l es
61 Perl es un lenguaje interpretado, optimizado para manejar archivos
62 texto, extrayendo información de estos archivos y mostrando listados
63 basados en esta información. También es un buen lenguaje para varias
64 tareas de administración de sistema. El lenguaje busca ser más
65 práctico (fácil de usar, eficiente, completo) que bonito (minúsculo,
66 elegante, mínimo).
67
68 %description -l fr
69 Perl est un langage interprété, optimisé pour filtrer des fichiers
70 texte, extraire des informations de ces fichiers, et imprimer des
71 rapports basés sur ces informations. C'est aussi un bon langage pour
72 de nombreuses procédures de gestion système. Ce langage se veut
73 pratique (simple à utiliser, efficace, complet) autant qu'agréable
74 (conscrit, élégant, minimal).
75
76 %description -l pl
77 Perl jest jêzykiem przeznaczonym do skanowania plików tekstowych,
78 wyci±gania z nich informacji i drukowania raportu bazuj±cego na tych
79 informacjach. Jest równie¿ doskona³ym jêzykiem do wielu prac
80 zwi±zanych z nadzorem systemu. Jêzyk ten jest w zamierzeniu bardziej
81 praktyczny (³atwy w u¿yciu, wydajny, kompletny) ni¿ piêkny (skromny,
82 elegancki, minimalny).
83
84 %description -l pt_BR
85 Perl é uma linguagem interpretada, otimizada para tratar arquivos
86 texto, extraindo informação desses arquivos e mostrando relatórios
87 baseados nessa informação. Também é uma boa linguagem para várias
88 tarefas de administração de sistema. A linguagem procura ser mais
89 prática (fácil de usar, eficiente, completa) do que bonita (minúscula,
90 elegante, mínima).
91
92 %description -l ru
93 Perl - ÜÔÏ ÉÎÔÅÒÐÒÅÔÉÒÕÅÍÙÊ ÑÚÙË ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ, ÕÈÏÄÑÝÉÊ ËÏÒÎÑÍÉ ×
94 C, sed, awk É ÑÚÙËÉ ËÏÍÁÎÄÎÙÈ ÏÂÏÌÏÞÅË (shell). Perl ÈÏÒÏÛ ÄÌÑ ÒÁÂÏÔÙ
95 Ó ÐÒÏÃÅÓÓÁÍÉ É ÆÁÊÌÁÍÉ, Á ÏÓÏÂÅÎÎÏ ÈÏÒÏÛ ÄÌÑ ÚÁÄÁÞ ÏÂÒÁÂÏÔËÉ ÔÅËÓÔÏ×.
96 ïÓÏÂÅÎÎÏÓÔÉ Perl - ÐÒÁËÔÉÞÎÏÓÔØ É ÜÆÆÅËÔÉ×ÎÏÓÔØ. èÏÔÑ ÏΠÉ
97 ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÒÅÛÅÎÉÑ ÓÁÍÙÈ ÒÁÚÎÙÈ ÚÁÄÁÞ, ÎÁÉÂÏÌÅÅ ÒÁÓÐÒÏÓÔÒÁÎÅÎÎÙÅ
98 ÐÒÉÍÅÎÅÎÉÑ (É ÔÏ, × ÞÅÍ ÏΠÓÉÌÅÎ) ÜÔÏ, ×ÅÒÏÑÔÎÏ, ÕÔÉÌÉÔÙ ÓÉÓÔÅÍÎÏÇÏ
99 ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ É web-ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÅ. âÏÌØÛÁÑ ÞÁÓÔØ CGI ÓËÒÉÐÔÏ×
100 ÎÁÐÉÓÁÎÁ ÎÁ Perl.
101
102 ðÏÓËÏÌØËÕ ÕÔÉÌÉÔÙ ÎÁ Perl ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÉÓÔÅÍÙ ÉÌÉ ×ÈÏÄÑÝÉÅ ×
103 ÓÏÓÔÁ× ÄÒÕÇÉÈ ÐÁËÅÔÏ× ×ÓÔÒÅÞÁÀÔÓÑ ÏÞÅÎØ ÞÁÓÔÏ, ÌÕÞÛÅ ×ÓÅÇÏ ÕÓÔÁÎÏ×ÉÔØ
104 ÜÔÏÔ ÐÁËÅÔ.
105
106 %description -l tr
107 Perl, metin dosyalarýný taramak, bu metin dosyalarýndan bilgi çýkarmak
108 ve bu bilgiye dayalý raporlar hazýrlamak icin geliþtirilmiþ bir
109 yorumlamalý dildir. Ayrýca pek çok sistem yönetimi görevleri için de
110 yararlý yetenekleri vardýr. Perl, güzel (ufak, zarif, minimum)
111 olmaktan çok, pratik olmaya yönelik (kullanýmý kolay, verimli,
112 eksiksiz) olarak tasarlanmýþtýr.
113
114 %description -l uk
115 Perl - ÃÅ ¦ÎÔÅÒÐÒÅÔÏ×ÁÎÁ ÍÏ×Á ÐÒÏÇÒÁÍÕ×ÁÎÎÑ, ÝÏ ÚÁÐÏÚÉÞÕ¤ ¦Äŧ × C,
116 sed, awk ÔÁ ÍÏ×ÁÈ ËÏÍÁÎÄÎÉÈ ÏÂÏÌÏÎÏË (shell). Perl ÄÏÂÒŠЦÄÈÏÄÉÔØ ÄÌÑ
117 ÒÏÂÏÔÉ Ú ÐÒÏÃÅÓÁÍÉ ÔÁ ÆÁÊÌÁÍÉ, Á ÎÁÊËÒÁÝÅ - ÄÌÑ ÏÂÒÏÂËÉ ÔÅËÓÔ¦×.
118 ïÓÏÂÌÉ×ÏÓÔ¦ Perl - ÐÒÁËÔÉÞΦÓÔØ ÔÁ ÅÆÅËÔÉ×ΦÓÔØ. èÏÞÁ ÓÆÅÒÁ ÊÏÇÏ
119 ×ÉËÏÒÉÓÔÁÎÎÑ ÄÕÖÅ ÛÉÒÏËÁ, ÎÁʦÌØÛ ÐÏÛÉÒÅÎÅ ÊÏÇÏ ÚÁÓÔÏÓÕ×ÁÎÎÑ (ÔÁ
120 ÎÁÊÓÉÌØΦÛÁ ÓÔÏÒÏÎÁ) ÃÅ, ¦ÍÏצÒÎÏ, ÕÔÉ̦ÔÉ ÓÉÓÔÅÍÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ
121 ÔÁ web-ÐÒÏÇÒÁÍÕ×ÁÎÎÑ. â¦ÌØÛÁ ÞÁÓÔÉÎÁ CGI ÓËÒÉÐԦנÎÁÐÉÓÁÎÁ ÎÁ Perl.
122
123 ïÓ˦ÌØËÉ ÕÔÉ̦ÔÉ ÎÁ Perl ÎÅÏÂȦÄΦ ÄÌÑ ÓÉÓÔÅÍÉ ÞÉ Ô¦, Ñ˦ ×ÈÏÄÑÔØ ÄÏ
124 ÓËÌÁÄÕ ¦ÎÛÉÈ ÐÁËÅԦנÚÕÓÔÒ¦ÞÁÀÔØÓÑ ÄÏÓÉÔØ ÞÁÓÔÏ, ×ÁÒÔÏ ÃÅÊ ÐÁËÅÔ
125 ×ÓÔÁÎÏ×ÉÔÉ.
126
127 %package devel
128 Summary:        Perl development files
129 Summary(es):    Development and include files for perl
130 Summary(pl):    Pliki potrzebne przy tworzeniu w³asnych aplikacji w perlu
131 Summary(pt_BR): Arquivos de desenvolvimento e cabeçalhos para o perl
132 Group:          Development/Libraries
133 Requires:       %{name} = %{version}
134 Requires:       %{name}-modules = %{version}
135 Obsoletes:      perl-lib-devel
136
137 %description devel
138 Files for developing applications which embed a Perl interpreter.
139
140 %description devel -l es
141 Development and include files for perl.
142
143 %description devel -l pl
144 Pliki potrzebne przy tworzeniu w³asnych aplikacji w perlu.
145
146 %description devel -l pt_BR
147 Arquivos de desenvolvimento e cabeçalhos para o perl.
148
149 %package -n sperl
150 Summary:        Practical Extraction and Report Language (SUID root binary)
151 Summary(ru):    SUID ×ÅÒÓÉÑ ÑÚÙËÁ Perl
152 Summary(pl):    Practical Extraction and Report Language (binaria SUID root)
153 Summary(uk):    SUID-×ÅÒӦѠÍÏ×É Perl
154 Group:          Applications/Text
155 Requires:       %{name} = %{version}
156 Obsoletes:      perl-suidperl
157
158 %description -n sperl
159 Practical Extraction and Report Language (SUID root binary).
160
161 %description -n sperl -l pl
162 Practical Extraction and Report Language (binaria SUID root).
163
164 %description -n sperl -l ru
165 Perl - ÜÔÏ ÉÎÔÅÒÐÒÅÔÉÒÕÅÍÙÊ ÑÚÙË ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ, ÕÈÏÄÑÝÉÊ ËÏÒÎÑÍÉ ×
166 C, sed, awk É ÑÚÙËÉ ËÏÍÁÎÄÎÙÈ ÏÂÏÌÏÞÅË (shell). Perl ÈÏÒÏÛ ÄÌÑ ÒÁÂÏÔÙ
167 Ó ÐÒÏÃÅÓÓÁÍÉ É ÆÁÊÌÁÍÉ, Á ÏÓÏÂÅÎÎÏ ÈÏÒÏÛ ÄÌÑ ÚÁÄÁÞ ÏÂÒÁÂÏÔËÉ ÔÅËÓÔÏ×.
168 ïÓÏÂÅÎÎÏÓÔÉ Perl - ÐÒÁËÔÉÞÎÏÓÔØ É ÜÆÆÅËÔÉ×ÎÏÓÔØ. èÏÔÑ ÏΠÉ
169 ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÒÅÛÅÎÉÑ ÓÁÍÙÈ ÒÁÚÎÙÈ ÚÁÄÁÞ, ÎÁÉÂÏÌÅÅ ÒÁÓÐÒÏÓÔÒÁÎÅÎÎÙÅ
170 ÐÒÉÍÅÎÅÎÉÑ (É ÔÏ, × ÞÅÍ ÏΠÓÉÌÅÎ) ÜÔÏ, ×ÅÒÏÑÔÎÏ, ÕÔÉÌÉÔÙ ÓÉÓÔÅÍÎÏÇÏ
171 ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ É web-ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÅ. âÏÌØÛÁÑ ÞÁÓÔØ CGI ÓËÒÉÐÔÏ×
172 ÎÁÐÉÓÁÎÁ ÎÁ Perl.
173
174 Suid perl ÉÓÐÌØÚÕÅÔÓÑ ÄÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÄÁÔØ ×ÏÚÍÏÖÎÏÓÔØ ÓÏÚÄÁ×ÁÔØ
175 ÓËÒÉÐÔÙ Ó ÕÔÁÎÏ×ÌÅÎÎÙÍ ÂÉÔÏÍ SUID. èÏÔÑ × ÎÅÇÏ ×ÓÔÒÏÅÎÏ ÄÏÓÔÁÔÏÞÎÏ
176 ÍÎÏÇÏ ÐÒÏ×ÅÒÏË, ÐÒÉÚ×ÁÎÙÈ ÏÂÅÓÐÅÞÉÔØ ÂÅÚÏÐÁÓÎÏÓÔØ ÅÇÏ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
177 suid perl ×ÓÅ ÒÁ×ÎÏ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ÚÎÁÞÉÔÅÌØÎÕÀ ÐÏÔÅÎÃÉÁÌØÎÕÀ
178 ÏÐÁÓÎÏÓÔØ. õÓÔÁÎÏ×ÌÉ×ÁÊÔÅ ÜÔÏÔ ÐÁËÅÔ ÔÏÌØËÏ × ÔÏÍ ÓÌÕÞÁÅ, ËÏÇÄÁ ×Ù
179 Õ×ÅÒÅÎÙ, ÞÔÏ ÏΠ×ÁÍ ÄÅÊÓÔ×ÉÔÅÌØÎÏ ÎÅÏÂÈÏÄÉÍ.
180
181 %package modules
182 Summary:        Practical Extraction and Report Language - modules
183 Summary(es):    Perl's base modules
184 Summary(pl):    Practical Extraction and Report Language - modu³y
185 Summary(pt_BR): Módulos do perl básicos
186 Group:          Applications/Text
187 Prereq:         %{name} = %{version}
188 Provides:       perl-ANSIColor
189 Provides:       perl-Devel-Peek
190 Provides:       perl-DProf
191 Provides:       perl-PodParser
192 Obsoletes:      perl-ANSIColor
193 Obsoletes:      perl-Devel-Peek
194 Obsoletes:      perl-DProf
195 Obsoletes:      perl-PodParser
196
197 %description modules
198 Practical Extraction and Report Language - modules.
199
200 %description modules -l es
201 This package contains standard perl modules needed by some
202 application/scripts.
203
204 %description modules -l pl
205 Practical Extraction and Report Language - modu³y.
206
207 %description modules -l pt_BR
208 Este pacote contém módulos perl básicos necessários por alguns
209 programas/ scripts.
210
211 %package pod
212 Summary:        Perl POD documentation
213 Summary(pl):    Dokumentacja Perla w formacie POD
214 Group:          Applications/Text
215 Prereq:         %{name} = %{version}
216
217 %description pod
218 Practical Extraction and Report Language - POD docs.
219
220 %description pod -l pl
221 Practical Extraction and Report Language - dokumentacja w formacie
222 POD.
223
224 %prep
225 %setup -q
226 %patch0 -p1
227 %patch1 -p1
228 %patch2 -p1
229 %patch3 -p1
230 %patch4 -p1
231 %patch5 -p1
232 %patch6 -p1
233 %patch7 -p1
234 %patch8 -p1
235 %patch9 -p1
236 %patch10 -p1
237 %patch11 -p1
238 %patch12 -p1
239
240 for i in find-* ; do
241         mv -f $i $i.old
242         sed "s|FPPATH|%{_builddir}/%{name}-%{version}|g" < $i.old > $i
243         chmod 755 $i; rm -f $i.old
244 done
245
246 %build
247 # this is gross
248 # i added more ugly stuff here
249 # i know that is ugly way to set that but i dont know how do it better
250 cat > config.over <<EOF
251 installprefix=$RPM_BUILD_ROOT%{_prefix}
252 test -d \$installprefix || mkdir -p \$installprefix
253 test -d \$installprefix/bin || mkdir -p \$installprefix/bin
254 installarchlib=\`echo \$installarchlib | sed "s!\$prefix!\$installprefix!"\`
255 installbin=\`echo \$installbin | sed "s!\$prefix!\$installprefix!"\`
256 installman1dir=\`echo \$installman1dir | sed "s!\$prefix!\$installprefix!"\`
257 installman3dir=\`echo \$installman3dir | sed "s!\$prefix!\$installprefix!"\`
258 installprivlib=\`echo \$installprivlib | sed "s!\$prefix!\$installprefix!"\`
259 installscript=\`echo \$installscript | sed "s!\$prefix!\$installprefix!"\`
260 installsitelib=\`echo \$installsitelib | sed "s!\$prefix!\$installprefix!"\`
261 installsitearch=\`echo \$installsitearch | sed "s!\$prefix!\$installprefix!"\`
262 dynamic_ext=\`echo \$dynamic_ext GDBM_File NDBM_File\`
263 EOF
264
265 USETHREADS=%{!?_with_perl_threads:-U}%{?_with_perl_threads:-D}
266 sh Configure \
267         -des \
268         -Dcc=%{__cc} \
269         -Darchname=%{_target_platform} \
270         -Dcccdlflags='-fPIC' \
271         -Dccdlflags='-rdynamic' \
272         -Dprefix=%{_prefix} \
273         -Dscriptdir=%{_bindir} \
274         -Dsitelib=%{_libdir}/perl5/site_perl \
275         -Dman1dir=%{_mandir}/man1 \
276         -Dman3dir=%{_mandir}/man3 \
277         -Dman3ext=3pm \
278         -Doptimize="%{rpmcflags}" \
279         ${USETHREADS}usethreads \
280         -Uuselargefiles \
281 %ifarch sparc sparc64
282         -Ud_longdbl \
283 %endif
284         -Duseshrplib \
285         -Dd_dosuid \
286         -Ud_setresuid \
287         -Ud_setresgid
288
289 mv -f Makefile Makefile.bak
290 sed -e 's#^CCDLFLAGS = -rdynamic -Wl,-rpath,/usr/lib/perl5/.*#CCDLFLAGS = -rdynamic#' \
291         Makefile.bak > Makefile
292
293 %{__make}
294
295 %install
296 rm -rf $RPM_BUILD_ROOT
297 install -d $RPM_BUILD_ROOT
298
299 %{__make} install
300 install utils/pl2pm $RPM_BUILD_ROOT%{_bindir}/pl2pm
301
302 ## Generate *.ph files with a trick (based on RH).
303
304 %{__make} all -f - <<EOF
305 PKGS    = glibc-devel gdbm-devel gpm-devel libgr-devel libjpeg-devel \
306         libpng-devel libtiff-devel ncurses-devel popt-devel \
307         zlib-devel binutils libelf e2fsprogs-devel pam-devel pwdb-devel \
308         rpm-devel
309 STDH    = \$(filter %{_includedir}/%%, \$(shell rpm -q --queryformat '[%%{FILENAMES}\n]' \$(PKGS)))
310 STDH    += \$(wildcard %{_includedir}/linux/*.h) \$(wildcard %{_includedir}/asm/*.h) \$(wildcard %{_includedir}/scsi/*.h)
311 GCCDIR  = \$(shell gcc --print-file-name include)
312 GCCH    = \$(filter \$(GCCDIR)/%%, \$(shell rpm -q --queryformat '[%%{FILENAMES}\n]' gcc))
313
314 LIBPATH = %{_builddir}/%{name}-%{version}
315 PERLLIB = $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}
316 PERLBIN = $RPM_BUILD_ROOT%{_bindir}/perl
317 PERL    = LD_LIBRARY_PATH=\$(LIBPATH) PERL5LIB=\$(PERLLIB) \$(PERLBIN)
318 PHDIR   = \$(PERLLIB)/%{_target_platform}%{perlthread}
319 PHBIN   = $RPM_BUILD_ROOT%{_bindir}/h2ph
320 H2PH    = \$(PERL) \$(PHBIN) -d \$(PHDIR)/
321
322 all: std-headers gcc-headers
323
324 std-headers: \$(STDH)
325         cd %{_includedir} && \$(H2PH) \$(STDH:%{_includedir}/%%=%%)
326
327 gcc-headers: \$(GCCH)
328         cd \$(GCCDIR) && \$(H2PH) \$(GCCH:\$(GCCDIR)/%%=%%)
329
330 EOF
331
332 ## Fix paths
333 (
334 cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{_target_platform}%{perlthread}
335 sed -e "s|$RPM_BUILD_ROOT||g" < Config.pm > Config.pm.new
336 mv -f Config.pm.new Config.pm
337 sed -e "s|$RPM_BUILD_ROOT||g" < .packlist > .packlist.new
338 mv -f .packlist.new .packlist
339 )
340
341 ## Fix lib
342 rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/*/CORE/libperl.so*
343 install libperl.so.%{version} $RPM_BUILD_ROOT%{_libdir}
344 ln -sf libperl.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libperl.so
345
346 ## Fix installed man pages list
347 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/perl{5004delta,5005delta,aix,amiga,bs2000}* \
348         $RPM_BUILD_ROOT%{_mandir}/man1/perl{cygwin,dos,hpux,machten,macos}* \
349         $RPM_BUILD_ROOT%{_mandir}/man1/perl{mpeix,os2,os390,solaris,vmesa,vms,vos,win32}*
350
351 # dir tree for other perl modules
352 (cd $RPM_BUILD_ROOT%{_libdir}/perl5/site_perl
353 install -d B Class Crypt Date Devel ExtUtils File Font HTML HTTP I18N \
354         IO/Socket Image Mail News Net Parse RPC Text Tie Time XML auto/Mail
355 cd %{_target_platform}*/%{version}
356 install -d Apache BSD Compress Digest Net Term XML \
357         auto/{Apache,BSD,Compress,Digest,Net,Term,XML}
358 )
359
360 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
361
362 %clean
363 rm -rf $RPM_BUILD_ROOT
364
365 %post   -p /sbin/ldconfig
366 %postun -p /sbin/ldconfig
367
368 %files
369 %defattr(644,root,root,755)
370 %attr(755,root,root) %{_bindir}/a2p
371 %attr(755,root,root) %{_bindir}/find2perl
372 %attr(755,root,root) %{_bindir}/perl
373 %attr(755,root,root) %{_bindir}/perl%{version}
374 %attr(755,root,root) %{_bindir}/s2p
375 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
376
377 %dir %{_libdir}/perl5
378 %dir %{_libdir}/perl5/%{version}
379
380 %dir %{_libdir}/perl5/site_perl
381 %{_libdir}/perl5/site_perl/Class
382 %{_libdir}/perl5/site_perl/Crypt
383 %{_libdir}/perl5/site_perl/Date
384 %{_libdir}/perl5/site_perl/Devel
385 %{_libdir}/perl5/site_perl/ExtUtils
386 %{_libdir}/perl5/site_perl/File
387 %{_libdir}/perl5/site_perl/Font
388 %{_libdir}/perl5/site_perl/HTML
389 %{_libdir}/perl5/site_perl/HTTP
390 %{_libdir}/perl5/site_perl/I18N
391 %{_libdir}/perl5/site_perl/IO
392 %{_libdir}/perl5/site_perl/Image
393 %{_libdir}/perl5/site_perl/Mail
394 %{_libdir}/perl5/site_perl/News
395 %{_libdir}/perl5/site_perl/Net
396 %{_libdir}/perl5/site_perl/Parse
397 %{_libdir}/perl5/site_perl/RPC
398 %{_libdir}/perl5/site_perl/Text
399 %{_libdir}/perl5/site_perl/Tie
400 %{_libdir}/perl5/site_perl/Time
401 %{_libdir}/perl5/site_perl/XML
402 %{_libdir}/perl5/site_perl/auto
403 %dir %{_libdir}/perl5/site_perl/%{_target_platform}*
404 %dir %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}
405 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/BSD
406 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/Compress
407 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/Digest
408 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/Net
409 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/Term
410 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/XML
411 %dir %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto
412 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto/BSD
413 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto/Compress
414 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto/Digest
415 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto/Term
416 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto/XML
417
418 %{_libdir}/perl5/%{version}/AutoLoader.pm
419 %{_libdir}/perl5/%{version}/Carp
420 %{_libdir}/perl5/%{version}/Carp.pm
421 %{_libdir}/perl5/%{version}/Cwd.pm
422 %{_libdir}/perl5/%{version}/DirHandle.pm
423 %{_libdir}/perl5/%{version}/Exporter
424 %{_libdir}/perl5/%{version}/Exporter.pm
425 %dir %{_libdir}/perl5/%{version}/File
426 %{_libdir}/perl5/%{version}/File/Basename.pm
427 %{_libdir}/perl5/%{version}/File/Find.pm
428 %{_libdir}/perl5/%{version}/File/Path.pm
429 %{_libdir}/perl5/%{version}/File/Spec.pm
430 %{_libdir}/perl5/%{version}/File/stat.pm
431 %dir %{_libdir}/perl5/%{version}/File/Spec
432 %{_libdir}/perl5/%{version}/File/Spec/Unix.pm
433 %{_libdir}/perl5/%{version}/FileHandle.pm
434 %dir %{_libdir}/perl5/%{version}/IO
435 %dir %{_libdir}/perl5/%{version}/IO/Socket
436 %{_libdir}/perl5/%{version}/IO/Socket/INET.pm
437 %{_libdir}/perl5/%{version}/IO/Socket/UNIX.pm
438 %dir %{_libdir}/perl5/%{version}/IPC
439 %{_libdir}/perl5/%{version}/IPC/Open2.pm
440 %{_libdir}/perl5/%{version}/IPC/Open3.pm
441 %{_libdir}/perl5/%{version}/SelectSaver.pm
442 %{_libdir}/perl5/%{version}/Symbol.pm
443 %dir %{_libdir}/perl5/%{version}/Text
444 %{_libdir}/perl5/%{version}/Text/Tabs.pm
445 %{_libdir}/perl5/%{version}/Text/Wrap.pm
446 %dir %{_libdir}/perl5/%{version}/Time
447 %{_libdir}/perl5/%{version}/Time/Local.pm
448 %{_libdir}/perl5/%{version}/attributes.pm
449 %{_libdir}/perl5/%{version}/autouse.pm
450 %{_libdir}/perl5/%{version}/base.pm
451 %{_libdir}/perl5/%{version}/constant.pm
452 %{_libdir}/perl5/%{version}/fields.pm
453 %{_libdir}/perl5/%{version}/integer.pm
454 %{_libdir}/perl5/%{version}/lib.pm
455 %{_libdir}/perl5/%{version}/locale.pm
456 %{_libdir}/perl5/%{version}/overload.pm
457 %{_libdir}/perl5/%{version}/strict.pm
458 %{_libdir}/perl5/%{version}/vars.pm
459 %{_libdir}/perl5/%{version}/warnings.pm
460 %dir %{_libdir}/perl5/%{version}/warnings
461 %{_libdir}/perl5/%{version}/warnings/register.pm
462 %dir %{_libdir}/perl5/%{version}/pod
463 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*
464 %{_libdir}/perl5/%{version}/%{_target_platform}*/Config.pm
465 %{_libdir}/perl5/%{version}/%{_target_platform}*/DynaLoader.pm
466 %{_libdir}/perl5/%{version}/%{_target_platform}*/Errno.pm
467 %{_libdir}/perl5/%{version}/%{_target_platform}*/Fcntl.pm
468 %{_libdir}/perl5/%{version}/%{_target_platform}*/IO.pm
469 %{_libdir}/perl5/%{version}/%{_target_platform}*/IO
470 %{_libdir}/perl5/%{version}/%{_target_platform}*/POSIX.pm
471 %{_libdir}/perl5/%{version}/%{_target_platform}*/Socket.pm
472 %{_libdir}/perl5/%{version}/%{_target_platform}*/XSLoader.pm
473 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto
474 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader
475 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader/dl_findfile.al
476 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Fcntl
477 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Fcntl/Fcntl.bs
478 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Fcntl/Fcntl.so
479 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IO
480 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IO/IO.bs
481 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IO/IO.so
482 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX
483 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/POSIX.bs
484 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/POSIX.so
485 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/tmpfile.al
486 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Socket
487 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Socket/Socket.bs
488 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Socket/Socket.so
489
490 %{_mandir}/man1/a2p.1*
491 %{_mandir}/man1/dprofpp.1*
492 %{_mandir}/man1/find2perl.1*
493 %{_mandir}/man1/perl.1*
494 %{_mandir}/man1/s2p.1*
495 %{_mandir}/man1/xsubpp.1*
496 %lang(fi) %{_mandir}/fi/man1/perl.1*
497 %lang(pl) %{_mandir}/pl/man1/perl.1*
498
499
500 %files devel
501 %defattr(644,root,root,755)
502 %doc README Changes
503 %attr(755,root,root) %{_bindir}/c2ph
504 %attr(755,root,root) %{_bindir}/dprofpp
505 %attr(755,root,root) %{_bindir}/h2ph
506 %attr(755,root,root) %{_bindir}/h2xs
507 %attr(755,root,root) %{_bindir}/perlbug
508 %attr(755,root,root) %{_bindir}/perlcc
509 %attr(755,root,root) %{_bindir}/perldoc
510 %attr(755,root,root) %{_bindir}/pl2pm
511 %attr(755,root,root) %{_bindir}/pod*
512 %attr(755,root,root) %{_bindir}/pstruct
513 %attr(755,root,root) %{_bindir}/splain
514
515 %attr(755,root,root) %{_libdir}/lib*.so
516 %{_mandir}/man1/c2ph.1*
517 %{_mandir}/man1/h2ph.1*
518 %{_mandir}/man1/h2xs.1*
519 %{_mandir}/man1/perl[a-z]*.1*
520 %{_mandir}/man1/pl2pm.1*
521 %{_mandir}/man1/pod2html.1*
522 %{_mandir}/man1/pod2man.1*
523 %{_mandir}/man1/pod2text.1*
524 %{_mandir}/man1/pod2usage.1*
525 %{_mandir}/man1/podchecker.1*
526 %{_mandir}/man1/podselect.1*
527 %{_mandir}/man1/pstruct.1*
528 %{_mandir}/man1/splain.1*
529 %{_mandir}/man3/[A-BD-Za-z]*
530 %{_mandir}/man3/CPAN*
531 %{_mandir}/man3/C[a-z]*
532 %lang(fi) %{_mandir}/fi/man1/perl[a-z]*.1*
533 %lang(pl) %{_mandir}/pl/man1/perl[a-z]*.1*
534
535 %{_libdir}/perl5/%{version}/%{_target_platform}*/CORE
536
537 %files -n sperl
538 %defattr(644,root,root,755)
539 %attr(4755,root,root) %{_bindir}/sperl%{version}
540 %attr(4755,root,root) %{_bindir}/suidperl
541
542 %files modules
543 %defattr(644,root,root,755)
544 %{_libdir}/perl5/site_perl/B
545 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/Apache
546 %{_libdir}/perl5/site_perl/%{_target_platform}*/%{version}/auto/Apache
547 %{_libdir}/perl5/%{version}/B
548 %{_libdir}/perl5/%{version}/CPAN
549 %{_libdir}/perl5/%{version}/Class
550 %{_libdir}/perl5/%{version}/Devel
551 %{_libdir}/perl5/%{version}/ExtUtils
552 %{_libdir}/perl5/%{version}/File/CheckTree.pm
553 %{_libdir}/perl5/%{version}/File/Compare.pm
554 %{_libdir}/perl5/%{version}/File/Copy.pm
555 %{_libdir}/perl5/%{version}/File/DosGlob.pm
556 %{_libdir}/perl5/%{version}/File/Temp.pm
557 %{_libdir}/perl5/%{version}/File/Spec/[A-OV-Z]*.pm
558 %{_libdir}/perl5/%{version}/Getopt
559 %{_libdir}/perl5/%{version}/I18N
560 %{_libdir}/perl5/%{version}/Math
561 %{_libdir}/perl5/%{version}/Net
562 %{_libdir}/perl5/%{version}/Pod
563 %{_libdir}/perl5/%{version}/Search
564 %{_libdir}/perl5/%{version}/Term
565 %{_libdir}/perl5/%{version}/Test
566 %{_libdir}/perl5/%{version}/Text/Abbrev.pm
567 %{_libdir}/perl5/%{version}/Text/ParseWords.pm
568 %{_libdir}/perl5/%{version}/Text/Soundex.pm
569 %{_libdir}/perl5/%{version}/Tie
570 %{_libdir}/perl5/%{version}/Time/[!L]*
571 %{_libdir}/perl5/%{version}/User
572 %{_libdir}/perl5/%{version}/auto
573 %{_libdir}/perl5/%{version}/pod/perldiag.pod
574 %{_libdir}/perl5/%{version}/unicode
575 %{_libdir}/perl5/%{version}/*.pl
576 %{_libdir}/perl5/%{version}/AnyDBM_File.pm
577 %{_libdir}/perl5/%{version}/AutoSplit.pm
578 %{_libdir}/perl5/%{version}/Benchmark.pm
579 %{_libdir}/perl5/%{version}/blib.pm
580 %{_libdir}/perl5/%{version}/bytes.pm
581 %{_libdir}/perl5/%{version}/charnames.pm
582 %{_libdir}/perl5/%{version}/CPAN.pm
583 %{_libdir}/perl5/%{version}/DB.pm
584 %{_libdir}/perl5/%{version}/diagnostics.pm
585 %{_libdir}/perl5/%{version}/Dumpvalue.pm
586 %{_libdir}/perl5/%{version}/English.pm
587 %{_libdir}/perl5/%{version}/Env.pm
588 %{_libdir}/perl5/%{version}/Fatal.pm
589 %{_libdir}/perl5/%{version}/FileCache.pm
590 %{_libdir}/perl5/%{version}/filetest.pm
591 %{_libdir}/perl5/%{version}/FindBin.pm
592 %{_libdir}/perl5/%{version}/less.pm
593 %{_libdir}/perl5/%{version}/open.pm
594 %{_libdir}/perl5/%{version}/SelfLoader.pm
595 %{_libdir}/perl5/%{version}/Shell.pm
596 %{_libdir}/perl5/%{version}/sigtrap.pm
597 %{_libdir}/perl5/%{version}/subs.pm
598 %{_libdir}/perl5/%{version}/Test.pm
599 %{_libdir}/perl5/%{version}/UNIVERSAL.pm
600 %{_libdir}/perl5/%{version}/utf8.pm
601 %{_libdir}/perl5/%{version}/%{_target_platform}*/B
602 %{_libdir}/perl5/%{version}/%{_target_platform}*/Data
603 %{_libdir}/perl5/%{version}/%{_target_platform}*/Devel
604 %{_libdir}/perl5/%{version}/%{_target_platform}*/File
605 %{_libdir}/perl5/%{version}/%{_target_platform}*/IPC
606 %{_libdir}/perl5/%{version}/%{_target_platform}*/Sys
607 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/B
608 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/B/B.bs
609 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/B/B.so
610 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/ByteLoader
611 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/ByteLoader/ByteLoader.bs
612 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/ByteLoader/ByteLoader.so
613 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DB_File
614 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DB_File/autosplit.ix
615 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DB_File/DB_File.bs
616 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DB_File/DB_File.so
617 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Data
618 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Data/Dumper
619 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Data/Dumper/Dumper.bs
620 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Data/Dumper/Dumper.so
621 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel
622 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel/DProf
623 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel/DProf/DProf.bs
624 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel/DProf/DProf.so
625 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel/Peek
626 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel/Peek/Peek.bs
627 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Devel/Peek/Peek.so
628 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader/DynaLoader.a
629 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader/autosplit.ix
630 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader/dl_expandspec.al
631 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader/dl_find_symbol_anywhere.al
632 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/DynaLoader/extralibs.ld
633 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/File
634 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/File/Glob
635 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/File/Glob/autosplit.ix
636 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/File/Glob/Glob.bs
637 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/File/Glob/Glob.so
638 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/GDBM_File
639 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/GDBM_File/autosplit.ix
640 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/GDBM_File/GDBM_File.bs
641 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/GDBM_File/GDBM_File.so
642 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IPC
643 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IPC/SysV
644 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IPC/SysV/SysV.bs
645 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/IPC/SysV/SysV.so
646 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/NDBM_File
647 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/NDBM_File/NDBM_File.bs
648 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/NDBM_File/NDBM_File.so
649 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Opcode
650 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Opcode/Opcode.bs
651 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Opcode/Opcode.so
652 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/[a-su-w]*.al
653 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/time.al
654 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/tolower.al
655 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/toupper.al
656 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/POSIX/*.ix
657 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/SDBM_File
658 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/SDBM_File/SDBM_File.bs
659 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/SDBM_File/SDBM_File.so
660 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys
661 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Hostname
662 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Hostname/autosplit.ix
663 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Hostname/Hostname.bs
664 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Hostname/Hostname.so
665 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Syslog
666 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Syslog/Syslog.bs
667 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/Sys/Syslog/Syslog.so
668 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/attrs
669 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/attrs/attrs.bs
670 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/attrs/attrs.so
671 %dir %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/re
672 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/re/re.bs
673 %attr(755,root,root) %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/re/re.so
674 %{_libdir}/perl5/%{version}/%{_target_platform}*/auto/sdbm
675 %{_libdir}/perl5/%{version}/%{_target_platform}*/B.pm
676 %{_libdir}/perl5/%{version}/%{_target_platform}*/ByteLoader.pm
677 %{_libdir}/perl5/%{version}/%{_target_platform}*/DB_File.pm
678 %{_libdir}/perl5/%{version}/%{_target_platform}*/attrs.pm
679 %{_libdir}/perl5/%{version}/%{_target_platform}*/GDBM_File.pm
680 %{_libdir}/perl5/%{version}/%{_target_platform}*/NDBM_File.pm
681 %{_libdir}/perl5/%{version}/%{_target_platform}*/Opcode.pm
682 %{_libdir}/perl5/%{version}/%{_target_platform}*/O.pm
683 %{_libdir}/perl5/%{version}/%{_target_platform}*/ops.pm
684 %{_libdir}/perl5/%{version}/%{_target_platform}*/re.pm
685 %{_libdir}/perl5/%{version}/%{_target_platform}*/Safe.pm
686 %{_libdir}/perl5/%{version}/%{_target_platform}*/SDBM_File.pm
687
688 %files pod
689 %defattr(644,root,root,755)
690 %{_libdir}/perl5/%{version}/pod/perl[^d]*
691 %{_libdir}/perl5/%{version}/pod/perld[^i]*
This page took 0.076397 seconds and 4 git commands to generate.