[perl-CGI-Session-Driver-memcached] Initial import (#700350).

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

 



commit 6104ba04a54f44275ad6580c0dab5d4c2f9aa87d
Author: Nicholas van Oudtshoorn <vanoudt@xxxxxxxxx>
Date:   Fri Oct 28 10:34:51 2011 +0800

    Initial import (#700350).

 .gitignore                             |    1 +
 perl-CGI-Session-Driver-memcached.spec |   62 ++++++++++++++++++++++++++++++++
 sources                                |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4166a63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CGI-Session-Driver-memcached-0.04.tar.gz
diff --git a/perl-CGI-Session-Driver-memcached.spec b/perl-CGI-Session-Driver-memcached.spec
new file mode 100644
index 0000000..4526c7f
--- /dev/null
+++ b/perl-CGI-Session-Driver-memcached.spec
@@ -0,0 +1,62 @@
+Name:           perl-CGI-Session-Driver-memcached
+Version:        0.04
+Release:        2%{?dist}
+Summary:        CGI::Session driver for memcached
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/CGI-Session-Driver-memcached/
+Source0:        http://www.cpan.org/authors/id/O/OI/OINUME/CGI-Session-Driver-memcached-%{version}.tar.gz
+# Update the FSF Address in the GPL License
+# https://rt.cpan.org/Public/Bug/Display.html?id=67806
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(CGI::Session) >= 4
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  memcached
+BuildRequires:  perl(Cache::Memcached)
+BuildRequires:  perl(Test::More)
+Requires:       perl(CGI::Session) >= 4
+Requires:       perl(Cache::Memcached)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+memcached stores session data into memcached.
+
+%prep
+%setup -q -n CGI-Session-Driver-memcached-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+memcached -l 127.0.0.1 &
+make test || rc=$?
+kill %1
+exit $rc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue May 31 2011 Nicholas van Oudtshoorn <vanoudt@xxxxxxxxx> 0.04-2
+- Removed patch to FSF license, upstream bug report at https://rt.cpan.org/Public/Bug/Display.html?id=67806
+- Added memcached build requirements, so that the tests actually run
+* Thu Apr 28 2011 Nicholas van Oudtshoorn 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..1cb99f4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9e2e241282c5f7e9bc5b263fc0368698  CGI-Session-Driver-memcached-0.04.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[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