head 1.13;
access;
symbols
OPENPKG_E1_MP_HEAD:1.13
OPENPKG_E1_MP:1.13
OPENPKG_1_STABLE_MP:1.6;
locks; strict;
comment @-- @;
1.13
date 2004.05.09.07.06.14; author rse; state dead;
branches;
next 1.12;
1.12
date 2004.02.07.17.57.50; author rse; state Exp;
branches;
next 1.11;
1.11
date 2004.02.03.20.05.15; author rse; state Exp;
branches;
next 1.10;
1.10
date 2004.01.23.13.12.45; author rse; state Exp;
branches;
next 1.9;
1.9
date 2003.11.21.19.07.56; author rse; state Exp;
branches;
next 1.8;
1.8
date 2003.10.02.13.24.58; author thl; state Exp;
branches;
next 1.7;
1.7
date 2003.09.03.12.48.22; author rse; state Exp;
branches;
next 1.6;
1.6
date 2003.07.23.13.32.16; author rse; state Exp;
branches;
next 1.5;
1.5
date 2003.07.22.13.41.40; author rse; state Exp;
branches;
next 1.4;
1.4
date 2003.07.08.14.41.49; author rse; state Exp;
branches;
next 1.3;
1.3
date 2003.07.08.14.25.16; author rse; state Exp;
branches;
next 1.2;
1.2
date 2003.04.09.14.02.10; author ms; state Exp;
branches;
next 1.1;
1.1
date 2003.01.23.15.14.40; author rse; state Exp;
branches;
next ;
desc
@@
1.13
log
@finally remove the old Perl 5.6 because it is no longer compatible with the perl-openpkg stuff without investigation, is already obsolete since two years and makes build farm troubles all the time
@
text
@##
## perl56.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: perl56
Summary: Practical Extraction and Reporting Language (5.6)
URL: http://www.perl.com/
Vendor: The Perl Project
Packager: The OpenPKG Project
Distribution: OpenPKG
Class: EVAL
Group: Language
License: GPL/Artistic
Version: 5.6.2
Release: 20040207
# list of sources
Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz
Patch0: perl56.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
PreReq: OpenPKG, openpkg >= 20040130, gcc
AutoReq: no
AutoReqProv: no
Provides: perl = %{version}-%{release}
Conflicts: perl < %{version}, perl > %{version}
%description
Perl ("Practical Reporting and Extraction Language") is a very
sophisticated and flexible (but this way also complex) programming
language. This is the original implementation of the Perl 5 interpreter
from Larry Wall and his community.
THIS IS THE ALREADY OBSOLETE VERSION 5.6! USE IT ON YOUR OWN RISK!
%track
prog perl56 = {
version = %{version}
url = ftp://ftp.cpan.org/pub/CPAN/src/
regex = perl-(5\.6\.\d+)\.tar\.gz
}
%prep
%setup -q -n perl-%{version}
%patch -p0
chmod -R u+w .
%build
# configure the Perl package
%{l_shtool} subst \
-e 's;\(.*for thislib in $libswanted.*\);libswanted=`echo " $libswanted " | sed -e "s/ bind / /g" -e "s/ db / /g" -e "s/ gdbm / /g" -e "s/ iconv / /g"`\; \1;' \
-e 's;package=perl5;package=perl;' \
Configure
%{l_shtool} subst \
-e 's; */usr/local/lib;;' \
hints/freebsd.sh hints/netbsd.sh
./Configure \
-d -e -s \
-Dprefix=%{l_prefix} \
-Dvendorprefix=%{l_prefix} \
-Dinstallprefix=$RPM_BUILD_ROOT%{l_prefix} \
-Dcc="%{l_cc}" -Doptimize="%{l_cflags -O}" \
-Dlocincpth="%{l_prefix}/include" \
-Dloclibpth="%{l_prefix}/lib" \
-Dldflags="%{l_ldflags}" \
-Dlibpth="%{l_prefix}/lib /lib /usr/lib /usr/ccs/lib" \
-Dglibpth="%{l_prefix}/lib /lib /usr/lib /usr/ccs/lib" \
-Dscriptdir="%{l_prefix}/bin" \
-Uinstallusrbinperl \
-Ui_malloc -Ui_iconv -Ui_db
# build the Perl package
%{l_make} %{l_mflags} -f Makefile
%install
rm -rf $RPM_BUILD_ROOT
# install the Perl package via standard procedure
%{l_make} %{l_mflags} -f Makefile install
# install Perl versions of system header files
( cd /usr/include
PERL5LIB=$RPM_BUILD_ROOT%{l_prefix}/lib/perl
export PERL5LIB
eval `$RPM_BUILD_ROOT%{l_prefix}/bin/perl -V:installarchlib`
echo *.h sys/*.h |\
xargs $RPM_BUILD_ROOT%{l_prefix}/bin/perl \
$RPM_BUILD_ROOT%{l_prefix}/bin/h2ph -h -d $installarchlib
) || exit $?
# post-adjustments to installation tree
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/perl%{version}
rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man3
# re-adjust configuration as mentioned in Perl's INSTALL document
$RPM_BUILD_ROOT%{l_prefix}/bin/perl -pi.orig \
-e "s:$RPM_BUILD_ROOT%{l_prefix}:%{l_prefix}:g" \
$RPM_BUILD_ROOT%{l_prefix}/lib/perl/%{version}/*/Config.pm \
`find $RPM_BUILD_ROOT%{l_prefix}/lib/perl/%{version}/ \
-type f -name ".packlist" -print`
find $RPM_BUILD_ROOT%{l_prefix}/lib/perl/ \
-name "*.orig" -print | xargs rm -f
# strip binary files
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
# determine installed files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.12
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@@
1.11
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release: 20040203
d63 1
a63 1
version = 5.6.2
@
1.10
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [EVAL]
d37 1
a37 1
Release: 20031121
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 20030708, gcc
PreReq: OpenPKG, openpkg >= 20030708, gcc
d60 7
@
1.9
log
@upgrading package: perl56 5.6.1 -> 5.6.2
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.8
log
@SA-2003.039-perl; CAN-2003-0615 (porting from perl-5.8.0)
@
text
@d35 2
a36 2
Version: 5.6.1
Release: 20031002
@
1.7
log
@apply similar module search order patches to Perl 5.6.1 as we now have for Perl 5.8.0
@
text
@d36 1
a36 1
Release: 20030903
@
1.6
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
text
@d36 1
a36 1
Release: 20030723
d77 1
@
1.5
log
@make sure patch file uses exactly the package name as prefix
@
text
@d36 1
a36 1
Release: 20030722
d105 1
a105 1
)
@
1.4
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release: 20030708
d40 1
a40 1
Patch0: perl.patch
@
1.3
log
@finish modernization of build flags through %{l_ldflags} and %{l_cppflags}
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.2
log
@Speclint police, removed whitespace after shell redirection
@
text
@d36 1
a36 1
Release: 20030409
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20021230, gcc
PreReq: OpenPKG, openpkg >= 20021230, gcc
d81 1
a81 1
-Dldflags="-L%{l_prefix}/lib" \
@
1.1
log
@new package: perl56 5.6.1 (Practical Extraction and Reporting Language (5.6))
@
text
@d36 1
a36 1
Release: 20030123
d121 1
a121 1
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2> /dev/null || true
@