]> git.pld-linux.org Git - packages/apache1-mod_roaming.git/blob - apache1-mod_roaming.spec
fe22225592d0dbcfd2a43ee2ec4fc5e2fb715eed
[packages/apache1-mod_roaming.git] / apache1-mod_roaming.spec
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)
4 %define         mod_name        roaming
5 %define         apxs            /usr/sbin/apxs1
6 Summary:        Enables Netscape Communicator roaming profiles with Apache
7 Summary(cs):    Modul podpory roamingových profilù Netscape Communicatora pro Apache
8 Summary(da):    Et apachemodul som lader webtjeneren håndtere profiler for Netscape Communicator
9 Summary(de):    Aktiviert den Netscape Communicator für das Profilroaming mit Apache
10 Summary(es):    Módulo de acceso roaming para navegación en red para Apache
11 Summary(fr):    Permet l'itinérance de profils Netscape Communicator avec Apache
12 Summary(it):    Abilita i profili di roaming di Netscape Communicator con Apache
13 Summary(nb):    En apachemodul som lar webtjeneren håndtere profiler for Netscape Communicator
14 Summary(pl):    Modu³ Apache obs³uguj±cy przechodnie profile Netscape Communicatora
15 Summary(pt_BR): Modulo "Netscape Roaming Access" para o Apache
16 Summary(sk):    WWW prehliadaè Netscape Navigator
17 Summary(sv):    Möjliggör Netscape Communicator reseprofiler med Apache
18 Name:           apache1-mod_%{mod_name}
19 Version:        1.0.2
20 Release:        2
21 License:        BSD-like
22 Group:          Networking/Daemons
23 Source0:        http://www.klomp.org/mod_roaming/mod_%{mod_name}-%{version}.tar.gz
24 # Source0-md5:  226c0ce2daf276072079590b5560f022
25 Source1:        %{name}.conf
26 URL:            http://www.klomp.org/mod_roaming/
27 BuildRequires:  %{apxs}
28 BuildRequires:  apache1-devel >= 1.3.33-2
29 Requires(triggerpostun):        %{apxs}
30 Requires(triggerpostun):        grep
31 Requires(triggerpostun):        sed >= 4.0
32 Requires:       apache1 >= 1.3.33-2
33 Obsoletes:      apache-mod_roaming <= %{version}
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
37 %define         _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)
38
39 %description
40 With mod_roaming you can use your Apache web server as a Netscape
41 Roaming Access server. This allows you to store your Netscape
42 Communicator 4.5 preferences, bookmarks, address books, cookies etc.
43 on the server so that you can use (and update) the same settings from
44 any Netscape Communicator 4.5 that can access the server.
45
46 %description -l cs
47 Balíèek mod_roaming obsahuje modul pro podporu roamingových profilù
48 Netscape Communicatora pro Apache. Profily umo¾òují ulo¾it nastavení
49 Netscape 4.5 (bookmarky, adresáø, cookies, nastavení Netacspe apod.)
50 na server, tak¾e pøi spu¹tìní Netscape z libovolného místa na
51 Internetu budete mít stejné nastavení.
52
53 %description -l de
54 Mit mo_roaming können Sie Ihren Apache Web-Server als
55 Netscape-Roaming- Zugriffsserver verwenden. Auf diese Weise können Sie
56 Ihre Präferenzen für Netscape Communicator 4.5, Lesezeichen,
57 Adressbücher, Cookies etc. auf dem Server speichern, so dass Sie die
58 gleichen Einstellungen von jedem Netscape Communicator 4.5 verwenden
59 (und aktualisieren) können, die Zugriff auf den Server haben.
60
61 %description -l es
62 Con mod_roaming puede utilizar su servidor web apache como un servidor
63 Netscape Roaming Access. Esto le permite almacenar las preferencias de
64 su Netscape Communicator 4.5, los bookmarks, libros de direcciones,
65 cookies, etc. en el servidor de tal forma que puede utilizar (y
66 actualizar) las mismas opciones desde cualquier Netscape Communicator
67 4.5 que acceda al servidor.
68
69 %description -l fr
70 Mod_roaming vous permet d'utiliser le serveur Web Apache en tant que
71 Netscape pour accéder à un serveur Access. Cela vous permet de stocker
72 vos préférences Netscape Communicator 4.5, signets, carnets
73 d'adresses, cookies, etc. sur le serveur afin d'utiliser (et de mettre
74 à jour) les mêmes réglages depuis n'importe quel Netscapte
75 Communicator 4.5 ayant accès au serveur.
76
77 %description -l it
78 Grazie a mod_roaming è possibile utilizzare il server Web Apache come
79 un server Netscape Roaming Access. Questo consente di memorizzare le
80 preferenze, i segnalibri, le rubriche i cookie (e così via) di
81 Netscape Communicator 4.5 sul server, in modo da poter usare (e
82 aggiornare) le stesse impostazioni da qualsiasi Netscape Communicator
83 4.5 che possa accedere al server.
84
85 %description -l ja
86 mod_roaming ¤ò»ÈÍѤ¹¤ë¤È¡¢Apache Web ¥µ¡¼¥Ð¡¼¤ò Netscape Roaming
87 Access ¥µ¡¼¥Ð¡¼¤È¤·¤Æ»ÈÍѤǤ­¤Þ¤¹¡£¤³¤ì¤Ë¤è¤Ã¤Æ Netscape Communicator
88 4.5 ¤Î¤ªµ¤¤ËÆþ¤ê¡¢¥Ö¥Ã¥¯¥Þ¡¼¥¯¡¢¥¢¥É¥ì¥¹
89 ¥Ö¥Ã¥¯¡¢¥¯¥Ã¥­¡¼¤Ê¤É¤ò¥µ¡¼¥Ð¡¼¾å¤Ë³ÊǼ¤Ç¤­¡¢¥µ¡¼¥Ð¡¼¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¤É¤Î
90 ¤Î Netscape Communicator 4.5 ¤«¤é¤Ç¤âƱ¤¸ÀßÄê¤ò»ÈÍÑ (¤ª¤è¤Ó¹¹¿·)
91 ¤Ç¤­¤ë ¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
92
93 %description -l pl
94 Dziêki mod_roaming mo¿esz u¿ywaæ serwera Apache jako serwera Netscape
95 Roaming Access. Pozwala to na zapisywanie ustawieñ, bookmarków,
96 ksi±¿ek adresowych, cookie z Netscape Communicatora >= 4.5 na
97 serwerze, dziêki czemu mo¿esz u¿ywaæ (i uaktualniaæ) tych samych
98 ustawieñ z dowolnego Netscape Communicatora >= 4.5, który ma dostêp do
99 serwera.
100
101 %description -l pt_BR
102 Com o mod_roaming você pode usar o Apache como um servidor de "Roaming
103 Access" para o Netscape. Isto permite que você armazene preferências,
104 bookmarks, livros de acessos, cookies, etc, do Netscape Communicator
105 4.5 no servidor, sendo que com isso, você pode usar as mesmas
106 configurações para qualquer Netscape 4.5 que possa acessar este
107 servidor.
108
109 %description -l sv
110 Med mod_roaming kan du använda din webbserver Apache som en server för
111 Netscape reseprofiler. Detta låter dig lagra dina Netscape
112 Communicator 4.5 preferenser, bokmärken, adressbok, kakor, etc. på
113 servern så att du kan använda (och ändra) inställningarna från valfri
114 Netscape Communicator 4.5 som kan komma åt servern.
115
116 %prep
117 %setup -q -n mod_%{mod_name}-%{version}
118
119 %build
120 %{apxs} -c -o mod_roaming.so -lc mod_roaming.c
121
122 %install
123 rm -rf $RPM_BUILD_ROOT
124 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d,%{_var}/lib/mod_roaming}
125
126 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
127 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_%{mod_name}.conf
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %post
133 if [ -f /var/lock/subsys/apache ]; then
134         /etc/rc.d/init.d/apache restart 1>&2
135 fi
136
137 %postun
138 if [ "$1" = "0" ]; then
139         if [ -f /var/lock/subsys/apache ]; then
140                 /etc/rc.d/init.d/apache restart 1>&2
141         fi
142 fi
143
144 %triggerpostun -- %{name} < 1.0.2-1.1
145 if grep -q '^Include conf\.d/\*\.conf' /etc/apache/apache.conf; then
146         %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
147         sed -i -e '
148                 /^Include.*mod_%{mod_name}\.conf/d
149         ' /etc/apache/apache.conf
150 else
151         # they're still using old apache.conf
152         sed -i -e '
153                 s,^Include.*mod_%{mod_name}\.conf,Include %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf,
154         ' /etc/apache/apache.conf
155 fi
156 if [ -f /var/lock/subsys/apache ]; then
157         /etc/rc.d/init.d/apache restart 1>&2
158 fi
159
160 %files
161 %defattr(644,root,root,755)
162 %doc CHANGES INSTALL LICENSE README
163 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
164 %attr(755,root,root) %{_pkglibdir}/*
165 %attr(770,root,http) %dir %{_var}/lib/mod_roaming
This page took 0.070485 seconds and 2 git commands to generate.