]> git.pld-linux.org Git - packages/apache1-mod_auth_mysql.git/blobdiff - apache1-mod_auth_mysql.spec
- link mod_auth_mysql.so with libmysqlclient (module was seriously broken!)
[packages/apache1-mod_auth_mysql.git] / apache1-mod_auth_mysql.spec
index 2b3204114a46aab6e7673746e3e2110ea48a045a..0e60c6a2a8fd282f8943a7fa21cf7743330e9edb 100644 (file)
@@ -14,7 +14,7 @@ Summary(pt_BR):       Autentica
 Summary(sv):   Grundläggande autenticering för webbservern Apache med en MySQL-databas
 Name:          apache-mod_%{mod_name}
 Version:       2.20a
-Release:       1
+Release:       2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://web.oyvax.com/src/mod_auth_mysql-%{version}.tar.gz
@@ -22,7 +22,7 @@ URL:          http://www.diegonet.com/support/mod_auth_mysql.shtml
 BuildRequires: mysql-devel
 BuildRequires: %{apxs}
 BuildRequires: apache(EAPI)-devel
-Prereq:                %{_sbindir}/apxs
+Requires(post,preun):  %{_sbindir}/apxs
 Requires:      apache(EAPI)
 Requires:      apache-mod_auth
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -79,11 +79,13 @@ MySQL-databas.
 %setup -q -n mod_%{mod_name}-%{version}
 
 %build
-%{configure2_13} \
+aclocal
+autoconf
+%configure \
        --with-apxs=%{apxs} \
        --with-mysql=%{_prefix}
 
-%{apxs} -c -I %{_includedir}/mysql mod_%{mod_name}.c -o mod_%{mod_name}.so
+%{apxs} -c -I %{_includedir}/mysql mod_%{mod_name}.c -o mod_%{mod_name}.so -lmysqlclient
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -91,7 +93,7 @@ install -d $RPM_BUILD_ROOT%{_pkglibdir}
 
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
-gzip -9nf README README-2.20a USAGE
+gzip -9nf README* USAGE
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.061601 seconds and 4 git commands to generate.