]> git.pld-linux.org Git - packages/apache-mod_vhost_mysql.git/commitdiff
- almost finished, can go to AC-test now,
authordjrzulf <djrzulf@pld-linux.org>
Sun, 9 Jan 2005 03:39:09 +0000 (03:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_vhost_mysql.spec -> 1.4

apache-mod_vhost_mysql.spec

index 6e2b942049540b545766ca2cb680af71777f1256..1a4c6c6365a31fd7d2d3b892cb00756ff4adea0c 100644 (file)
@@ -1,17 +1,18 @@
 #
 # TODO:
-# Summary clean +pl, description,
+# Summary clean +pl, description,other number at httpd.conf ?
 
 %define                mod_name        vhost_mysql
 %define        apxs            /usr/sbin/apxs
 Summary:       Apache vhost in mysql
 Name:          apache-mod_%{mod_name}
 Version:       0.10
-Release:       0.1
+Release:       0.8
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://fabienne.tc2.utelisys.net/~skinkie/mod_%{mod_name}2/mod_%{mod_name}2-%{version}.tar.gz
 # Source0-md5: c47c8dc4ac41e9ed2c91a239c876d272
+Source1:       95_vhost_mysql.conf
 BuildRequires: %{apxs}
 BuildRequires: apache-devel
 BuildRequires: db-devel >= 4.2.52
@@ -32,10 +33,14 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_pkglibdir}
+
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
 
 install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
+CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf"
+install %{SOURCE1} ${CFG}/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -56,4 +61,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc README vh.sql
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/95_vhost_mysql.conf
 %attr(755,root,root) %{_pkglibdir}/*
This page took 0.06292 seconds and 4 git commands to generate.