Author: glen                         Date: Wed Apr 12 15:44:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   apache1-mod_pointer.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/apache1-mod_pointer.spec
diff -u /dev/null SPECS/apache1-mod_pointer.spec:1.1
--- /dev/null   Wed Apr 12 17:44:49 2006
+++ SPECS/apache1-mod_pointer.spec      Wed Apr 12 17:44:44 2006
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+# TODO
+# - apache config
+# - package split by backend
+%define                mod_name        pointer
+%define        apxs            %{_sbindir}/apxs1
+Summary:       Apache module for making domain redirects
+Name:          apache1-mod_%{mod_name}
+Version:       0.8
+Release:       0.1
+License:       Apache
+Group:         Networking/Daemons
+Source0:       http://stderr.net/mod_pointer/dist/mod_pointer-%{version}.tar.gz
+# Source0-md5: 2f6529c49f1d10ecd06d3f6bc8503a5f
+URL:           http://stderr.net/mod_pointer/
+BuildRequires: apache1-devel >= 1.3.33-2
+BuildRequires: gdbm-devel
+BuildRequires: mysql-devel
+BuildRequires: postgresql-devel
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      apache1 >= 1.3.33-2
+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
+mod_pointer is an Apache module for making domain redirects easy - the
+known service of many hosting providers that lets a domain point to
+your webpage on another server.
+
+The configuration part of the mappings are handled in either a MySQL
+or Postgresql database or a NDBM or SDBM db file, so it's easy to
+build a webbased interface for letting users change it on their own.
+
+%prep
+%setup -q -n mod_%{mod_name}-%{version}
+
+%build
+%{__make} all \
+       WITH_APXS=%{apxs}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d}
+
+%{__make} install \
+       APXS="%{apxs} -S DESTDIR=$RPM_BUILD_ROOT"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%service -q apache restart
+
+%postun
+if [ "$1" = "0" ]; then
+       %service -q apache restart
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGES
+#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
+%attr(755,root,root) %{_pkglibdir}/*
+
+%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/04/12 15:44:44  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