e187361
Name:           perl-AuthCAS
e187361
Version:        1.5
1670690
Release:        3%{?dist}
e187361
Summary:        Client library for CAS 2.0 authentication server
e187361
License:        GPL+ or Artistic
e187361
Group:          Development/Libraries
e187361
URL:            http://search.cpan.org/dist/AuthCAS/
e187361
Source0:        http://search.cpan.org/CPAN/authors/id/O/OS/OSALAUN/AuthCAS-%{version}.tar.gz
e187361
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e187361
BuildArch:      noarch
e187361
BuildRequires:  perl(Module::Build)
e187361
BuildRequires:  perl(Test::More)
e187361
# Test::Pod::Coverage test is failing, but that's no a blocker, so let's keep
e187361
# it as a comment for now.
e187361
#BuildRequires:  perl(Test::Pod::Coverage)
e187361
BuildRequires:  perl(Test::Pod)
e187361
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e187361
e187361
e187361
%description
e187361
AuthCAS aims at providing a Perl API to Yale's Central Authentication
e187361
System (CAS). Only a basic Perl library is provided with CAS whereas
e187361
AuthCAS is a full object-oriented library.
e187361
e187361
e187361
%prep
e187361
%setup -q -n AuthCAS-%{version}
e187361
iconv -f iso8859-1 -t utf-8 README > README.utf8 && \
e187361
touch -r README README.utf8 && \
e187361
mv -f README.utf8 README
e187361
e187361
e187361
%build
e187361
%{__perl} Build.PL installdirs=vendor
e187361
./Build
e187361
e187361
e187361
%install
e187361
rm -rf $RPM_BUILD_ROOT
e187361
e187361
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
e187361
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
e187361
e187361
%{_fixperms} $RPM_BUILD_ROOT/*
e187361
e187361
e187361
%check
e187361
./Build test
e187361
e187361
e187361
%clean
e187361
rm -rf $RPM_BUILD_ROOT
e187361
e187361
e187361
%files
e187361
%defattr(-,root,root,-)
e187361
%doc Changes README
e187361
%{perl_vendorlib}/*
e187361
%{_mandir}/man3/*
e187361
e187361
e187361
%changelog
1670690
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5-3
1670690
- Perl mass rebuild
1670690
e187361
* Sat May 21 2011 Xavier Bachelot <xavier@bachelot.org> 1.5-2
e187361
- Remove superfluous Requires:.
e187361
e187361
* Mon May 16 2011 Xavier Bachelot <xavier@bachelot.org> 1.5-1
e187361
- Update to 1.5.
e187361
e187361
* Fri Dec 03 2010 Xavier Bachelot <xavier@bachelot.org> 1.4-1
e187361
- Initial Fedora release.