Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > f19695891516f5285ef8610efd12b9c9 > files > 2

perl-RT-Authen-ExternalAuth-0.11-1.fc16.src.rpm

Name:           perl-RT-Authen-ExternalAuth
Version:        0.11
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
* Mon Jul 30 2012 Gabriel Somlo <somlo@cmu.edu> 0.11-1
- update to 0.11

* Wed Mar 28 2012 Gabriel Somlo <somlo@cmu.edu> 0.10-1
- update to 0.10

* Fri Oct 13 2011 Michal Ingeli <mi@v3.sk> 0.09-2
- Added missing mason templates.
- Filtered automatic requires.

* Wed Oct 12 2011 Michal Ingeli <mi@v3.sk> 0.09-1
- Specfile autogenerated by cpanspec 1.78.