]> git.pld-linux.org Git - packages/apache1-mod_auth_mysql.git/blobdiff - apache1-mod_auth_mysql.spec
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/apache1-mod_auth_mysql.git] / apache1-mod_auth_mysql.spec
index c31893491194a8924c63e3d50ebf853d3bb25bf5..4bee2626bd7bdccd391b14861eb3f781ef5ba1c6 100644 (file)
@@ -1,9 +1,20 @@
 %define                mod_name        auth_mysql
 %define        apxs            /usr/sbin/apxs
 Summary:       This is the MySQL authentication module for Apache
+Summary(cs):   Základní autentizace pro WWW server Apache pomocí MySQL
+Summary(da):   Autenticering for webtjeneren Apache fra en MySQL-database
+Summary(de):   Authentifizierung für den Apache Web-Server, der eine MySQL-Datenbank verwendet
+Summary(es):   Autenticación vía MySQL para Apache
+Summary(fr):   Authentification de base pour le serveur Web Apache utilisant une base de données MySQL
+Summary(it):   Autenticazione di base per il server Web Apache mediante un database MySQL
+Summary(ja):   MySQL ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò»È¤Ã¤¿ Apache Web ¥µ¡¼¥Ð¡¼¤Ø¤Î´ðËÜǧ¾Ú
+Summary(no):   Autentisering for webtjeneren Apache fra en MySQL-database
+Summary(pl):   Modu³ autentykacji MySQL dla Apache
+Summary(pt_BR):        Autenticação via MySQL para o Apache
+Summary(sv):   Grundläggande autenticering för webbservern Apache med en MySQL-databas
 Name:          apache-mod_%{mod_name}
 Version:       2.20a
-Release:       1
+Release:       3
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://web.oyvax.com/src/mod_auth_mysql-%{version}.tar.gz
@@ -11,10 +22,11 @@ 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)
+Obsoletes:     mod_auth_mysql
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
 
@@ -68,11 +80,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
@@ -80,8 +94,6 @@ install -d $RPM_BUILD_ROOT%{_pkglibdir}
 
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
-gzip -9nf README README-2.20a USAGE
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -101,5 +113,5 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README* USAGE
 %attr(755,root,root) %{_pkglibdir}/*
This page took 0.147622 seconds and 4 git commands to generate.