%bcond_without microperl # build microperl (needs fixing)
#
# TODO:
+# - Perl 5.10.0 is out http://www.nntp.perl.org/group/perl.perl5.porters/2007/12/msg131636.html
# - fix "FIXME"s, review "XXX"s
# - add the {O,N}DBM_File modules
# - review the perldiag.pod issue
# - change all "R/BR: perl" to one of perl-{base,modules,devel}
#
-%define _abi 5.8.0
+%define _abi 5.10.0
%define perlthread %{?with_threads:-thread-multi}
%define perl_vendorlib %{_datadir}/perl5/vendor_perl
%define perl_vendorarch %{_libdir}/perl5/vendor_perl/%{_abi}/%{_target_platform}%{perlthread}
-%define _rel 11
+%define _rel 0.1
Summary: Practical Extraction and Report Language (Perl)
-Summary(cs.UTF-8): Programovací jazyk Perl
-Summary(da.UTF-8): Programmeringssproget Perl
-Summary(de.UTF-8): Praktische Extraktions- und Berichtsprache
-Summary(es.UTF-8): Lenguaje práctica de extracción y listado
-Summary(fr.UTF-8): Langage de programmation Perl
-Summary(id.UTF-8): Bahasa pemrograman Perl
-Summary(is.UTF-8): Forritunarmálið Perl
-Summary(it.UTF-8): Perl: linguaggio di programmazione
-Summary(ja.UTF-8): Perl プログラミング言語
-Summary(ko.UTF-8): 펄 프로그래밍 언어
-Summary(nb.UTF-8): Programmeringsspråket Perl
-Summary(pl.UTF-8): Interpreter języka Perl (Practical Extraction and Report Language)
-Summary(pt.UTF-8): A linguagem de programação Perl
-Summary(pt_BR.UTF-8): Linguagem prática de extração e relatório
-Summary(ru.UTF-8): Язык программирования Perl
-Summary(sk.UTF-8): Programovací jazyk Perl
-Summary(sl.UTF-8): Programski jezik Perl
-Summary(sv.UTF-8): Programmeringsspråket Perl
-Summary(tr.UTF-8): Kabuk yorumlama dili
-Summary(zh_CN.UTF-8): Perl 编程语言。
+Summary(cs.UTF-8): Programovací jazyk Perl
+Summary(da.UTF-8): Programmeringssproget Perl
+Summary(de.UTF-8): Praktische Extraktions- und Berichtsprache
+Summary(es.UTF-8): Lenguaje práctica de extracción y listado
+Summary(fr.UTF-8): Langage de programmation Perl
+Summary(id.UTF-8): Bahasa pemrograman Perl
+Summary(is.UTF-8): Forritunarmálið Perl
+Summary(it.UTF-8): Perl: linguaggio di programmazione
+Summary(ja.UTF-8): Perl プログラミング言語
+Summary(ko.UTF-8): 펄 프로그래밍 언어
+Summary(nb.UTF-8): Programmeringsspråket Perl
+Summary(pl.UTF-8): Interpreter języka Perl (Practical Extraction and Report Language)
+Summary(pt.UTF-8): A linguagem de programação Perl
+Summary(pt_BR.UTF-8): Linguagem prática de extração e relatório
+Summary(ru.UTF-8): Язык программирования Perl
+Summary(sk.UTF-8): Programovací jazyk Perl
+Summary(sl.UTF-8): Programski jezik Perl
+Summary(sv.UTF-8): Programmeringsspråket Perl
+Summary(tr.UTF-8): Kabuk yorumlama dili
+Summary(zh_CN.UTF-8): Perl 编程语言。
Name: perl
-Version: 5.8.8
+Version: 5.10.0
Release: %{_rel}%{!?with_threads:_nothr}
Epoch: 1
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/src/%{name}-%{version}.tar.bz2
-# Source0-md5: a377c0c67ab43fd96eeec29ce19e8382
+Source0: http://www.cpan.org/src/%{name}-%{version}.tar.gz
+# Source0-md5: d2c39b002ebfd2c3c5dba589365c5a71
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: de47d7893f49ad7f41ba69c78511c0db
Source2: %{name}.prov
Patch10: %{name}-5.8.7-172396.patch
Patch11: %{name}-5.8.7-CAN-2004-0976.patch
Patch12: %{name}_588-27203.patch
-Patch13: %{name}-ExtUtils-MakeMaker-write-permissions.patch
+Patch13: %{name}-write-permissions.patch
Patch14: %{name}-makedepend.patch
Patch15: %{name}-timer-test.patch
+Patch16: %{name}-regexp-CVE-2007-5116.patch
URL: http://dev.perl.org/perl5/
%ifarch ppc
# gcc 3.3.x miscompiles pp_hot.c
%package libs
Summary: Shared Perl library
-Summary(pl.UTF-8): Biblioteka współdzielona Perla
+Summary(pl.UTF-8): Biblioteka współdzielona Perla
Group: Libraries
Conflicts: perl-base < 1:5.8.8-8.1
%package base
Summary: Base Perl components for a minimal installation
-Summary(pl.UTF-8): Podstawowe składniki potrzebne do minimalnej instalacji Perla
+Summary(pl.UTF-8): Podstawowe składniki potrzebne do minimalnej instalacji Perla
Group: Development/Languages/Perl
Requires: perl-dirs(%{_target_cpu})
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
%package GDBM_File
Summary: GDBM_File - Perl5 access to the gdbm library
-Summary(pl.UTF-8): GDBM_File - dostęp do biblioteki gdbm w Perlu
+Summary(pl.UTF-8): GDBM_File - dostęp do biblioteki gdbm w Perlu
Group: Libraries
Requires: %{name}-base = %{epoch}:%{version}-%{release}
# FIXME: Set Version: 1.08 and Release: 1 instead of inheriting
%package devel
Summary: Perl development files
-Summary(pl.UTF-8): Pliki potrzebne przy tworzeniu własnych aplikacji w Perlu
-Summary(pt_BR.UTF-8): Arquivos de desenvolvimento e cabeçalhos para o Perl
+Summary(pl.UTF-8): Pliki potrzebne przy tworzeniu własnych aplikacji w Perlu
+Summary(pt_BR.UTF-8): Arquivos de desenvolvimento e cabeçalhos para o Perl
Group: Development/Libraries
Requires: %{name}-base = %{epoch}:%{version}-%{release}
Requires: %{name}-modules = %{epoch}:%{version}-%{release}
%package doc-pod
Summary: Perl documentation in POD format
-Summary(pl.UTF-8): Dokumentacja Perla w formacie POD
+Summary(pl.UTF-8): Dokumentacja Perla w formacie POD
Group: Documentation
Requires: perldoc
Obsoletes: perl-pod
%package doc-reference
Summary: Perl reference documentation
-Summary(pl.UTF-8): Dokumentacja Perla
+Summary(pl.UTF-8): Dokumentacja Perla
Group: Documentation
%description doc-reference
%package modules
Summary: Modules from the core Perl distribution
-Summary(pl.UTF-8): Moduły z podstawowej dystrybucji Perla
+Summary(pl.UTF-8): Moduły z podstawowej dystrybucji Perla
Group: Libraries
Requires: %{name}-base = %{epoch}:%{version}-%{release}
Provides: perl-Attribute-Handlers = 0.78_02
%package perldoc
Summary: perldoc - Look up Perl documentation in pod format
-Summary(pl.UTF-8): perldoc - przeszukiwanie dokumentacji Perla w formacie pod
+Summary(pl.UTF-8): perldoc - przeszukiwanie dokumentacji Perla w formacie pod
Group: Development/Tools
Requires: %{name}-modules = %{epoch}:%{version}-%{release}
Requires: %{name}-tools-pod = %{epoch}:%{version}-%{release}
%package -n sperl
Summary: Perl setuid root binaries for use with setuid Perl scripts
-Summary(de.UTF-8): sperl zur Verwendung mit setuid Perl-Skripts
-Summary(es.UTF-8): sperl, para uso con los scrips de Perl setuid
-Summary(fr.UTF-8): sperl, à utiliser avec les scripts Perl setuid
-Summary(it.UTF-8): sperl, da usare con gli script di Perl setuid
-Summary(ja.UTF-8): Setuid Perl scripts と一緒に使用するための suidperl
-Summary(ko.UTF-8): Setuid 펄 스크립트와 함께 사용되는 suidperl
-Summary(pl.UTF-8): Binaria setuid root Perla dla setuid-owych skryptów Perla
-Summary(pt.UTF-8): O suidperl, para usar com os programas de Perl 'setuid'
-Summary(ru.UTF-8): SUID версия языка Perl
-Summary(sv.UTF-8): sperl, att användas med setuid perlskript
-Summary(uk.UTF-8): SUID-версія мови Perl
-Summary(zh_CN.UTF-8): sperl,用来与 setuid Perl 脚本一起使用
+Summary(de.UTF-8): sperl zur Verwendung mit setuid Perl-Skripts
+Summary(es.UTF-8): sperl, para uso con los scrips de Perl setuid
+Summary(fr.UTF-8): sperl, à utiliser avec les scripts Perl setuid
+Summary(it.UTF-8): sperl, da usare con gli script di Perl setuid
+Summary(ja.UTF-8): Setuid Perl scripts と一緒に使用するための suidperl
+Summary(ko.UTF-8): Setuid 펄 스크립트와 함께 사용되는 suidperl
+Summary(pl.UTF-8): Binaria setuid root Perla dla setuid-owych skryptów Perla
+Summary(pt.UTF-8): O suidperl, para usar com os programas de Perl 'setuid'
+Summary(ru.UTF-8): SUID версия языка Perl
+Summary(sv.UTF-8): sperl, att användas med setuid perlskript
+Summary(uk.UTF-8): SUID-версія мови Perl
+Summary(zh_CN.UTF-8): sperl,用来与 setuid Perl 脚本一起使用
Group: Development/Languages/Perl
Requires: %{name}-base = %{epoch}:%{version}-%{release}
Obsoletes: perl-suidperl
%package tools
Summary: Various tools from the core Perl distribution
-Summary(pl.UTF-8): Różne narzędzia z podstawowej dystrybucji Perla
+Summary(pl.UTF-8): Różne narzędzia z podstawowej dystrybucji Perla
Group: Applications
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
%package tools-devel
Summary: Developer's tools from the core Perl distribution
-Summary(pl.UTF-8): Narzędzia z podstawowej dystrybucji Perla, przeznaczone dla programistów
+Summary(pl.UTF-8): Narzędzia z podstawowej dystrybucji Perla, przeznaczone dla programistów
Group: Development/Tools
Requires: %{name}-base = %{epoch}:%{version}-%{release}
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
%package tools-pod
Summary: Tools for manipulating files in the POD format
-Summary(pl.UTF-8): Narzędzia do przetwarzania plików w formacie POD
+Summary(pl.UTF-8): Narzędzia do przetwarzania plików w formacie POD
Group: Applications
Requires: %{name}-modules = %{epoch}:%{version}-%{release}
%package -n microperl
Summary: A really minimal Perl, even more minimal than miniperl
-Summary(pl.UTF-8): Naprawdę minimalny Perl, nawet bardziej minimalny niż miniperl
+Summary(pl.UTF-8): Naprawdę minimalny Perl, nawet bardziej minimalny niż miniperl
# XXX: is there a more appropiate group?
Group: Applications
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+#%patch1 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p0
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p0
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
+#%patch5 -p1
+#%patch6 -p1
+#%patch7 -p1
+#%patch8 -p0
+#%patch9 -p1
+#%patch10 -p1
+#%patch11 -p1
+#%patch12 -p0
+#%patch13 -p1
+#%patch14 -p1
+#%patch15 -p1
+#%patch16 -p1
%build
unset LD_SYMBOLIC_FUNCTIONS || :
%{perl_archlib}/asm-i386
%{perl_archlib}/asm-x86_64
%endif
-%ifarch sparc # sparc64?
-%{perl_archlib}/asm-sparc*
+%ifarch sparc64
+%{perl_archlib}/asm-sparc
+%{perl_archlib}/asm-sparc64
%endif
%{perl_archlib}/Data