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