head 1.10;
access;
symbols;
locks; strict;
comment @-- @;
1.10
date 2009.09.04.19.02.34; author rse; state Exp;
branches;
next 1.9;
commitid GzUtw4zFAb6Rwo2u;
1.9
date 2009.08.11.06.35.01; author rse; state Exp;
branches;
next 1.8;
commitid Lk7OTlTtSQkeafZt;
1.8
date 2009.04.18.13.13.57; author rse; state Exp;
branches;
next 1.7;
commitid 4pHXU27WTIGCZuKt;
1.7
date 2008.03.17.07.11.15; author rse; state Exp;
branches;
next 1.6;
commitid mI8i7tVg79w1PrVs;
1.6
date 2008.01.03.18.33.01; author rse; state Exp;
branches;
next 1.5;
commitid UA2XrblvfB7oYZLs;
1.5
date 2008.01.01.15.02.00; author rse; state Exp;
branches;
next 1.4;
commitid B8esaHJHoduuKILs;
1.4
date 2007.12.19.13.50.54; author rse; state Exp;
branches;
next 1.3;
commitid UuM47XVlo9ekT2Ks;
1.3
date 2007.10.09.19.52.30; author rse; state Exp;
branches;
next 1.2;
commitid ctghOaywXAM2bXAs;
1.2
date 2007.04.10.16.57.29; author rse; state Exp;
branches;
next 1.1;
commitid cVABnQIf17vI3yds;
1.1
date 2007.01.20.14.59.15; author rse; state Exp;
branches;
next ;
commitid 245pw1x0o94AYf3s;
desc
@@
1.10
log
@change dependency to Perl 5.10 only
@
text
@##
## perl-kerberos.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## 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.
##
# versions of individual parts
%define V_perl 5.10
%define V_authen_krb5 1.8
%define V_authen_krb5_admin 0.11
%define V_authen_krb5_simple 0.42
%define V_authen_krb5_easy 0.90
%define V_authen_krb5password 1.03
# package information
Name: perl-kerberos
Summary: Perl Modules for use with MIT Kerberos
URL: http://www.cpan.org/
Vendor: Perl Community
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Perl
License: GPL/Artistic
Version: %{V_perl}
Release: 20090904
# list of sources
Source0: http://www.cpan.org/authors/id/J/JH/JHORWITZ/Krb5-%{V_authen_krb5}.tar.gz
Source1: http://www.cpan.org/authors/id/K/KO/KORTY/Authen-Krb5-Admin-%{V_authen_krb5_admin}.tar.gz
Source2: http://www.cpan.org/authors/id/D/DS/DSTUART/Authen-Krb5-Simple-%{V_authen_krb5_simple}.tar.gz
Source3: http://www.cpan.org/authors/id/S/SC/SCHALLEE/Authen-Krb5-Easy-%{V_authen_krb5_easy}.tar.gz
Source4: http://www.cpan.org/authors/id/S/SH/SHUQUE/Authen-Krb5Password-%{V_authen_krb5password}.tar.gz
Patch0: perl-kerberos.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}
PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
BuildPreReq: kerberos
PreReq: kerberos
AutoReq: no
AutoReqProv: no
%description
Perl modules for use with MIT Kerberos:
- Authen::Krb5 (%{V_authen_krb5})
- Authen::Krb5::Admin (%{V_authen_krb5_admin})
- Authen::Krb5::Simple (%{V_authen_krb5_simple})
- Authen::Krb5::Easy (%{V_authen_krb5_easy})
- Authen::Krb5Password (%{V_authen_krb5password})
%track
prog perl-kerberos:Authen-Krb5 = {
version = %{V_authen_krb5}
url = http://www.cpan.org/authors/id/J/JH/JHORWITZ/
regex = Krb5-(__VER__)\.tar\.gz
}
prog perl-kerberos:Authen-Krb5-Admin = {
version = %{V_authen_krb5_admin}
url = http://www.cpan.org/authors/id/K/KO/KORTY/
regex = Authen-Krb5-Admin-(__VER__)\.tar\.gz
}
prog perl-kerberos:Authen-Krb5-Simple = {
version = %{V_authen_krb5_simple}
url = http://www.cpan.org/authors/id/D/DS/DSTUART/
regex = Authen-Krb5-Simple-(__VER__)\.tar\.gz
}
prog perl-kerberos:Authen-Krb5-Easy = {
version = %{V_authen_krb5_easy}
url = http://www.cpan.org/authors/id/S/SC/SCHALLEE/
regex = Authen-Krb5-Easy-(__VER__)\.tar\.gz
}
prog perl-kerberos:Authen-Krb5Password = {
version = %{V_authen_krb5password}
url = http://www.cpan.org/authors/id/S/SH/SHUQUE/
regex = Authen-Krb5Password-(__VER__)\.tar\.gz
}
%prep
%setup -q -c
%setup -q -T -D -a 1
%setup -q -T -D -a 2
%setup -q -T -D -a 3
%setup -q -T -D -a 4
%patch -p0
%build
%install
rm -rf $RPM_BUILD_ROOT
%{l_prefix}/bin/perl-openpkg prepare
kerberos_cflags="`%{l_prefix}/bin/krb5-config --cflags`"
kerberos_libs="`%{l_prefix}/bin/krb5-config --libs`"
( cd Krb5-%{V_authen_krb5}
%{l_shtool} subst \
-e 's;/usr/include;%{l_prefix}/include/kerberos;g' \
-e 's;/usr/lib;%{l_prefix}/lib/kerberos;g' \
-e 's;/usr/local/krb5/lib;%{l_prefix}/lib/kerberos;g' \
-e 's;/usr/local/krb5/include;%{l_prefix}/include/kerberos;g' \
-e "s;-lresolv;$kerberos_libs -lresolv;g" \
Makefile.PL
%{l_prefix}/bin/perl-openpkg configure build install
) || exit $?
( cd Authen-Krb5-Admin-%{V_authen_krb5_admin}
%{l_shtool} subst %{l_value -s -a} \
Makefile.PL
%{l_prefix}/bin/perl-openpkg configure build install
) || exit $?
( cd Authen-Krb5-Simple-%{V_authen_krb5_simple}
export KRB5_INCLUDE=%{l_prefix}/include/kerberos
export KRB5_LIB=%{l_prefix}/lib/kerberos
%{l_prefix}/bin/perl-openpkg configure build install
) || exit $?
( cd Authen-Krb5-Easy-%{V_authen_krb5_easy}
export KRB5_INCLUDE=%{l_prefix}/include/kerberos
export KRB5_LIB=%{l_prefix}/lib/kerberos
%{l_prefix}/bin/perl-openpkg configure build install
) || exit $?
( cd Authen-Krb5Password-%{V_authen_krb5password}
%{l_shtool} subst %{l_value -s -a} \
-e "s;-I/usr/local/include;$kerberos_cflags;g" \
-e "s;-L/usr/local/lib -lkrb5 -lcom_err;$kerberos_libs;g" \
Makefile.PL
%{l_prefix}/bin/perl-openpkg configure build install
) || exit $?
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.9
log
@modifying package: perl-kerberos-5.10.0 20080317 -> 20090811
@
text
@d25 1
a25 1
%define V_perl 5.10.0
d43 1
a43 1
Release: 20090811
@
1.8
log
@bump years in copyright messages
@
text
@d28 1
a28 1
%define V_authen_krb5_simple 0.40
d43 1
a43 1
Release: 20080317
@
1.7
log
@modifying package: perl-kerberos-5.10.0 20080103 -> 20080317
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.6
log
@modifying package: perl-kerberos-5.10.0 20080101 -> 20080103
@
text
@d26 3
a28 3
%define V_authen_krb5 1.7
%define V_authen_krb5_admin 0.09
%define V_authen_krb5_simple 0.32
d43 1
a43 1
Release: 20080103
d115 2
@
1.5
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d26 1
a26 1
%define V_authen_krb5 1.6
d43 1
a43 1
Release: 20080101
@
1.4
log
@switch from Perl 5.8 to 5.10
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d43 1
a43 1
Release: 20071219
@
1.3
log
@clearly indicate that this is MIT Kerberos stuff only
@
text
@d26 1
a26 1
%define V_perl 5.8.8
d44 1
a44 1
Release: 20071009
@
1.2
log
@modifying package: perl-kerberos-5.8.8 20070120 -> 20070410
@
text
@d35 1
a35 1
Summary: Perl Modules for use with Kerberos
d44 1
a44 1
Release: 20070410
d65 1
a65 1
Perl modules for use with Kerberos:
@
1.1
log
@new package: perl-kerberos 5.8.8 (Perl Modules for use with Kerberos)
@
text
@d31 1
a31 1
%define V_authen_krb5password 1.02
d44 1
a44 1
Release: 20070120
@