rpms/perl-Catalyst-Plugin-Authentication/F-8 perl-Catalyst-Plugin-Authentication.spec, NONE, 1.1 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Tue Jun 17 20:27:10 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-Catalyst-Plugin-Authentication/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19107

Modified Files:
	sources 
Added Files:
	perl-Catalyst-Plugin-Authentication.spec 
Log Message:
pesudo-branch of perl-Catalyst-Plugin-Authentication to F-8


--- NEW FILE perl-Catalyst-Plugin-Authentication.spec ---
Name:           perl-Catalyst-Plugin-Authentication
Version:        0.10006
Release:        4%{?dist}
Summary:        Infrastructure plugin for the Catalyst authentication framework
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Catalyst-Plugin-Authentication/
Source0:        http://www.cpan.org/authors/id/J/JA/JAYK/Catalyst-Plugin-Authentication-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

BuildRequires:  perl(Catalyst::Plugin::Session) >= 0.10
BuildRequires:  perl(Catalyst::Runtime)
BuildRequires:  perl(Class::Inspector)
BuildRequires:  perl(Digest::MD5)
BuildRequires:  perl(Digest::SHA1)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Exception)
# optional tests
BuildRequires:  perl(Catalyst::Plugin::Session::State::Cookie)
BuildRequires:  perl(Test::WWW::Mechanize::Catalyst)

# not automagically picked up...
Requires:       perl(Catalyst::Plugin::Session) >= 0.10
Requires:       perl(Catalyst::Runtime)

%description
The authentication plugin provides generic user support for Catalyst apps.
It is the basis for both authentication (checking the user is who they
claim to be), and authorization (allowing the user to do what the system
authorises them to do).

%prep
%setup -q -n Catalyst-Plugin-Authentication-%{version}

# make sure doc/tests don't generate provides
# note we first filter out the bits in _docdir...
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
EOF

%define __perl_provides %{_builddir}/Catalyst-Plugin-Authentication-%{version}/%{name}-prov
chmod +x %{__perl_provides}

cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` 
EOF

%define __perl_requires %{_builddir}/Catalyst-Plugin-Authentication-%{version}/%{name}-req
chmod +x %{__perl_requires}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
# note we do not run pod tests right now -- they seem to be failing
#TEST_POD=1 make test
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Tue Jun 17 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.10006-4
- bump

* Mon Jun 16 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.10006-3
- add br on Test::Exception

* Mon Jun 02 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.10006-2
- drop buildroot references from prep

* Sat May 31 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.10006-1
- Specfile autogenerated by cpanspec 1.75.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Plugin-Authentication/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Jun 2008 17:09:55 -0000	1.1
+++ sources	17 Jun 2008 20:26:26 -0000	1.2
@@ -0,0 +1 @@
+dbc176a55ba2b7ef2bfd0980f1772c50  Catalyst-Plugin-Authentication-0.10006.tar.gz




More information about the fedora-extras-commits mailing list