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

Revision 521, 34.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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