]> git.pld-linux.org Git - packages/apache-mod_vhost_mysql.git/commitdiff
- pl, some cleanups
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Jan 2005 17:43:57 +0000 (17:43 +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.5

apache-mod_vhost_mysql.spec

index 1a4c6c6365a31fd7d2d3b892cb00756ff4adea0c..74a0cda3603a1c7a509a29c269b3385111dc4bf2 100644 (file)
@@ -1,16 +1,17 @@
 #
 # TODO:
-# Summary clean +pl, description,other number at httpd.conf ?
+# other number at httpd.conf ?
 
 %define                mod_name        vhost_mysql
 %define        apxs            /usr/sbin/apxs
-Summary:       Apache vhost in mysql
+Summary:       Apache vhost in MySQL
+Summary(pl):   Wirtualne hosty dla Apache'a w bazie MySQL
 Name:          apache-mod_%{mod_name}
 Version:       0.10
 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:       http://fabienne.tc2.utelisys.net/~skinkie/mod_vhost_mysql2/mod_%{mod_name}2-%{version}.tar.gz
 # Source0-md5: c47c8dc4ac41e9ed2c91a239c876d272
 Source1:       95_vhost_mysql.conf
 BuildRequires: %{apxs}
@@ -24,22 +25,29 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
 
 %description
+This module provides dynamically configured virtual hosting using
+MySQL in Apache2.
+
+%description -l pl
+Ten modu³ umo¿liwia dynamicznie konfigurowanie hostów wirtualnych w
+Apache'u 2 przy u¿yciu bazy MySQL.
 
 %prep
 %setup -q -n mod_%{mod_name}2-%{version}
 
+rm -rf .libs *.{la,lo,o,slo}
+
 %build
-%{__make} APXS=apxs
+%{__make} \
+       APXS=apxs
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 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}/
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,4 +70,4 @@ fi
 %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}/*
+%attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.092831 seconds and 4 git commands to generate.