source: projects/specs/trunk/p/perl/perl-vl.spec @ 1252

Revision 1252, 34.5 KB checked in by iwaim, 14 years ago (diff)

perl 5.10.0-9

Line 
1%define       _noVersionedDependencies 1
2%define threading  1
3%define largefiles 1
4%define suidperl   1
5
6%define multilib_64_archs x86_64 s390x ppc64 sparc64
7%define perl_archname %{_arch}-%{_os}-thread-multi
8%define new_perl_lib  $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}:$RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
9%define comp_perl_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}:$RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
10%define new_arch_lib  $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{perl_archname}
11%define comp_arch_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}/%{perl_archname}
12%define new_perl_flags LD_PRELOAD=/%{new_arch_lib}/CORE/libperl.so LD_LIBRARY_PATH=%{new_arch_lib}/CORE PERL5LIB=%{new_perl_lib}:%{comp_perl_lib}
13%define new_perl %{new_perl_flags} $RPM_BUILD_ROOT/%{_bindir}/perl
14
15%define perl_version 5.10.0
16%define perlrel 9
17%define perl_epoch 2
18
19Provides: perl(:WITH_PERLIO)
20
21%if %{threading}
22%define thread_arch -thread-multi
23Provides: perl(:WITH_ITHREADS)
24Provides: perl(:WITH_THREADS)
25%else
26%define thread_arch %{nil}
27Provides: perl(:WITHOUT_ITHREADS)
28Provides: perl(:WITHOUT_THREADS)
29%endif
30
31%if %{largefiles}
32Provides: perl(:WITH_LARGEFILES)
33%else
34Provides: perl(:WITHOUT_LARGEFILES)
35%endif
36
37Summary:      The Perl programming language.
38Summary(ja):  Perl プログラミング 言語
39
40Name:         perl
41Version:      %{perl_version}
42Release:      %{perlrel}%{?_dist_release}
43Epoch:        %{perl_epoch}
44License:      Artistic or GPL
45Group:        Development/Languages
46Url:          http://www.perl.org/
47Source0: ftp://ftp.perl.org/pub/perl/CPAN/src/perl-%{perl_version}.tar.gz
48Source1: clean-manifest.pl
49Source5: MANIFEST.CPAN
50Source6: MANIFEST.CGI
51Source7: MANIFEST.DB_File
52Source9: MANIFEST.suidperl
53Source10: system-owned-directories
54Source11: filter-depends.sh
55Source12: perl-5.8.0-libnet.cfg
56
57# Patch1: perl-5.6.0-installman.patch
58# Patch2: perl5.005_03-db1.patch
59# Patch3: perl-5.6.0-nodb.patch
60Patch4: perl-5.6.1-prereq.patch
61Patch5: perl-5.8.1-root.patch
62Patch6: perl-5.8.0-fhs.patch
63Patch7: perl-5.6.0-buildroot.patch
64#Patch8: perl-5.8.0-errno.patch
65Patch9: perl-5.7.3-syslog.patch
66
67## from Fedora Core perl-5.8.5-9
68Patch13: perl-5.8.3-perlbug-tag.patch
69
70%define __find_requires %{SOURCE11}
71
72Conflicts: perl-NDBM_File <= 1:1.75-34.99.6
73
74Obsoletes: perl-Digest-MD5
75Obsoletes: perl-MIME-Base64
76Obsoletes: perl-libnet
77Obsoletes: perl-Storable
78Obsoletes: perl-MD5
79Obsoletes: perl-Filter
80Obsoletes: perl-Filter-Simple
81Obsoletes: perl-Time-HiRes
82Provides: perl-MIME-Base64
83Provides: perl-libnet
84## perl-5.10.0
85Obsoletes: perl-Module-Build <= 0.2806-0vl1
86Obsoletes: perl-Archive-Tar <= 1.38-0vl2
87Obsoletes: perl-IO-Compress-Base <= 2.008-0vl1
88Obsoletes: perl-Compress-Raw-Zlib <= 2.008-0vl1
89Obsoletes: perl-IO-Compress-Zlib <= 2.008-0vl1
90Obsoletes: perl-Compress-Zlib <= 2.008-0vl1
91Obsoletes: perl-IO-Zlib <= 1.09-0vl1
92Obsoletes: perl-version <= 0.42-0vl3
93Provides: perl-Module-Build
94Provides: perl-Archive-Tar
95Provides: perl-IO-Compress-Base
96Provides: perl-Compress-Raw-Zlib
97Provides: perl-IO-Compress-Zlib
98Provides: perl-Compress-Zlib
99Provides: perl-IO-Zlib
100Provides: perl-version
101
102# Vine: provide archlibdir itself since Vine's aptdata don't have filelists
103Provides: %{_libdir}/perl5/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
104
105# Configure doesn't listen well when we say no ndbm.  When it links in, it then conflicts with berkeley db.  oops.
106Patch16: perl-5.8.0-nondbm.patch
107
108# make sure we get the proper ldflags on libperl.so
109Patch17: perl-5.8.0-sharedlinker.patch
110
111# work around annoying rpath issue
112Patch21: perl-5.8.0-rpath-make.patch
113
114# bugzilla 101767, make sure threads.so links directly to -lpthread
115Patch22: perl-5.8.1-lpthread-link.patch
116
117# arch-specific patches
118Patch101: perl-5.8.0-libdir64.patch
119
120## patches from Fedora
121# Fedora/RHEL specific (use libresolv instead of libbind)
122Patch1006:         perl-5.8.6-libresolv.patch
123
124# FIXME: May need the "Fedora" references removed before upstreaming
125Patch1007:         perl-5.10.0-USE_MM_LD_RUN_PATH.patch
126
127# Skip hostname tests, since hostname lookup isn't available in Fedora
128# buildroots by design.
129Patch1008:         perl-5.10.0-disable_test_hosts.patch
130
131# Bump Sys::Syslog to 0.27 to fix select timeout bug
132# https://bugzilla.redhat.com/show_bug.cgi?id=492422
133Patch1009:         perl-5.10.0-SysSyslog-0.27.patch
134
135# The Fedora builders started randomly failing this futime test
136# only on x86_64, so we just don't run it. Works fine on normal
137# systems.
138Patch1010:        perl-5.10.0-x86_64-io-test-failure.patch
139
140# http://public.activestate.com/cgi-bin/perlbrowse/p/32891
141Patch1011:        32891.patch
142
143# Update Module::Load::Conditional to 0.24 for clean upgrade
144Patch1012:      perl-5.10.0-Module-Load-Conditional-0.24.patch
145
146# Upgrade Module::CoreList to 2.14
147Patch1013:      perl-5.10.0-Module-CoreList2.14.patch
148
149# Fix from Archive::Extract maintainer to only look at stdout
150# We need this because we're using tar >= 1.21
151# included upstream in 0.31_03
152Patch1014:        perl-5.10.0-Archive-Extract-onlystdout.patch
153
154# Update Module:Compress::Raw::Zlib (CVE-2009-1391)
155Patch1015: perl-update-Compress_Raw_Zlib.patch
156
157Buildroot:    %{_tmppath}/%{name}-%{version}-root
158BuildPreReq:  gawk, grep, tcsh, gdbm-devel, db4-devel
159BuildPreReq:  rpm-devel, gpm-devel, ncurses-devel, zlib-devel, netpbm-devel
160BuildPreReq:  libpng-devel, libtiff-devel, libelf, libjpeg-devel
161BuildPreReq:  netpbm-devel, e2fsprogs-devel
162
163# without man installed, the variables installman[13]dir
164# in Config.pm will be undefined. This BuildPreReq will fix it.
165BuildPreReq:  man
166
167Vendor:       Project Vine
168Distribution: Vine Linux
169
170# The long line of Perl provides.
171
172# These provides are needed by the perl pkg itself with auto-generated perl.req
173Provides: perl(VMS::Filespec)
174Provides: perl(VMS::Stdio)
175
176# Compat provides
177Provides: perl(:MODULE_COMPAT_5.10.0)
178
179# Threading provides
180Provides: perl(:WITH_ITHREADS)
181Provides: perl(:WITH_THREADS)
182# Largefile provides
183Provides: perl(:WITH_LARGEFILES)
184# PerlIO provides
185Provides: perl(:WITH_PERLIO)
186# File provides
187Provides: perl(abbrev.pl)
188Provides: perl(assert.pl)
189Provides: perl(bigfloat.pl)
190Provides: perl(bigint.pl)
191Provides: perl(bigrat.pl)
192Provides: perl(bytes_heavy.pl)
193Provides: perl(cacheout.pl)
194Provides: perl(complete.pl)
195Provides: perl(ctime.pl)
196Provides: perl(dotsh.pl)
197Provides: perl(dumpvar.pl)
198Provides: perl(exceptions.pl)
199Provides: perl(fastcwd.pl)
200Provides: perl(find.pl)
201Provides: perl(finddepth.pl)
202Provides: perl(flush.pl)
203Provides: perl(ftp.pl)
204Provides: perl(getcwd.pl)
205Provides: perl(getopt.pl)
206Provides: perl(getopts.pl)
207Provides: perl(hostname.pl)
208Provides: perl(importenv.pl)
209Provides: perl(look.pl)
210Provides: perl(newgetopt.pl)
211Provides: perl(open2.pl)
212Provides: perl(open3.pl)
213Provides: perl(perl5db.pl)
214Provides: perl(pwd.pl)
215Provides: perl(shellwords.pl)
216Provides: perl(stat.pl)
217Provides: perl(syslog.pl)
218Provides: perl(tainted.pl)
219Provides: perl(termcap.pl)
220Provides: perl(timelocal.pl)
221Provides: perl(utf8_heavy.pl)
222Provides: perl(validate.pl)
223Provides: perl(Carp::Heavy)
224
225## Requires
226# fix <BTS:VineLinux:1008>
227Requires: nss
228
229%description
230Perl is a high-level programming language with roots in C, sed, awk
231and shell scripting.  Perl is good at handling processes and files,
232and is especially good at handling text.  Perl's hallmarks are
233practicality and efficiency.  While it is used to do a lot of
234different things, Perl's most common applications are system
235administration utilities and web programming.  A large proportion of
236the CGI scripts on the web are written in Perl.  You need the perl
237package installed on your system so that your system can handle Perl
238scripts.
239
240Install this package if you want to program in Perl or enable your
241system to handle Perl scripts.
242
243%description -l ja
244Perl は高レベルなプログラミング言語です.Perl では,プロセス処理や
245ファイル処理が容易に行え,特にテキスト処理においてその威力を発揮します.
246Perl が実用的かつ効率的であることは既に折紙付きです.Perl は様々な用途に
247用いられていますが,最も一般的にはシステム管理ユーティリティやウェブ
248プログラミングに用いられています.実際 Web 上の CGI スクリプトの多くは
249Perl で書かれています.
250
251あなたのシステムで Perl スクリプトを扱える様にするには,このパッケージを
252インストールして下さい.
253
254%package localdirs
255Summary:      Perl library directories in /usr/local
256Group:        Development/Languages
257License:      Artistic or GPL
258Requires:     perl = %{perl_epoch}:%{perl_version}-%{release}
259Obsoletes:    perl < 5.10.0
260
261%description localdirs
262Perl library directories in /usr/local
263
264%prep
265%setup -q
266%patch5 -p1 -b .root
267%patch13 -p1
268
269%patch17 -p1 -b .sharedlinker
270
271%patch21 -p1 -b .rpathmake
272
273%ifarch %{multilib_64_archs}
274%patch101 -p1 -b .libdir64
275%endif
276
277## patch from Fedora
278%patch1006 -p1
279%patch1007 -p1
280%patch1008 -p1
281%patch1009 -p1
282%patch1010 -p1
283%patch1011 -p1
284%patch1012 -p1
285%patch1013 -p1
286%patch1014 -p1
287%patch1015 -p1 -b .CVE-2009-1391
288
289#
290# Candidates for doc recoding (need case by case review):
291# find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
292recode()
293{
294        iconv -f "$2" -t utf-8 < "$1" > "${1}_"
295        mv -f "${1}_" "$1"
296}
297recode README.cn euc-cn
298recode README.jp euc-jp
299recode README.ko euc-kr
300recode README.tw big5
301recode pod/perlebcdic.pod iso-8859-1
302recode pod/perlhack.pod iso-8859-1
303recode pod/perlhist.pod iso-8859-1
304recode pod/perlothrtut.pod iso-8859-1
305recode pod/perlthrtut.pod iso-8859-1
306recode lib/Unicode/Collate.pm iso-8859-1
307for i in Changes*; do
308    recode $i iso-8859-1
309done
310recode AUTHORS iso-8859-1
311
312find . -name \*.orig -exec rm -fv {} \;
313
314# Oh, the irony. Perl generates some non-versioned provides we don't need.
315# Each of these has a versioned provide, which we keep.
316cat << EOF > perl-prov
317#!/bin/sh
318%{__perl_provides} $* |\
319    sed -e '/^perl(Carp)$/d' |\
320    sed -e '/^perl(DynaLoader)$/d' |\
321    sed -e '/^perl(Locale::Maketext)$/d' |\
322    sed -e '/^perl(Log::Message::Handlers)$/d' |\
323    sed -e '/^perl(Math::BigInt)$/d' |\
324    sed -e '/^perl(Net::Config)$/d' |\
325    sed -e '/^perl(Tie::Hash)$/d' |\
326    sed -e '/^perl(bigint)$/d' |\
327    sed -e '/^perl(bigrat)$/d' |\
328    sed -e '/^perl(bytes)$/d' |\
329    sed -e '/^perl(utf8)$/d' |\
330    sed -e '/^perl(DB)$/d'
331
332EOF
333%define __perl_provides %{_builddir}/%{name}-%{perl_version}/perl-prov
334chmod +x %{__perl_provides}
335
336# Configure Compress::Zlib to use system zlib
337sed -i "s|BUILD_ZLIB      = True|BUILD_ZLIB      = False|" ext/Compress/Raw/Zlib/config.in
338sed -i "s|INCLUDE         = ./zlib-src|INCLUDE         = %{_includedir}|" ext/Compress/Raw/Zlib/config.in
339sed -i "s|LIB             = ./zlib-src|LIB             = %{_libdir}|" ext/Compress/Raw/Zlib/config.in
340
341%build
342# for generating makefiles
343export LANG=C
344export LANGUAGE=C
345export LC_ALL=C
346
347echo "RPM Build arch: %{_arch}"
348
349[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
350
351# yes; don't use %_libdir so that noarch packages from other OSs
352# arches work correctly :\ the Configure lines below hardcode lib for
353# similar reasons.
354
355/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
356        -Dversion=%{perl_version} \
357        -Dmyhostname=localhost \
358        -Dperladmin=root@localhost \
359        -Dcc='%{__cc}' \
360        -Dcf_by='Vine Linux' \
361        -Dinstallprefix=%{_prefix} \
362        -Dprefix=%{_prefix} \
363%ifarch %{multilib_64_archs}
364        -Dlibpth="/lib64 %{_prefix}/lib64" \
365        -Dprivlib="%{_libdir}/perl5/%{perl_version}" \
366        -Dsitelib="%{_libdir}/perl5/site_perl/%{perl_version}" \
367        -Dvendorlib="%{_libdir}/perl5/vendor_perl/%{perl_version}" \
368        -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \
369        -Dsitearch="%{_libdir}/perl5/site_perl/%{perl_version}/%{perl_archname}" \
370        -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \
371%endif
372        -Darchname=%{_arch}-%{_os} \
373%ifarch sparc sparcv9
374        -Ud_longdbl \
375%endif
376        -Dvendorprefix=%{_prefix} \
377        -Dsiteprefix=%{_prefix} \
378        -Duseshrplib \
379        -Dusethreads \
380        -Duseithreads \
381        -Duselargefiles \
382        -Dd_dosuid \
383        -Dd_semctl_semun \
384        -Di_db \
385        -Ui_ndbm \
386        -Di_gdbm \
387        -Di_shadow \
388        -Di_syslog \
389        -Dman3ext=3pm \
390        -Duseperlio \
391        -Dinstallusrbinperl=n \
392        -Ubincompat5005 \
393        -Uversiononly \
394        -Dpager='/usr/bin/less -isr' \
395        -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
396        -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
397        -Ud_endservent_r_proto -Ud_setservent_r_proto \
398%ifarch %{multilib_64_archs}
399        -Dotherlibdirs="%{_prefix}/lib/perl5/%{perl_version}:%{_prefix}/lib/perl5/vendor_perl/%{perl_version}:%{_prefix}/lib/perl5/vendor_perl:%{_prefix}/lib/perl5/site_perl/%{perl_version}:%{_prefix}/lib/perl5/site_perl:%{_prefix}/local/lib/site_perl:%{_prefix}/local/lib64/site_perl" \
400%else
401        -Dotherlibdirs="%{_prefix}/local/lib/site_perl" \
402%endif
403        -Dscriptdir='%{_bindir}'
404
405make %{?_smp_mflags}
406
407%install
408[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
409make install DESTDIR=$RPM_BUILD_ROOT
410
411%ifarch %{multilib_64_archs}
412mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{perl_version}
413mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/auto
414%ifarch x86_64
415mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/i386-linux-thread-multi/auto
416%endif
417%ifarch s390x
418mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/s390-linux-thread-multi/auto
419%endif
420%ifarch ppc64
421mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/ppc-linux-thread-multi/auto
422%endif
423%ifarch sparc64
424mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/sparc-linux-thread-multi/auto
425%endif
426%endif
427
428%ifarch %{multilib_64_archs}
429mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_prefix}/lib64/perl5/vendor_perl/%{perl_version}/%{_arch}-%{_os}
430%endif
431
432# perl doesn't create this module, but modules put things in it, so we need to own it.
433mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}/auto
434
435install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm
436
437for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h
438do
439  %{new_perl} $RPM_BUILD_ROOT/%{_bindir}/h2ph -a \
440              -d $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname} $i || /bin/true
441done
442
443
444for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_prefix}/lib')
445do
446  mkdir -p $RPM_BUILD_ROOT/$dir
447done
448
449for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_libdir}')
450do
451  mkdir -p $RPM_BUILD_ROOT/$dir
452done
453
454#
455# libnet configuration file
456#
457mkdir -p -m 755 $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net
458install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net/libnet.cfg
459
460#
461# Core modules removal
462#
463find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv
464
465find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -exec rm -f {} ';'
466
467# Install sample cgi scripts (this used to happen automatically?)
468mkdir -p $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/eg/
469cp -a lib/CGI/eg/* $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/eg/
470
471# Cleanup binary paths and make cgi files executable
472pushd $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/eg/
473  for i in *.cgi make_links.pl RunMeFirst ; do
474    sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|g' $i
475    chmod +x $i
476  done
477popd
478
479# miniperl? As an interpreter? How odd.
480sed -i 's|./miniperl|%{_bindir}/perl|' $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/ExtUtils/xsubpp
481chmod +x $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/ExtUtils/xsubpp
482
483# Don't need the .packlist
484rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/.packlist
485
486# Fix some manpages to be UTF-8
487pushd $RPM_BUILD_ROOT%{_mandir}/man1/
488  for i in perl588delta.1 perldelta.1 ; do
489    iconv -f MS-ANSI -t UTF-8 $i --output new-$i
490    rm -rf $i
491    mv new-$i $i
492  done
493popd
494
495chmod -R u+w $RPM_BUILD_ROOT/*
496
497# Compress Changes* to save space
498%{__gzip} Changes*
499
500# for localdirs
501%{__mkdir_p} %{buildroot}%{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
502
503# Local patch tracking
504# cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
505# perl -x patchlevel.h 'Fedora Patch1: Permit suidperl to install as nonroot'
506# perl -x patchlevel.h 'Fedora Patch2: Removes date check, Fedora/RHEL specific'
507# perl -x patchlevel.h 'Fedora Patch3: Fedora/RHEL use links instead of lynx'
508# perl -x patchlevel.h 'Fedora Patch4: Work around annoying rpath issue'
509# %ifarch %{multilib_64_archs}
510# perl -x patchlevel.h 'Fedora Patch5: support for libdir64'
511# %endif
512# perl -x patchlevel.h 'Fedora Patch6: use libresolv instead of libbind'
513# perl -x patchlevel.h 'Fedora Patch7: USE_MM_LD_RUN_PATH'
514# perl -x patchlevel.h 'Fedora Patch8: Skip hostname tests, due to builders not being network capable'
515# perl -x patchlevel.h 'Fedora Patch9: Update Sys::Syslog to 0.24'
516# perl -x patchlevel.h 'Fedora Patch10: Dont run one io test due to random builder failures'
517# perl -x patchlevel.h '32891 fix big slowdown in 5.10 @_ parameter passing'
518# perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
519# perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
520
521%clean
522[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
523
524%check
525make test
526
527%post -p /sbin/ldconfig
528
529%postun -p /sbin/ldconfig
530
531%files
532%defattr(-,root,root)
533%doc Artistic AUTHORS Changes* Copying README
534%{_mandir}/man1/*.1*
535%{_mandir}/man3/*.3*
536%{_bindir}/*
537%{_libdir}/perl5
538%ifarch %{multilib_64_archs}
539%{_prefix}/lib/perl5
540%endif
541
542%files localdirs
543%defattr(-,root,root)
544%dir %{_prefix}/local/lib/site_perl
545%dir %{_prefix}/local/lib/site_perl/%{perl_version}
546%dir %{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
547
548%changelog
549* Sun Jun 27 2010 IWAI, Masaharu <iwai@alib.jp> 5.10.0-9
550- add Requires: nss: fix <BTS:VineLinux:1008>
551
552* Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.10.0-8
553- rebuild with db4-4.8
554
555* Sun Aug 16 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-7
556- fix installsitearch/installsitelib variables @ x86_64 env.
557- fix libdir location @ x86_64 env.
558
559* Sun Jun 14 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-6
560- add patch1015 to Update Module:Compress::Raw::Zlib (CVE-2009-1391)
561
562* Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-5
563- add Patch1014 fix Archive::Extract to fix test failure caused by tar >= 1.21
564- fix Patch1009 to fix select timeout bug (RHBZ #492422)
565
566* Wed Apr 29 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 5.10.0-4
567- spec in UTF-8
568
569* Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-3
570- rebuilt with db4-4.6.21
571
572* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.10.0-2
573- added more macros
574- fixed Provides
575
576* Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 5.10.0-1
577- new upstream release
578- sync Fedora perl-5.10.0-20.fc9
579  - drop obsolete patches
580    - perl-5.8.3-fullinc.patch (Patch11)
581    - perl-5.8.5-incpush.patch (Patch12)
582    - perl-5.8.5-dashI.patch (Patch14)
583    - perl-5.8.3-findbin-selinux.patch (Patch23)
584    - perl-5.8.3-empty-rpath.patch (Patch24)
585    - perl-5.8.1-s390.patch (Patch100)
586  - add some patches from Fedora perl-5.10.0-20.fc9
587    - perl-5.8.6-libresolv.patch (Patch1006)
588    - perl-5.10.0-USE_MM_LD_RUN_PATH.patch (Patch1007)
589    - perl-5.10.0-disable_test_hosts.patch (Patch1008)
590    - perl-5.10.0-SysSyslog-0.24.patch (Patch1009)
591    - perl-5.10.0-x86_64-io-test-failure.patch (Patch1010)
592    - 32891.patch (Patch1011)
593    - perl-5.10.0-Module-Load-Conditional-0.24.patch (Patch1012)
594    - perl-5.10.0-Module-CoreList2.14.patch (Patch1013)
595  - update %%make, %%build and %%install, %%files sections (sync Fedora)
596  - add %%check, %%post and %%postun sections (sync Fedora)
597  - update Provides (sync Fedora)
598- create new package 'perl-localdirs': perl library directories in /usr/local
599- update filter-depends.sh (Source11)
600- update Obsoletes and Provides for old packages
601
602* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl5
603- BuildPreReq: man (without it, installman[13] will get undefined
604
605* Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl4
606- rebuilt with new toolchain and db4-4.3.x
607
608* Wed Jun 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.8.6-0vl3
609- use filter to find-requires instead of perl-req (rpm's bug?)
610- don't remove core modules (FIlter::Util::Call, Filter::Simple, Time::HiRes)
611
612* Sun Jan 09 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl2
613- force gcc optimization level to -O1 on ppc
614
615* Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.6-0vl1
616- new upstream release
617- drop obsolete patches
618  - drop errno patch ( Patch8 )
619  - drop manext patch ( Patch18 )
620  - drop suidperl security fix patch ( Patch501 )
621- add some patches from Fedora Core perl-5.8.5-9
622  - add fullinc patch ( Patch11 )
623  - add incpush patch ( Patch12 )
624  - add perkbug tag patch ( Patch13 )
625  - add dashI patch ( Patch14 )
626  - add findbin selinux patch ( Patch23 )
627  - add empty rpath patch ( Patch24 )
628  - include lpthread link patch ( Patch22 )
629- drop unnecessary macros: cpanver, dbfilever and cgiver
630
631* Wed Oct 27 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl4
632- provide archlibdir (for some applications such as xchat)
633
634* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl3
635- rebuilt with db4-4.2.52
636
637* Fri Jul  2 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl2
638- SECURITY: fix CAN-2003-0618: suidperl
639    add 06_fix_suidperl patch (Patch501) from Debian Sarge perl 5.8.3-3
640
641* Fri Nov  7 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl1
642- new upstream release
643
644* Fri Sep 26 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.1-0vl1
645- new upstream release
646- update some patches:
647    - root patch (Patch5)
648    - s390 patch (Patch100)
649- stop patching fhs patch (Patch6)
650- stop patching syslog patch (Patch9)
651- stop patching manext patch (Patch18)
652- stop patching links patch (Patch19): Vine doesn't have links package.
653- drop obsolete  module update patches:
654    - perl-5.8.0-Safe2.09.patch (Patch202)
655    - perl-5.8.0-CGI2.89.patch (Patch203)
656    - perl-5.8.0-CGI_XSS.patch (Patch20002)
657- drop obsolete patches:
658    - protofix patch (Patch32000)
659    - pagerfix patch (Patch32001)
660    - upstream patches
661      - Patch17649: perl-5.8.0-upstream-17649.patch
662      - Patch18079: perl-5.8.0-upstream-18079.patch
663      - Patch18080: perl-5.8.0-upstream-18080.patch
664      - Patch18081: perl-5.8.0-upstream-18081.patch
665      - Patch18082: perl-5.8.0-upstream-18082.patch
666      - Patch18087: perl-5.8.0-upstream-18087.patch
667      - Patch18089: perl-5.8.0-upstream-18089.patch
668      - Patch18095: perl-5.8.0-upstream-18095.patch
669      - Patch18096: perl-5.8.0-upstream-18096.patch
670      - Patch18097: perl-5.8.0-upstream-18097.patch
671      - Patch18098: perl-5.8.0-upstream-18098.patch
672      - Patch18100: perl-5.8.0-upstream-18100.patch
673      - Patch18101: perl-5.8.0-upstream-18101.patch
674      - Patch18103: perl-5.8.0-upstream-18103.patch
675      - Patch18104: perl-5.8.0-upstream-18104.patch
676      - Patch18110: perl-5.8.0-upstream-18110.patch
677      - Patch18111: perl-5.8.0-upstream-18111.patch
678      - Patch18112: perl-5.8.0-upstream-18112.patch
679      - Patch18126: perl-5.8.0-upstream-18126.patch
680      - Patch18127: perl-5.8.0-upstream-18127.patch
681      - Patch18128: perl-5.8.0-upstream-18128.patch
682      - Patch18129: perl-5.8.0-upstream-18129.patch
683      - Patch18130: perl-5.8.0-upstream-18130.patch
684      - Patch18131: perl-5.8.0-upstream-18131.patch
685      - Patch18132: perl-5.8.0-upstream-18132.patch
686      - Patch18133: perl-5.8.0-upstream-18133.patch
687      - Patch18134: perl-5.8.0-upstream-18134.patch
688      - Patch18143: perl-5.8.0-upstream-18143.patch
689      - Patch18144: perl-5.8.0-upstream-18144.patch
690      - Patch18145: perl-5.8.0-upstream-18145.patch
691      - Patch18146: perl-5.8.0-upstream-18146.patch
692      - Patch18153: perl-5.8.0-upstream-18153.patch
693      - Patch18155: perl-5.8.0-upstream-18155.patch
694      - Patch18156: perl-5.8.0-upstream-18156.patch
695      - Patch18173: perl-5.8.0-upstream-18173.patch
696      - Patch18174: perl-5.8.0-upstream-18174.patch
697      - Patch18187: perl-5.8.0-upstream-18187.patch
698      - Patch18189: perl-5.8.0-upstream-18189.patch
699      - Patch18190: perl-5.8.0-upstream-18190.patch
700      - Patch18191: perl-5.8.0-upstream-18191.patch
701      - Patch18192: perl-5.8.0-upstream-18192.patch
702      - Patch18197: perl-5.8.0-upstream-18197.patch
703      - Patch18202: perl-5.8.0-upstream-18202.patch
704      - Patch18204: perl-5.8.0-upstream-18204.patch
705      - Patch18205: perl-5.8.0-upstream-18205.patch
706      - Patch18206: perl-5.8.0-upstream-18206.patch
707      - Patch18207: perl-5.8.0-upstream-18207.patch
708      - Patch18208: perl-5.8.0-upstream-18208.patch
709      - Patch18209: perl-5.8.0-upstream-18209.patch
710      - Patch18210: perl-5.8.0-upstream-18210.patch
711      - Patch18211: perl-5.8.0-upstream-18211.patch
712      - Patch18214: perl-5.8.0-upstream-18214.patch
713      - Patch18215: perl-5.8.0-upstream-18215.patch
714      - Patch18218: perl-5.8.0-upstream-18218.patch
715      - Patch18219: perl-5.8.0-upstream-18219.patch
716      - Patch18227: perl-5.8.0-upstream-18227.patch
717      - Patch18234: perl-5.8.0-upstream-18234.patch
718      - Patch18235: perl-5.8.0-upstream-18235.patch
719      - Patch18236: perl-5.8.0-upstream-18236.patch
720      - Patch18241: perl-5.8.0-upstream-18241.patch
721      - Patch18242: perl-5.8.0-upstream-18242.patch
722      - Patch18243: perl-5.8.0-upstream-18243.patch
723      - Patch18247: perl-5.8.0-upstream-18247.patch
724      - Patch18248: perl-5.8.0-upstream-18248.patch
725      - Patch18252: perl-5.8.0-upstream-18252.patch
726      - Patch18253: perl-5.8.0-upstream-18253.patch
727      - Patch18254: perl-5.8.0-upstream-18254.patch
728      - Patch18255: perl-5.8.0-upstream-18255.patch
729      - Patch18256: perl-5.8.0-upstream-18256.patch
730      - Patch18257: perl-5.8.0-upstream-18257.patch
731      - Patch18258: perl-5.8.0-upstream-18258.patch
732      - Patch18271: perl-5.8.0-upstream-18271.patch
733      - Patch18273: perl-5.8.0-upstream-18273.patch
734      - Patch18274: perl-5.8.0-upstream-18274.patch
735      - Patch18275: perl-5.8.0-upstream-18275.patch
736      - Patch18276: perl-5.8.0-upstream-18276.patch
737      - Patch18286: perl-5.8.0-upstream-18286.patch
738      - Patch18289: perl-5.8.0-upstream-18289.patch
739      - Patch18290: perl-5.8.0-upstream-18290.patch
740      - Patch18291: perl-5.8.0-upstream-18291.patch
741      - Patch18293: perl-5.8.0-upstream-18293.patch
742      - Patch18294: perl-5.8.0-upstream-18294.patch
743      - Patch18295: perl-5.8.0-upstream-18295.patch
744      - Patch18296: perl-5.8.0-upstream-18296.patch
745      - Patch18297: perl-5.8.0-upstream-18297.patch
746      - Patch18301: perl-5.8.0-upstream-18301.patch
747      - Patch18322: perl-5.8.0-upstream-18322.patch
748      - Patch18347: perl-5.8.0-upstream-18347.patch
749      - Patch18348: perl-5.8.0-upstream-18348.patch
750      - Patch18349: perl-5.8.0-upstream-18349.patch
751      - Patch18352: perl-5.8.0-upstream-18352.patch
752      - Patch18353: perl-5.8.0-upstream-18353.patch
753      - Patch18359: perl-5.8.0-upstream-18359.patch
754      - Patch18360: perl-5.8.0-upstream-18360.patch
755      - Patch18361: perl-5.8.0-upstream-18361.patch
756      - Patch18362: perl-5.8.0-upstream-18362.patch
757      - Patch18363: perl-5.8.0-upstream-18363.patch
758      - Patch18364: perl-5.8.0-upstream-18364.patch
759      - Patch18365: perl-5.8.0-upstream-18365.patch
760      - Patch18366: perl-5.8.0-upstream-18366.patch
761      - Patch18367: perl-5.8.0-upstream-18367.patch
762      - Patch18368: perl-5.8.0-upstream-18368.patch
763      - Patch18369: perl-5.8.0-upstream-18369.patch
764      - Patch18370: perl-5.8.0-upstream-18370.patch
765      - Patch18375: perl-5.8.0-upstream-18375.patch
766      - Patch18379: perl-5.8.0-upstream-18379.patch
767      - Patch18380: perl-5.8.0-upstream-18380.patch
768      - Patch20001: perl-5.8.0-upstream-20475.patch
769
770* Wed Jul 23 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl4
771- SECURITY: fix CGI.pm XSS
772    add CGI_XSS.patch (Patch20002)
773
774* Wed May 14 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl3
775- add open.pm patch from perl5-porters #20475
776
777* Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl2
778- added library search path ( otherlibdirs ) in /usr/local/lib
779- add Provides: perl-{MIME-Base64,libnet} ([VineSeed:07701])
780
781* Tue Apr 15 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 5.8.0-88vl1
782- synced with Rawhide 5.8.0-88
783
784* Fri Apr 12 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.6.1-0vl9
785- added library search path ( otherlibdirs ) in /usr/local/lib
786
787* Fri Mar 29 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.6.1-0vl8
788- changed Patch3 (now use gdbm-ndbm)
789
790* Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
791- 5.6.1-0vl7
792- added db3-devel BuildPreReq
793
794* Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
795- 5.6.1-0vl6
796- added BuildPreReq entires
797
798* Tue Jun 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
799- 5.6.1-0vl4
800- removed NASTY Provides: perl <= %%{version} line :-P
801
802* Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
803- 5.6.1-0vl3
804- put %%install sentence back
805
806* Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
807- 5.6.1-0vl2
808- use %%config for perllocal.pod
809- removed MAINTAIN from %%doc
810
811* Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
812- 5.6.1-0vl1
813- updated to 5.6.1 newest (at the moment) stable release
814  (most of the works/tests done by Machino-san. Thanks)
815- fix Source[01] URLs
816- Copyright: GPL -> License: Artistic
817- Patch4 modified for 5.6.1, as well as removed Patch8 and Patch9
818
819* Fri Jun 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
820- 5.6.0-10vl6
821- modified %%{SOURCE3} & %%{SOURCE4} to remove libsafe.so dependencies
822
823* Thu Jun 14 2001 <sagami@vinelinux.org>
824- 5.6.0-10vl5: I think define is still valid even if commented out
825
826* Thu Jun 14 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
827- 5.6.0-10vl4
828- added Japanese description
829- all archs should use %%{SOURCE3} for find_requires at the moment
830- %%define _noVersionedDependencies 1
831- libgr-devel -> netpbm-devel in %%install section
832
833* Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> perl-5.6.0-10vl3
834- added %doc
835
836* Mon Mar 12 2001 net_hal <net_hal@cwa.bai.ne.jp>
837- Package name changed(perl -> perl56)
838
839* Fri Mar  2 2001 net_hal <net_hal@cwa.bai.ne.jp>
840- first build for Vine2.1
841
842* Tue Sep 12 2000 Bill Nottingham <notting@redhat.com>
843- fix dependencies on ia64/sparc64
844
845* Mon Aug  7 2000 Nalin Dahyabhai <nalin@redhat.com>
846- replace the deprecated MD5 with Digest::MD5 (has to be here for cleanfeed)
847- obsolete: perl-Digest-MD5
848- use syslog instead of mail to report possible attempts to break into suidperl
849- force syslog on at build-time
850
851* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
852- add Owen's fix for #14779/#14863
853- specify cc=%{__cc}; continue to let cpp sort itself out
854- switch shadow support on (#8646)
855- release 7
856
857* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
858- strip buildroot from perl pods (#14040)
859- release 6
860
861* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
862- automatic rebuild (release 5)
863
864* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
865- don't require tcsh to install, only to build
866- release 4
867
868* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
869- rebuild against new db3 package
870- release 3
871
872* Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
873- disable 64-bit file support
874- change name of package that Perl expects gcc to be in from "egcs" to "gcc"
875- move man pages to /usr/share via hints/linux.sh and MM_Unix.pm
876- fix problems prefixifying with empty prefixes
877- disable long doubles on sparc (they're the same as doubles anyway)
878- add an Epoch to make sure we can upgrade from perl-5.00503
879- release 2
880
881* Thu Mar 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
882- 2.6.0
883
884* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
885- fix description
886
887* Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
888- add provides for perl modules (from kestes@staff.mail.com).
889
890* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
891- fix the %install so that the MD5 module gets actually installed correctly
892
893* Mon Aug 30 1999 Cristian Gafton <gafton@redhat.com>
894- make sure the package builds even when we don't have perl installed on the
895  system
896
897* Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
898- merged with perl-MD5
899- get rid of the annoying $RPM_BUILD_ROOT paths in the installed tree
900
901* Mon Jul 26 1999 Cristian Gafton <gafton@redhat.com>
902- do not link anymore against the system db library (and make each module
903  link against it separately, so that we can have Berkeley db1 and db2 mixed
904  up)
905
906* Wed Jun 16 1999 Cristian Gafton <gafton@redhat.com>
907- use wildcards for files in /usr/bin and /usr/man
908
909* Tue Apr 06 1999 Cristian Gafton <gafton@redhat.com>
910- version 5.00503
911- make the default man3 install dir be release independent
912- try to link against db1 to preserve compatibility with older databases;
913  abandoned idea because perl is too broken to allow such an easy change
914  (hardcoded names *everywhere* !!!)
915
916* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
917- auto rebuild in the new build environment (release 3)
918
919* Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
920- guilty of the inlined Makefile in the spec file
921- adapted for the arm build
922
923* Wed Sep 09 1998 Preston Brown <pbrown@redhat.com>
924- added newer CGI.pm to the build
925- changed the version naming scheme around to work with RPM
926
927* Sun Jul 19 1998 Jeff Johnson <jbj@redhat.com>
928- attempt to generate *.ph files reproducibly
929
930* Mon Jun 15 1998 Jeff Johnson <jbj@redhat.com>
931- update to 5.004_04-m4 (pre-5.005 maintenance release)
932
933* Tue Jun 12 1998 Christopher McCrory <chrismcc@netus.com
934- need stdarg.h from gcc shadow to fix "use Sys::Syslog" (problem #635)
935
936* Fri May 08 1998 Cristian Gafton <gafton@redhat.com>
937- added a patch to correct the .ph constructs unless defined (foo) to read
938  unless(defined(foo))
939
940* Thu May 07 1998 Prospector System <bugs@redhat.com>
941- translations modified for de, fr, tr
942
943* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
944- fixed strftime problem
945
946* Sun Mar 08 1998 Cristian Gafton <gafton@redhat.com>
947- added a patch to fix a security race
948- do not use setres[ug]id - those are not implemented on 2.0.3x kernels
949
950* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
951- upgraded to 5.004_04 - 5.004_01 had some nasty memory leaks.
952- fixed the spec file to be version-independent
953
954* Fri Dec 05 1997 Erik Troan <ewt@redhat.com>
955- Config.pm wasn't right do to the builtrooting
956
957* Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
958- fixed arch-specfic part of spec file
959
960* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
961- updated to perl 5.004_01
962- users a build root
963
964* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
965- built against glibc
966
967* Tue Apr 22 1997 Erik Troan <ewt@redhat.com>
968- Incorporated security patch from Chip Salzenberg <salzench@nielsenmedia.com>
969
970* Fri Feb 07 1997 Erik Troan <ewt@redhat.com>
971- Use -Darchname=i386-linux
972- Require csh (for glob)
973- Use RPM_ARCH during configuration and installation for arch independence
Note: See TracBrowser for help on using the repository browser.