]> git.pld-linux.org Git - packages/apache1-mod_pointer.git/commitdiff
- add apache config
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 15 Feb 2008 13:31:08 +0000 (13:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_pointer.spec -> 1.7

apache1-mod_pointer.spec

index 71d3086f3c1e8198e6814553ef0ab505f9db6ef9..d97305185feada0998aa03569d4309156fb101f4 100644 (file)
@@ -1,5 +1,4 @@
 # TODO
-# - apache config
 # - package split by backend
 %define                mod_name        pointer
 %define        apxs            %{_sbindir}/apxs1
@@ -7,12 +6,13 @@ Summary:      Apache module for making domain redirects
 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
@@ -59,6 +59,8 @@ install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d}
 %{__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
 
@@ -73,5 +75,5 @@ fi
 %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}/*
This page took 0.056504 seconds and 4 git commands to generate.