]> git.pld-linux.org Git - packages/apache-mod_auth_pgsql.git/blame - apache-mod_auth_pgsql.spec
- apache-apxs -> %{apxs} in BR
[packages/apache-mod_auth_pgsql.git] / apache-mod_auth_pgsql.spec
CommitLineData
50a6125b 1%define mod_name auth_pgsql
620cc628 2%define apxs /usr/sbin/apxs
ce7eb358 3Summary: This is the PostgreSQL authentication module for Apache
0791df3e
ER
4Summary(cs.UTF-8): Základní autentizace pro WWW server Apache pomocí PostgreSQL
5Summary(da.UTF-8): Autenticering for webtjeneren Apache fra en PostgreSQL-database
6Summary(de.UTF-8): Authentifizierung für den Apache Web-Server, der eine PostgreSQL-Datenbank verwendet
7Summary(es.UTF-8): Autenticación vía PostgreSQL para Apache
8Summary(fr.UTF-8): Authentification de base pour le serveur Web Apache utilisant une base de données PostgreSQL
9Summary(it.UTF-8): Autenticazione di base per il server web Apache mediante un database PostgreSQL
10Summary(ja.UTF-8): PostgreSQL データベースを使った Apache Web サーバーへの基本認証
11Summary(nb.UTF-8): Autentisering for webtjeneren Apache fra en PostgreSQL-database
12Summary(pl.UTF-8): Moduł uwierzytelnienia PostgreSQL dla Apache
13Summary(pt_BR.UTF-8): Autenticação via PostgreSQL para o Apache
14Summary(sv.UTF-8): Grundläggande autenticering till webbservern Apache med en PostgreSQL-databas
50a6125b 15Name: apache-mod_%{mod_name}
de24afb4
ER
16Version: 2.0.3
17Release: 1
50a6125b
SZ
18License: GPL
19Group: Networking/Daemons
de24afb4
ER
20Source0: http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/mod_%{mod_name}-%{version}.tar.gz
21# Source0-md5: d44074b3b9bdb0a5eb9702814872ad43
d2ffde80 22Source1: apache-mod_auth_pgsql.conf
5f28afd3 23URL: http://www.giuseppetanzilli.it/mod_auth_pgsql2/
91227186 24BuildRequires: %{apxs}
31c81d10 25BuildRequires: apache-devel >= 2.0.52-2
65ddbbd2 26BuildRequires: postgresql-devel
de24afb4 27BuildRequires: rpmbuild(macros) >= 1.268
83c514cc 28Requires: apache(modules-api) = %apache_modules_api
84065659 29Obsoletes: mod_auth_pgsql
31c81d10 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50a6125b 31
83c514cc
ER
32%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
33%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
50a6125b
SZ
34
35%description
36This is an authentication module for Apache that allows you to
c7578c83 37authenticate HTTP clients using PostgreSQL RDBMS.
50a6125b 38
00261354
JR
39%description -l cs.UTF-8
40Balíček mod_auth_pgsql slouží pro omezení přístupu k dokumentům, které
41poskytuje WWW server Apache. Jména a hesla jsou uložena v databázi
ce7eb358 42PostgreSQL.
43
00261354 44%description -l de.UTF-8
ce7eb358 45Mod_auth_pgsql kann verwendet werden, um den Zugriff auf von einem
00261354
JR
46Web- Server bediente Dokumente zu beschränken, indem es die Felder in
47einer Tabelle in einer PostgresQL-Datenbank prüft.
ce7eb358 48
00261354 49%description -l es.UTF-8
ce7eb358 50Mod_auth_pgsql puede usarse para limitar el acceso a documentos
51servidos desde un servidor web verificando datos en una base de datos
52PostgreSQL.
53
00261354
JR
54%description -l fr.UTF-8
55mod_auth_pgsql peut être utilisé pour limiter l'accès à des documents
56servis par un serveur Web en vérifiant des champs dans une table d'une
57base de données PostgresQL.
ce7eb358 58
00261354
JR
59%description -l it.UTF-8
60Mod_auth_pgsql può essere usato per limitare l'accesso a documenti
ce7eb358 61serviti da un server Web controllando i campi di una tabella in un
62database PostgresQL.
63
00261354
JR
64%description -l ja.UTF-8
65Mod_auth_pgsql は、PostgresQL データベースのテーブルの中のフィールドを
66チェックすることによって、Web サーバーが提供する文書へのアクセスを
67制限できます。
ce7eb358 68
00261354
JR
69%description -l pl.UTF-8
70To jest moduł uwierzytelnienia dla Apache pozwalający na
71uwierzytelnianie klientów HTTP z użyciem bazy danych PostgreSQL.
44761470 72
00261354
JR
73%description -l pt_BR.UTF-8
74Com o mod_auth_pgsql você pode fazer autenticação no Apache usando o
fa53e525 75PostgreSQL.
76
00261354
JR
77%description -l sv.UTF-8
78Mod_auth_pgsql kan användas för att begränsa åtkomsten till dokument
ce7eb358 79servade av en webbserver genom att kontrollera data i en
80PostgreSQL-databas.
81
82%prep
de24afb4 83%setup -q -n mod_%{mod_name}-%{version}
50a6125b
SZ
84
85%build
620cc628 86%{apxs} \
5f28afd3 87 -I%{_includedir}/postgresql \
88 -lpq \
50a6125b 89 -c mod_%{mod_name}.c \
e9e12899 90 -o mod_%{mod_name}.la
50a6125b
SZ
91
92%install
93rm -rf $RPM_BUILD_ROOT
e9e12899 94install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
50a6125b 95
e9e12899 96install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
5f8c1378 97install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/52_mod_auth_pgsql.conf
50a6125b 98
44761470
JB
99%clean
100rm -rf $RPM_BUILD_ROOT
101
50a6125b 102%post
de24afb4 103%service -q httpd restart
50a6125b 104
3d8b3f59 105%postun
50a6125b 106if [ "$1" = "0" ]; then
de24afb4 107 %service -q httpd restart
50a6125b
SZ
108fi
109
50a6125b
SZ
110%files
111%defattr(644,root,root,755)
17e22684 112%doc *.html
42632b39 113%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_pgsql.conf
e46d3820 114%attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.040835 seconds and 4 git commands to generate.