Name: mod_auth_openid Version: 0.7 Release: 1%{?dist} Summary: OpenID authentication module for Apache Group: System Environment/Daemons License: BSD URL: http://findingscience.com/mod_auth_openid/ Source0: https://github.com/downloads/bmuller/%{name}/%{name}-%{version}.tar.gz Source1: mod_auth_openid-auth_openid.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: httpd-devel, libopkele-devel, pcre-devel, curl-devel Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel) %description mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID consumer as specified in the OpenID 2.0 specification. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules install -m 755 .libs/%{name}.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/auth_openid.conf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING README %{_libdir}/httpd/modules/*.so %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf %changelog * Fri May 25 2012 Kevin Fenzi - 0.7-1 - Update to 0.7 and resubmit for review. * Mon Mar 28 2011 Bryan O'Sullivan - 0.6-1 - Initial Fedora packaging