rpms/perl-Catalyst-Plugin-Session/devel perl-Catalyst-Plugin-Session.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: cweyl

Update of /cvs/extras/rpms/perl-Catalyst-Plugin-Session/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1371/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Catalyst-Plugin-Session.spec 
Log Message:
initial import



--- NEW FILE perl-Catalyst-Plugin-Session.spec ---
Name:           perl-Catalyst-Plugin-Session
Version:        0.19
Release:        1%{?dist}
Summary:        Catalyst generic session plugin 
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Catalyst-Plugin-Session/
Source0:        http://www.cpan.org/authors/id/N/NU/NUFFIN/Catalyst-Plugin-Session-%{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) >= 5.7010
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Object::Signature)
BuildRequires:  perl(Test::Deep)
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(Test::MockObject) >= 1.01
BuildRequires:  perl(Test::More)
# optional tests
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)

# NOTE FOR TESTS: there are optional tests in this module using
# C::P::S::State::Cookie.  However, while C::P::S::State::Cookie is an
# optional module for tests in this package, this package is a mandatory BR of
# C::P::S::State::Cookie.  We must not BR C::P::S::State::Cookie to avoid
# circular build deps.

%description
This plugin is the base of two related parts of functionality
required for session management in web applications.

The first part, the State, is getting the browser to repeat back a
session key, so that the web application can identify the client and
logically string several requests together into a session.

The second part, the Store, deals with the actual storage of information 
about the client. This data is stored so that the it may be revived for 
every request made by the same client.  

This plugin links the two pieces together.

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

# make sure doc/tests don't generate provides
# note we first filter out the bits in _docdir...
cat << \EOF > %{name}-prov
#!/bin/sh
FOO=`perl -p -e 's|%{buildroot}%{_docdir}/%{name}-%{version}\S+||'`
%{__perl_provides} $FOO | sed -e '/perl([St].*)/d'
EOF

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

%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
TEST_POD=1 make test

%clean
rm -rf %{buildroot}

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

%changelog
* Tue Mar 18 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.19-1
- Specfile autogenerated by cpanspec 1.74.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Plugin-Session/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 May 2008 20:29:51 -0000	1.1
+++ .cvsignore	30 May 2008 20:59:29 -0000	1.2
@@ -0,0 +1 @@
+Catalyst-Plugin-Session-0.19.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Plugin-Session/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 May 2008 20:29:51 -0000	1.1
+++ sources	30 May 2008 20:59:29 -0000	1.2
@@ -0,0 +1 @@
+eb7e9679234cd4f4269b5b1869141082  Catalyst-Plugin-Session-0.19.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux