Author: qboosh Date: Fri Nov 17 09:57:55 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: apache-mod_admserv.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/apache-mod_admserv.spec diff -u /dev/null SPECS/apache-mod_admserv.spec:1.1 --- /dev/null Fri Nov 17 10:57:55 2006 +++ SPECS/apache-mod_admserv.spec Fri Nov 17 10:57:50 2006 @@ -0,0 +1,79 @@ +# $Revision$, $Date$ +%define apxs /usr/sbin/apxs +Summary: mod_admserv - communication link between Console and Directory +Summary(pl): mod_admserv - połączenie komunikacyjne między konsolą a katalogiem +Name: mod_admserv +Version: 1.0.3 +Release: 0.1 +License: Apache 2.0 +Group: Networking/Daemons +Source0: http://directory.fedora.redhat.com/sources/mod_admserv-%{version}.tar.gz +# Source0-md5: 793416e0a82b7e7bec42ddaa609e88d9 +URL: http://directory.fedora.redhat.com/wiki/Mod_admserv +BuildRequires: %{apxs} +BuildRequires: apache-devel >= 2.0 +BuildRequires: apr-devel >= 1.0 +BuildRequires: apr-util-devel >= 1.0 +BuildRequires: fedora-adminutil-devel >= 1.0 +BuildRequires: libicu-devel +BuildRequires: mozldap-devel >= 5.0 +BuildRequires: nspr-devel +BuildRequires: nss-devel +Requires: apache >= 2.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null) +%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null) + +%description +An Apache 2.0 module for implementing the admin server functionality +required by Fedora Admin Server and Directory Server. + +%description -l pl +Moduł Apache'a 2.0 implementujący funkcjonalność serwera +administracyjnego wymaganą przez usługi Fedora Admin Server i Fedora +Directory Server. + +%prep +%setup -q + +%build +# apr-util is missing in configure check +CPPFLAGS="`apu-1-config --includes`" +%configure \ + --with-apr-config \ + --with-apxs=%{apxs} \ + --with-nspr-inc=/usr/include/nspr \ + --with-nspr-lib=%{_libdir} \ + --with-nss-inc=/usr/include/nss \ + --with-nss-lib=%{_libdir} \ + --with-ldapsdk-inc=/usr/include/mozldap \ + --with-ldapsdk-lib=%{_libdir} \ + --with-adminutil=/usr + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_pkglibdir} + +install .libs/libmodadmserv.so $RPM_BUILD_ROOT%{_pkglibdir} +# TODO: XX_mod_admserv.conf based on httpd.conf.tmpl + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README httpd.conf.tmpl +#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_admserv.conf +%attr(755,root,root) %{_pkglibdir}/libmodadmserv.so + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/11/17 09:57:50 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
