%define upstream_name Authen-CAS-UserAgent %define upstream_version 0.91 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: CAS-aware LWP::UserAgent License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Authen/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTTP::Message) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::More) BuildRequires: perl(URI) BuildRequires: perl(XML::LibXML) BuildRequires: perl(Module::Build::Compat) BuildArch: noarch %description This module attempts to add transparent CAS authentication support to LWP::UserAgent. It currently supports using proxy granting tickets, the RESTful API, screen scraping the login screen, or a custom login callback when CAS authentication is required. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc LICENSE META.json META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sat Mar 02 2013 guillomovitch <guillomovitch> 0.910.0-1.mga3 + Revision: 401011 - new version * Fri Feb 15 2013 guillomovitch <guillomovitch> 0.900.0-1.mga3 + Revision: 398561 - imported package perl-Authen-CAS-UserAgent * Fri Feb 15 2013 cpan2dist 0.9-1mga - initial mageia release, generated with cpan2dist