[perl-Apache-Session-LDAP] Initial import (perl-Apache-Session-LDAP-0.3-1)

Paul Howarth pghmcfc at fedoraproject.org
Wed Jan 28 13:46:26 UTC 2015


commit 7034a4806ca39aa86dd91b625e4ca54444c066e7
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Jan 28 13:45:27 2015 +0000

    Initial import (perl-Apache-Session-LDAP-0.3-1)
    
    LDAP implementation of Apache::Session. Sessions are stored as LDAP entries
    inside a branch.

 .gitignore                    |    1 +
 perl-Apache-Session-LDAP.spec |   58 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4290b58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Apache-Session-LDAP-[0-9.]*.zip
diff --git a/perl-Apache-Session-LDAP.spec b/perl-Apache-Session-LDAP.spec
new file mode 100644
index 0000000..4b4d826
--- /dev/null
+++ b/perl-Apache-Session-LDAP.spec
@@ -0,0 +1,58 @@
+Name:		perl-Apache-Session-LDAP
+Version:	0.3
+Release:	1%{?dist}
+Summary:	LDAP implementation of Apache::Session
+Group:		Applications/System
+License:	GPL+ or Artistic
+URL:		http://search.cpan.org/dist/Apache-Session-LDAP/
+Source0:	http://search.cpan.org/CPAN/authors/id/C/CO/COUDOT/Apache-Session-LDAP-%{version}.zip
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires:	perl(Apache::Session)
+BuildRequires:	perl(Apache::Session::Generate::MD5)
+BuildRequires:	perl(Apache::Session::Lock::Null)
+BuildRequires:	perl(Apache::Session::Serialize::Base64)
+BuildRequires:	perl(Net::LDAP)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(vars)
+# Test Suite
+BuildRequires:	perl(Test::More)
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+LDAP implementation of Apache::Session. Sessions are stored as LDAP entries
+inside a branch.
+
+%prep
+%setup -q -n Apache-Session-LDAP-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%doc Changes README
+%{perl_vendorlib}/Apache/
+%{_mandir}/man3/Apache::Session::LDAP.3*
+%{_mandir}/man3/Apache::Session::Store::LDAP.3*
+
+%changelog
+* Tue Jan 27 2015 Paul Howarth <paul at city-fan.org> - 0.3-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..58e87d7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fb38346df633cdddc8d01ebb057bea31  Apache-Session-LDAP-0.3.zip



More information about the perl-devel mailing list