535cfb5
Name:           perl-Authen-CAS-Client
79495cf
Version:        0.07
e5d28c1
Release:        5%{?dist}
535cfb5
Summary:        Interface for authentication via JA-SIG's Central Authentication Service
79495cf
License:        MIT
535cfb5
URL:            http://search.cpan.org/dist/Authen-CAS-Client/
535cfb5
Source0:        http://www.cpan.org/authors/id/P/PR/PRAVUS/Authen-CAS-Client-%{version}.tar.gz
535cfb5
BuildArch:      noarch
e5d28c1
BuildRequires:  coreutils
e5d28c1
BuildRequires:  make
e5d28c1
BuildRequires:  perl
5e8e5ea
BuildRequires:  perl-generators
e5d28c1
BuildRequires:  perl(inc::Module::Install)
e5d28c1
BuildRequires:  perl(Module::Install::AutoInstall)
e5d28c1
BuildRequires:  perl(Module::Install::Metadata)
e5d28c1
BuildRequires:  perl(Module::Install::WriteAll)
e5d28c1
BuildRequires:  perl(strict)
e5d28c1
BuildRequires:  perl(warnings)
e5d28c1
BuildRequires:  sed
e5d28c1
# Run-time:
e5d28c1
BuildRequires:  perl(:VERSION) >= 5.6.1
e5d28c1
BuildRequires:  perl(base)
e5d28c1
BuildRequires:  perl(LWP::UserAgent)
535cfb5
BuildRequires:  perl(URI) >= 0.00
e5d28c1
BuildRequires:  perl(URI::QueryParam)
535cfb5
BuildRequires:  perl(XML::LibXML) >= 0.00
e5d28c1
# Tests:
e5d28c1
BuildRequires:  perl(HTTP::Response)
e5d28c1
BuildRequires:  perl(lib)
e5d28c1
BuildRequires:  perl(Test::MockObject) >= 0.00
e5d28c1
BuildRequires:  perl(Test::More) >= 0.00
e5d28c1
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
535cfb5
535cfb5
%description
535cfb5
The Authen::CAS::Client module provides a simple interface for
535cfb5
authenticating users using JA-SIG's CAS protocol. Both CAS v1.0 and v2.0
535cfb5
are supported.
535cfb5
535cfb5
%prep
535cfb5
%setup -q -n Authen-CAS-Client-%{version}
e5d28c1
# Remove bundled modules
e5d28c1
rm -rf inc/*
e5d28c1
sed -i -e '/^inc\//d' MANIFEST
535cfb5
535cfb5
%build
a5c65eb
# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
e5d28c1
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --skipdeps
535cfb5
make %{?_smp_mflags}
535cfb5
535cfb5
%install
535cfb5
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
535cfb5
%{_fixperms} $RPM_BUILD_ROOT/*
535cfb5
535cfb5
%check
535cfb5
make test
535cfb5
535cfb5
%files
e5d28c1
%license LICENSE
e5d28c1
%doc Changes README
535cfb5
%{perl_vendorlib}/*
535cfb5
%{_mandir}/man3/*
535cfb5
535cfb5
%changelog
e5d28c1
* Mon Jun 26 2017 Petr Pisar <ppisar@redhat.com> - 0.07-5
e5d28c1
- Specify all dependencies
e5d28c1
- Fix building with Perl 5.26.0 by removing bundled code (bug #1465051)
e5d28c1
- Modernize spec file (Group, License, perl(:MODULE_COMPAT))
e5d28c1
290e38c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-4
290e38c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
290e38c
f690660
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-3
f690660
- Perl 5.24 rebuild
f690660
fabb9f4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-2
fabb9f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fabb9f4
79495cf
* Mon Aug 17 2015 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 0.07-1
79495cf
- New upstream release
79495cf
- License changed to MIT
79495cf
7e831e0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-6
7e831e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e831e0
b182b97
* Tue Jun 09 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-5
b182b97
- Perl 5.22 rebuild
b182b97
9c1d3a1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
9c1d3a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9c1d3a1
1ae6215
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
1ae6215
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1ae6215
37b3c4c
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.06-2
37b3c4c
- Perl 5.18 rebuild
37b3c4c
20a6fb2
* Fri May 31 2013 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 0.06-1
20a6fb2
- New upstream release
acb7e77
a5c65eb
* Sat Feb 23 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.05-6
a5c65eb
- Pass --skipdeps to prevent ExtUtils::AutoInstall from accessing CPAN.
a5c65eb
  (Fix FTBFS #914242).
a5c65eb
0eba560
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-5
0eba560
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0eba560
4ab03dc
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
4ab03dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4ab03dc
4ebd6eb
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
4ebd6eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4ebd6eb
535cfb5
* Mon Nov 28 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 0.05-2
535cfb5
- Specfile cleanups
535cfb5
* Thu Apr 28 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 0.05-1
535cfb5
- Specfile autogenerated by cpanspec 1.78.