From 85bd875831c73b99ffaa4232271dc6dfa4d07187 Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Fri, 21 Apr 2006 19:06:13 +0000 Subject: [PATCH] auto-import perl-GSSAPI-0.21-1 on branch devel from perl-GSSAPI-0.21-1.src.rpm --- .cvsignore | 1 + perl-GSSAPI.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+) create mode 100644 perl-GSSAPI.spec diff --git a/.cvsignore b/.cvsignore index e69de29..edfbc7b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +GSSAPI-0.21.tar.gz diff --git a/perl-GSSAPI.spec b/perl-GSSAPI.spec new file mode 100644 index 0000000..afcc0ec --- /dev/null +++ b/perl-GSSAPI.spec @@ -0,0 +1,71 @@ +# +# Rebuild option: +# +# --with testsuite - run the test suite +# + +Name: perl-GSSAPI +Version: 0.21 +Release: 1%{?dist} +Summary: Perl extension providing access to the GSSAPIv2 library + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/GSSAPI/ +Source0: http://www.cpan.org/authors/id/A/AG/AGROLMS/GSSAPI-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: perl +BuildRequires: krb5-devel +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module gives access to the routines of the GSSAPI library, as +described in rfc2743 and rfc2744 and implemented by the Kerberos-1.2 +distribution from MIT. + + +%prep +%setup -q -n GSSAPI-%{version} +chmod a-x examples/*.pl + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +# fails a couple of tests if network not available +%{?_with_testsuite:make test} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README examples/ +%{perl_vendorarch}/GSSAPI* +%{perl_vendorarch}/auto/GSSAPI/ +%{_mandir}/man3/*.3* + + +%changelog +* Thu Apr 6 2006 Jose Pedro Oliveira - 0.21-1 +- Update to 0.21. + +* Fri Mar 31 2006 Jose Pedro Oliveira - 0.20-1 +- First build. diff --git a/sources b/sources index e69de29..b52cc37 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2779227c30afa412415680da54b98a10 GSSAPI-0.21.tar.gz