[perl-AuthCAS] Initial import

Xavier Bachelot xavierb at fedoraproject.org
Mon May 23 19:38:56 UTC 2011


commit e1873615e26f537a21fa4e31c30c0d45b8b0b3c9
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Mon May 23 21:38:25 2011 +0200

    Initial import

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


More information about the scm-commits mailing list