]> git.pld-linux.org Git - packages/apache1-mod_roaming.git/blame - apache1-mod_roaming.spec
- converted to UTF-8
[packages/apache1-mod_roaming.git] / apache1-mod_roaming.spec
CommitLineData
62a0c0b2
ER
1# TODO
2# - mod_roaming.conf points to htpasswd file in /var, shouldn't it be in /etc
3# (and don't forget trigger to move old possibly existing htpasswd in /var when fixing it)
5e9f1db6 4%define mod_name roaming
30b6b467 5%define apxs /usr/sbin/apxs1
30b975fa 6Summary: Enables Netscape Communicator roaming profiles with Apache
5ed2e445
JR
7Summary(cs.UTF-8): Modul podpory roamingových profilů Netscape Communicatora pro Apache
8Summary(da.UTF-8): Et apachemodul som lader webtjeneren håndtere profiler for Netscape Communicator
9Summary(de.UTF-8): Aktiviert den Netscape Communicator für das Profilroaming mit Apache
10Summary(es.UTF-8): Módulo de acceso roaming para navegación en red para Apache
11Summary(fr.UTF-8): Permet l'itinérance de profils Netscape Communicator avec Apache
12Summary(it.UTF-8): Abilita i profili di roaming di Netscape Communicator con Apache
13Summary(nb.UTF-8): En apachemodul som lar webtjeneren håndtere profiler for Netscape Communicator
14Summary(pl.UTF-8): Moduł Apache obsługujący przechodnie profile Netscape Communicatora
15Summary(pt_BR.UTF-8): Modulo "Netscape Roaming Access" para o Apache
16Summary(sk.UTF-8): WWW prehliadač Netscape Navigator
17Summary(sv.UTF-8): Möjliggör Netscape Communicator reseprofiler med Apache
30b6b467 18Name: apache1-mod_%{mod_name}
9a7294bb 19Version: 1.0.2
475fe760 20Release: 3
ae9e23f4 21License: BSD-like
9a7294bb 22Group: Networking/Daemons
5e9f1db6 23Source0: http://www.klomp.org/mod_roaming/mod_%{mod_name}-%{version}.tar.gz
78f53b3d 24# Source0-md5: 226c0ce2daf276072079590b5560f022
5e9f1db6 25Source1: %{name}.conf
30b975fa 26URL: http://www.klomp.org/mod_roaming/
28e86ac1 27BuildRequires: %{apxs}
62a0c0b2 28BuildRequires: apache1-devel >= 1.3.33-2
c24222cf 29BuildRequires: rpmbuild(macros) >= 1.268
62a0c0b2
ER
30Requires(triggerpostun): %{apxs}
31Requires(triggerpostun): grep
32Requires(triggerpostun): sed >= 4.0
475fe760 33Requires: apache1(EAPI)
ed836f59 34Obsoletes: apache-mod_roaming <= 1.0.2
4d56e1c1 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30b6b467 36
62a0c0b2
ER
37%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
38%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
948b7d9d 39
8436fcea 40%description
948b7d9d 41With mod_roaming you can use your Apache web server as a Netscape
42Roaming Access server. This allows you to store your Netscape
9a7294bb
MP
43Communicator 4.5 preferences, bookmarks, address books, cookies etc.
44on the server so that you can use (and update) the same settings from
45any Netscape Communicator 4.5 that can access the server.
948b7d9d 46
5ed2e445
JR
47%description -l cs.UTF-8
48Balíček mod_roaming obsahuje modul pro podporu roamingových profilů
49Netscape Communicatora pro Apache. Profily umožňují uložit nastavení
50Netscape 4.5 (bookmarky, adresář, cookies, nastavení Netacspe apod.)
51na server, takže při spuštění Netscape z libovolného místa na
52Internetu budete mít stejné nastavení.
8436fcea 53
5ed2e445
JR
54%description -l de.UTF-8
55Mit mo_roaming können Sie Ihren Apache Web-Server als
56Netscape-Roaming- Zugriffsserver verwenden. Auf diese Weise können Sie
57Ihre Präferenzen für Netscape Communicator 4.5, Lesezeichen,
58Adressbücher, Cookies etc. auf dem Server speichern, so dass Sie die
8436fcea 59gleichen Einstellungen von jedem Netscape Communicator 4.5 verwenden
5ed2e445 60(und aktualisieren) können, die Zugriff auf den Server haben.
8436fcea 61
5ed2e445 62%description -l es.UTF-8
8436fcea 63Con mod_roaming puede utilizar su servidor web apache como un servidor
64Netscape Roaming Access. Esto le permite almacenar las preferencias de
65su Netscape Communicator 4.5, los bookmarks, libros de direcciones,
66cookies, etc. en el servidor de tal forma que puede utilizar (y
67actualizar) las mismas opciones desde cualquier Netscape Communicator
684.5 que acceda al servidor.
69
5ed2e445 70%description -l fr.UTF-8
8436fcea 71Mod_roaming vous permet d'utiliser le serveur Web Apache en tant que
5ed2e445
JR
72Netscape pour accéder à un serveur Access. Cela vous permet de stocker
73vos préférences Netscape Communicator 4.5, signets, carnets
8436fcea 74d'adresses, cookies, etc. sur le serveur afin d'utiliser (et de mettre
5ed2e445
JR
75à jour) les mêmes réglages depuis n'importe quel Netscapte
76Communicator 4.5 ayant accès au serveur.
8436fcea 77
5ed2e445
JR
78%description -l it.UTF-8
79Grazie a mod_roaming è possibile utilizzare il server Web Apache come
8436fcea 80un server Netscape Roaming Access. Questo consente di memorizzare le
5ed2e445 81preferenze, i segnalibri, le rubriche i cookie (e così via) di
8436fcea 82Netscape Communicator 4.5 sul server, in modo da poter usare (e
83aggiornare) le stesse impostazioni da qualsiasi Netscape Communicator
844.5 che possa accedere al server.
85
5ed2e445
JR
86%description -l ja.UTF-8
87mod_roaming を使用すると、Apache Web サーバーを Netscape Roaming
88Access サーバーとして使用できます。これによって Netscape Communicator
894.5 のお気に入り、ブックマーク、アドレス
90ブック、クッキーなどをサーバー上に格納でき、サーバーにアクセスできるどの
91の Netscape Communicator 4.5 からでも同じ設定を使用 (および更新)
92できる ようになります。
8436fcea 93
5ed2e445
JR
94%description -l pl.UTF-8
95Dzięki mod_roaming możesz używać serwera Apache jako serwera Netscape
96Roaming Access. Pozwala to na zapisywanie ustawień, bookmarków,
97książek adresowych, cookie z Netscape Communicatora >= 4.5 na
98serwerze, dzięki czemu możesz używać (i uaktualniać) tych samych
99ustawień z dowolnego Netscape Communicatora >= 4.5, który ma dostęp do
30b975fa
JB
100serwera.
101
5ed2e445
JR
102%description -l pt_BR.UTF-8
103Com o mod_roaming você pode usar o Apache como um servidor de "Roaming
104Access" para o Netscape. Isto permite que você armazene preferências,
5e9f1db6 105bookmarks, livros de acessos, cookies, etc, do Netscape Communicator
5ed2e445
JR
1064.5 no servidor, sendo que com isso, você pode usar as mesmas
107configurações para qualquer Netscape 4.5 que possa acessar este
5e9f1db6 108servidor.
109
5ed2e445
JR
110%description -l sv.UTF-8
111Med mod_roaming kan du använda din webbserver Apache som en server för
112Netscape reseprofiler. Detta låter dig lagra dina Netscape
113Communicator 4.5 preferenser, bokmärken, adressbok, kakor, etc. på
114servern så att du kan använda (och ändra) inställningarna från valfri
115Netscape Communicator 4.5 som kan komma åt servern.
8436fcea 116
948b7d9d 117%prep
5e9f1db6 118%setup -q -n mod_%{mod_name}-%{version}
948b7d9d 119
120%build
28e86ac1 121%{apxs} -c -o mod_roaming.so -lc mod_roaming.c
948b7d9d 122
123%install
9a7294bb 124rm -rf $RPM_BUILD_ROOT
62a0c0b2 125install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d,%{_var}/lib/mod_roaming}
30b975fa 126
30b6b467 127install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
62a0c0b2 128install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_%{mod_name}.conf
948b7d9d 129
130%clean
131rm -rf $RPM_BUILD_ROOT
132
5e9f1db6 133%post
c24222cf 134%service -q apache restart
5e9f1db6 135
ae6a529c 136%postun
5e9f1db6 137if [ "$1" = "0" ]; then
c24222cf 138 %service -q apache restart
5e9f1db6 139fi
140
62a0c0b2 141%triggerpostun -- %{name} < 1.0.2-1.1
02a36c8e 142if grep -q '^Include conf\.d/\*\.conf' /etc/apache/apache.conf; then
62a0c0b2
ER
143 %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
144 sed -i -e '
145 /^Include.*mod_%{mod_name}\.conf/d
146 ' /etc/apache/apache.conf
147else
148 # they're still using old apache.conf
149 sed -i -e '
150 s,^Include.*mod_%{mod_name}\.conf,Include %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf,
151 ' /etc/apache/apache.conf
152fi
c24222cf 153%service -q apache restart
62a0c0b2 154
948b7d9d 155%files
9a7294bb 156%defattr(644,root,root,755)
5e9f1db6 157%doc CHANGES INSTALL LICENSE README
fc1b2e84 158%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
62a0c0b2
ER
159%attr(755,root,root) %{_pkglibdir}/*
160%attr(770,root,http) %dir %{_var}/lib/mod_roaming
This page took 0.064057 seconds and 4 git commands to generate.