Author: glen                         Date: Fri Mar 18 15:08:55 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/apache-mod_auth_openid:
   apache-mod_auth_openid.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/apache-mod_auth_openid/apache-mod_auth_openid.spec
diff -u /dev/null 
packages/apache-mod_auth_openid/apache-mod_auth_openid.spec:1.1
--- /dev/null   Fri Mar 18 16:08:55 2011
+++ packages/apache-mod_auth_openid/apache-mod_auth_openid.spec Fri Mar 18 
16:08:50 2011
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+%define                mod_name        auth_openid
+%define        apxs            %{_sbindir}/apxs
+Summary:       The Apache OpenID Module
+Name:          apache-mod_%{mod_name}
+Version:       0.6
+Release:       0.1
+License:       MIT
+Group:         Networking/Daemons/HTTP
+Source0:       
http://butterfat.net/releases/mod_auth_openid/mod_auth_openid-%{version}.tar.gz
+# Source0-md5: f72c6a716e368f83756b25c062e70666
+URL:           http://findingscience.com/mod_auth_openid/
+BuildRequires: %{apxs}
+BuildRequires: apache-devel >= 2.2
+BuildRequires: libopkele-devel >= 2.0
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sqlite3-devel
+Requires:      apache(modules-api) = %apache_modules_api
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define                _sysconfdir     %(%{apxs} -q SYSCONFDIR 
2>/dev/null)/conf.d
+
+%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 -n mod_%{mod_name}-%{version}
+
+%build
+%configure \
+       --with-apxs=%{apxs}
+%{__make} \
+       CC="%{__cc}" \
+       APACHE_CFLAGS="%{rpmcflags} -I$(%{apxs} -q INCLUDEDIR) -I$(apr-1-config 
--includedir) -I$(apu-1-config --includedir)"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
+install -p .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+
+# or, if no directives needed, put just LoadModule line
+echo 'LoadModule %{mod_name}_module    modules/mod_%{mod_name}.so' > \
+       $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%service -q httpd restart
+
+%postun
+if [ "$1" = "0" ]; then
+       %service -q httpd restart
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README UPGRADE
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/*_mod_%{mod_name}.conf
+%attr(755,root,root) %{_pkglibdir}/mod_%{mod_name}.so
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedb...@pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/03/18 15:08:50  glen
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to