SPECS: apache1-mod_pointer.spec - add apache config

glen glen at pld-linux.org
Fri Feb 15 14:31:14 CET 2008


Author: glen                         Date: Fri Feb 15 13:31:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add apache config

---- Files affected:
SPECS:
   apache1-mod_pointer.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_pointer.spec
diff -u SPECS/apache1-mod_pointer.spec:1.6 SPECS/apache1-mod_pointer.spec:1.7
--- SPECS/apache1-mod_pointer.spec:1.6	Mon Feb 12 22:23:47 2007
+++ SPECS/apache1-mod_pointer.spec	Fri Feb 15 14:31:08 2008
@@ -1,6 +1,5 @@
 # $Revision$, $Date$
 # TODO
-# - apache config
 # - package split by backend
 %define		mod_name	pointer
 %define 	apxs		%{_sbindir}/apxs1
@@ -8,12 +7,13 @@
 Summary(pl.UTF-8):	Moduł Apache'a do tworzenia przekierowań domen
 Name:		apache1-mod_%{mod_name}
 Version:	0.8
-Release:	0.6
+Release:	0.7
 License:	Apache
 Group:		Networking/Daemons
 Source0:	http://stderr.net/mod_pointer/dist/mod_pointer-%{version}.tar.gz
 # Source0-md5:	2f6529c49f1d10ecd06d3f6bc8503a5f
-Patch0:		apache1-mod_pointer-mysql.patch
+Source1:	%{name}.conf
+Patch0:		%{name}-mysql.patch
 URL:		http://stderr.net/mod_pointer/
 BuildRequires:	apache1-devel >= 1.3.34-8.5
 BuildRequires:	gdbm-devel
@@ -60,6 +60,8 @@
 %{__make} install \
 	APXS="%{apxs} -S DESTDIR=$RPM_BUILD_ROOT"
 
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/40_mod_%{mod_name}.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,7 +76,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README CHANGES SUPPORT TODO frameset.html *.sql *.readme pointer.conf
-#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
+%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"`)
@@ -83,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-02-15 13:31:08  glen
+- add apache config
+
 Revision 1.6  2007-02-12 21:23:47  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache1-mod_pointer.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list