[perl-RT-Authen-ExternalAuth/el6] initial commit

Gabriel L. Somlo somlo at fedoraproject.org
Wed Mar 28 18:31:35 UTC 2012


commit 5ee6e104cc71f3bed5a7d198dc63e3dce26e4df3
Author: Gabriel L. Somlo <somlo at hedwig.ini.cmu.edu>
Date:   Wed Mar 28 14:31:33 2012 -0400

    initial commit

 .gitignore                       |    1 +
 perl-RT-Authen-ExternalAuth.spec |   68 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cc8dfcb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/RT-Authen-ExternalAuth-0.10.tar.gz
diff --git a/perl-RT-Authen-ExternalAuth.spec b/perl-RT-Authen-ExternalAuth.spec
new file mode 100644
index 0000000..ff12c0c
--- /dev/null
+++ b/perl-RT-Authen-ExternalAuth.spec
@@ -0,0 +1,68 @@
+Name:           perl-RT-Authen-ExternalAuth
+Version:        0.10
+Release:        1%{?dist}
+Summary:        RT Authentication using External Sources
+License:        GPLv2+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/RT-Authen-ExternalAuth/
+Source0:        http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/RT-Authen-ExternalAuth-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  rt3
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(CGI::Cookie)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Net::LDAP)
+BuildRequires:  perl(Net::SSLeay)
+Requires:       rt3
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+A complete package for adding external authentication mechanisms to RT. It
+currently supports LDAP via Net::LDAP and External Database authentication
+for any database with an installed DBI driver.
+
+%prep
+%setup -q -n RT-Authen-ExternalAuth-%{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 \;
+
+install -d -m 755 $RPM_BUILD_ROOT/%{_datarootdir}/rt3/html
+cp -r html/* $RPM_BUILD_ROOT/%{_datarootdir}/rt3/html/
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog LICENSE README etc/RT_SiteConfig.pm
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+%{_datarootdir}/rt3/html/*
+
+%changelog
+* Wed Mar 28 2012 Gabriel Somlo <somlo at cmu.edu> 0.10-1
+- update to 0.10
+
+* Fri Oct 13 2011 Michal Ingeli <mi at v3.sk> 0.09-2
+- Added missing mason templates.
+- Filtered automatic requires.
+
+* Wed Oct 12 2011 Michal Ingeli <mi at v3.sk> 0.09-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..eb54fa6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+25a1ab0d52df776a7f77d2c35e74e105  RT-Authen-ExternalAuth-0.10.tar.gz


More information about the scm-commits mailing list