Name: mod_auth_cas Version: 1.0.8.1 Release: 1%{?dist} Summary: Apache 2.0/2.2 compliant module that supports the CASv1 and CASv2 protocols Group: System Environment/Daemons License: GPLv3+ with exceptions URL: http://www.ja-sig.org/wiki/display/CASC/mod_auth_cas # The source for this package was pulled from the upstream's vcs. Their # releases are stored in SVN instead of exported to a tar.gz, I used the # following commands to do so: # svn export https://www.ja-sig.org/svn/cas-clients/mod_auth_cas/tags/mod_auth_cas-1.0.8.1/ mod_auth_cas-1.0.8.1 # tar -czvf mod_auth_cas-1.0.8.1.tar.gz mod_auth_cas-1.0.8.1/ Source0: mod_auth_cas-1.0.8.1.tar.gz Source1: auth_cas.conf BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: openssl-devel BuildRequires: httpd-devel Requires: httpd %description mod_auth_cas is an Apache 2.0/2.2 compliant module that supports the CASv1 and CASv2 protocols %prep %setup -q %build %configure --with-apxs=%{_sbindir}/apxs make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot}/%{_libdir}/httpd/modules/ mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/auth_cas.conf %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README %{_libdir}/httpd/modules/*.so %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf %changelog * Wed Apr 28 2010 Adam Miller 1.0.8.1-1 - added requires of httpd - fixed mixed use of macros - updated to latest version * Fri Aug 07 2009 Adam Miller - 1.0.8-1 - First attempt to package mod_auth_cas for Fedora