]>
Commit | Line | Data |
---|---|---|
1f6c1fe6 | 1 | # |
1e76ed05 | 2 | # Conditional build: |
22fef706 JB |
3 | %bcond_without arts # without aRts sound support |
4 | %bcond_without esd # without EsounD sound support | |
5 | %bcond_without dbus # without DBUS support | |
6 | %bcond_without gtkspell # without gtkspell support | |
a9074194 | 7 | %bcond_without xosd # without xosd support |
22fef706 | 8 | %bcond_with perl # with perl support |
1f6c1fe6 | 9 | # |
a99c1ee5 | 10 | Summary: GNU Gadu 2 - free talking |
a68ff7f8 ER |
11 | Summary(es.UTF-8): GNU Gadu 2 - charlar libremente |
12 | Summary(pl.UTF-8): GNU Gadu 2 - wolne gadanie | |
85a8a1cc | 13 | Name: gg2 |
e6f6f1c0 | 14 | Version: 2.3.0 |
221e6939 | 15 | Release: 3 |
1d9a814b | 16 | Epoch: 3 |
a99c1ee5 | 17 | License: GPL v2+ |
85a8a1cc | 18 | Group: Applications/Communications |
e6f6f1c0 | 19 | Source0: http://dl.sourceforge.net/ggadu/%{name}-%{version}.tar.bz2 |
20 | # Source0-md5: dbe6c0f85c9dbb115ee1911d8abbea33 | |
801fdf1a | 21 | URL: http://www.gnugadu.org/ |
b7ac4d94 | 22 | Patch0: %{name}-desktop.patch |
5985e9fc | 23 | %{?with_arts:BuildRequires: artsc-devel} |
22fef706 | 24 | %{?with_gtkspell:BuildRequires: aspell-devel} |
6539addf | 25 | BuildRequires: autoconf |
691f3e9a | 26 | BuildRequires: automake >= 1:1.7 |
4ddf190a | 27 | %{?with_dbus:BuildRequires: dbus-glib-devel >= 0.33} |
36edf47d | 28 | %{?with_esd:BuildRequires: esound-devel >= 0.2.7} |
6f200d4c | 29 | BuildRequires: gettext-devel >= 0.11.0 |
637440d6 JB |
30 | BuildRequires: glib2-devel >= 2.2.0 |
31 | BuildRequires: gtk+2-devel >= 2.4.0 | |
22fef706 | 32 | %{?with_gtkspell:BuildRequires: gtkspell-devel} |
2e894f1c | 33 | BuildRequires: libtlen-devel |
a99c1ee5 | 34 | BuildRequires: libtool |
77f33eb5 | 35 | BuildRequires: loudmouth-devel >= 0.17.1 |
ce0e433b | 36 | BuildRequires: gnutls-devel >= 1.2.5 |
c7cb3d2a | 37 | BuildRequires: pkgconfig |
a9074194 | 38 | %{?with_xosd:BuildRequires: xosd-devel >= 2.0.0} |
2713d03b | 39 | BuildRequires: xorg-lib-libXScrnSaver-devel |
7b462335 | 40 | %if %{with perl} |
41 | BuildRequires: perl-devel | |
7b462335 | 42 | %endif |
43 | Requires: gg2-ui | |
8e429eab | 44 | Suggests: gg2-plugin-gadu-gadu |
6699bb80 PG |
45 | Obsoletes: gg-common |
46 | Obsoletes: gg-kde | |
85a8a1cc | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
85a8a1cc | 49 | %description |
30e354ee | 50 | Gadu-Gadu, Tlen.pl and others instant messenger client with |
d6d10fb0 | 51 | GTK+2 GUI on GNU/GPL. |
a99c1ee5 | 52 | |
2c20b9f7 | 53 | %description -l es.UTF-8 |
720acb64 | 54 | Un cliente para Gadu-Gadu, Tlen.pl y otros protocolos con un GUI de |
55 | GTK+2, bajo la licencia GNU/GPL. | |
56 | ||
2c20b9f7 JR |
57 | %description -l pl.UTF-8 |
58 | Klient Gadu-Gadu, Tlen.pl oraz innych protokołów z GUI pod GTK+2 na | |
d6d10fb0 | 59 | licencji GNU/GPL. |
a99c1ee5 | 60 | |
f2a7339b | 61 | %package devel |
7bafbc37 | 62 | Summary: Headers for libgg2_core library to develop plugins |
a68ff7f8 ER |
63 | Summary(es.UTF-8): Cabeceras para la biblioteca libgg2_core para desarrollar plugins |
64 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgg2_core potrzebne do rozwijania wtyczek | |
f2a7339b | 65 | Group: Applications/Communications |
caa293aa | 66 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7bafbc37 JB |
67 | Requires: glib2-devel |
68 | Requires: perl-devel | |
f2a7339b MK |
69 | |
70 | %description devel | |
7bafbc37 JB |
71 | This package contains header files for libgg2_core library, needed to |
72 | develop plugins for GNU Gadu 2. | |
f2a7339b | 73 | |
2c20b9f7 | 74 | %description devel -l es.UTF-8 |
720acb64 | 75 | Este paquete contiene los ficheros de cabeceras de la biblioteca |
76 | libgg2_core necesarios para desarrollar plugins para GNU Gadu 2. | |
77 | ||
2c20b9f7 JR |
78 | %description devel -l pl.UTF-8 |
79 | Ten pakiet zawiera pliki nagłówkowe biblioteki libgg2_core, potrzebne | |
7bafbc37 | 80 | do rozwijania wtyczek do GNU Gadu 2. |
f2a7339b | 81 | |
b81de2ef | 82 | %package plugin-gui-gtk+2 |
a99c1ee5 | 83 | Summary: GTK+2 GUI plugin |
a68ff7f8 ER |
84 | Summary(es.UTF-8): Plugin de GUI en GTK+2 |
85 | Summary(pl.UTF-8): Wtyczka z GUI w GTK+2 | |
a99c1ee5 | 86 | Group: Applications/Communications |
22fef706 | 87 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8ac4148e | 88 | Provides: gg2-ui |
22fef706 JB |
89 | Provides: gg2-gui-gtk+2 = %{epoch}:%{version}-%{release} |
90 | Obsoletes: gg2-gui-gtk+2 | |
6699bb80 | 91 | Obsoletes: gg-gnome |
a99c1ee5 | 92 | |
b81de2ef | 93 | %description plugin-gui-gtk+2 |
2e894f1c | 94 | GTK+2 GUI plugin for GNU Gadu 2. |
a99c1ee5 | 95 | |
2c20b9f7 | 96 | %description plugin-gui-gtk+2 -l es.UTF-8 |
fd482edb | 97 | Un plugin con un GUI en GTK+2 para GNU Gadu 2. |
98 | ||
2c20b9f7 | 99 | %description plugin-gui-gtk+2 -l pl.UTF-8 |
d6d10fb0 | 100 | Wtyczka z GUI w GTK+2 do GNU Gadu 2. |
a99c1ee5 | 101 | |
5a9789e7 MK |
102 | %package emoticons |
103 | Summary: Emoticons | |
a68ff7f8 ER |
104 | Summary(es.UTF-8): Emoticons |
105 | Summary(pl.UTF-8): Emotikony | |
8bd22e15 | 106 | Group: Applications/Communications |
caa293aa | 107 | Requires: %{name} = %{epoch}:%{version}-%{release} |
5a9789e7 MK |
108 | |
109 | %description emoticons | |
d6d10fb0 | 110 | Emotions icons and description files. |
5a9789e7 | 111 | |
2c20b9f7 JR |
112 | %description emoticons -l es.UTF-8 |
113 | Iconas de emociones y sus ficheros de descripción. | |
fd482edb | 114 | |
2c20b9f7 | 115 | %description emoticons -l pl.UTF-8 |
d6d10fb0 | 116 | Zestaw ikon z emotikonami, oraz plikiem konfiguracyjnym. |
5a9789e7 | 117 | |
b81de2ef | 118 | %package plugin-gadu-gadu |
a99c1ee5 | 119 | Summary: Gadu-Gadu plugin |
a68ff7f8 ER |
120 | Summary(es.UTF-8): Plugin de Gadu-Gadu |
121 | Summary(pl.UTF-8): Wtyczka protokołu Gadu-Gadu | |
a99c1ee5 | 122 | Group: Applications/Communications |
caa293aa | 123 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
124 | Provides: gg2-gadu-gadu = %{epoch}:%{version}-%{release} |
125 | Obsoletes: gg2-gadu-gadu | |
a99c1ee5 | 126 | |
b81de2ef | 127 | %description plugin-gadu-gadu |
d6d10fb0 | 128 | Gadu-Gadu protocol plugin. |
85a8a1cc | 129 | |
2c20b9f7 | 130 | %description plugin-gadu-gadu -l es.UTF-8 |
fd482edb | 131 | Un plugin para el protocolo Gadu-Gadu. |
132 | ||
2c20b9f7 JR |
133 | %description plugin-gadu-gadu -l pl.UTF-8 |
134 | Wtyczka protokołu Gadu-Gadu. | |
a99c1ee5 | 135 | |
b81de2ef | 136 | %package plugin-tlen |
a99c1ee5 | 137 | Summary: Tlen.pl plugin |
a68ff7f8 ER |
138 | Summary(es.UTF-8): Plugin de Tlen.pl |
139 | Summary(pl.UTF-8): Wtyczka protokołu Tlen.pl | |
a99c1ee5 | 140 | Group: Applications/Communications |
caa293aa | 141 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
142 | Provides: gg2-tlen = %{epoch}:%{version}-%{release} |
143 | Obsoletes: gg2-tlen | |
a99c1ee5 | 144 | |
b81de2ef | 145 | %description plugin-tlen |
d6d10fb0 | 146 | Tlen.pl protocol plugin. |
a99c1ee5 | 147 | |
2c20b9f7 | 148 | %description plugin-tlen -l es.UTF-8 |
fd482edb | 149 | Un plugin para el protocolo Tlen.pl. |
150 | ||
2c20b9f7 JR |
151 | %description plugin-tlen -l pl.UTF-8 |
152 | Wtyczka protokołu Tlen.pl. | |
a99c1ee5 | 153 | |
b81de2ef | 154 | %package plugin-jabber |
c5d2f0bb | 155 | Summary: Jabber.org plugin |
a68ff7f8 ER |
156 | Summary(es.UTF-8): Plugin de Jabber.org |
157 | Summary(pl.UTF-8): Wtyczka protokołu Jabber | |
c5d2f0bb | 158 | Group: Applications/Communications |
caa293aa | 159 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0beaadf5 | 160 | Requires: loudmouth >= 0.16-4 |
22fef706 JB |
161 | Provides: gg2-jabber = %{epoch}:%{version}-%{release} |
162 | Obsoletes: gg2-jabber | |
c5d2f0bb | 163 | |
b81de2ef | 164 | %description plugin-jabber |
c0cb5111 | 165 | Jabber protocol plugin. |
c5d2f0bb | 166 | |
2c20b9f7 | 167 | %description plugin-jabber -l es.UTF-8 |
fd482edb | 168 | Un plugin para el protocolo Jabber. |
169 | ||
2c20b9f7 JR |
170 | %description plugin-jabber -l pl.UTF-8 |
171 | Wtyczka protokołu Jabber. | |
c5d2f0bb | 172 | |
b81de2ef | 173 | %package plugin-sound-esd |
a99c1ee5 | 174 | Summary: Sound support with ESD |
a68ff7f8 ER |
175 | Summary(es.UTF-8): Soporte de sonido a través de ESD |
176 | Summary(pl.UTF-8): Obsługa dźwięku poprzez ESD | |
a99c1ee5 | 177 | Group: Applications/Communications |
caa293aa | 178 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
179 | Provides: gg2-sound-esd = %{epoch}:%{version}-%{release} |
180 | Obsoletes: gg2-sound-esd | |
a99c1ee5 | 181 | |
b81de2ef | 182 | %description plugin-sound-esd |
d6d10fb0 | 183 | Sound support with ESD. |
a99c1ee5 | 184 | |
2c20b9f7 JR |
185 | %description plugin-sound-esd -l es.UTF-8 |
186 | Soporte de sonido a través de ESD. | |
fd482edb | 187 | |
2c20b9f7 JR |
188 | %description plugin-sound-esd -l pl.UTF-8 |
189 | Obsługa dźwięku poprzez ESD. | |
a99c1ee5 | 190 | |
b81de2ef | 191 | %package plugin-sound-oss |
8bd22e15 | 192 | Summary: OSS sound support |
a68ff7f8 ER |
193 | Summary(es.UTF-8): Soporte de sonido a través de OSS |
194 | Summary(pl.UTF-8): Obsługa dźwięku OSS | |
8bd22e15 | 195 | Group: Applications/Communications |
22fef706 | 196 | Requires: %{name} = %{epoch}:%{version}-%{release} |
b81de2ef MK |
197 | Provides: %{name}-sound-oss = %{epoch}:%{version}-%{release} |
198 | Obsoletes: %{name}-sound-oss | |
ee5b83c4 | 199 | |
b81de2ef | 200 | %description plugin-sound-oss |
2e894f1c | 201 | OSS sound support. |
ee5b83c4 | 202 | |
2c20b9f7 JR |
203 | %description plugin-sound-oss -l es.UTF-8 |
204 | Soporte de sonido a través de OSS. | |
fd482edb | 205 | |
2c20b9f7 JR |
206 | %description plugin-sound-oss -l pl.UTF-8 |
207 | Obsługa dźwięku OSS. | |
ee5b83c4 | 208 | |
b81de2ef | 209 | %package plugin-sound-external |
a3cff36b | 210 | Summary: Sound support with external player |
a68ff7f8 ER |
211 | Summary(es.UTF-8): Soporte de sonido vía un reproductor externo |
212 | Summary(pl.UTF-8): Obsługa dźwięku przez zewnętrzny program | |
a3cff36b | 213 | Group: Applications/Communications |
caa293aa | 214 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
215 | Provides: gg2-sound-external = %{epoch}:%{version}-%{release} |
216 | Obsoletes: gg2-sound-external | |
a3cff36b | 217 | |
b81de2ef | 218 | %description plugin-sound-external |
a3cff36b MK |
219 | Sound support with external player. |
220 | ||
2c20b9f7 JR |
221 | %description plugin-sound-external -l es.UTF-8 |
222 | Soporte de sonido a través de un reproductor externo. | |
fd482edb | 223 | |
2c20b9f7 JR |
224 | %description plugin-sound-external -l pl.UTF-8 |
225 | Obsługa dźwięku przez zewnętrzny program. | |
a3cff36b | 226 | |
b81de2ef | 227 | %package plugin-sound-aRts |
ebf12c5c | 228 | Summary: Sound support with aRts |
a68ff7f8 ER |
229 | Summary(es.UTF-8): Soporte de sonido a través de aRts |
230 | Summary(pl.UTF-8): Obsługa dźwięku poprzez aRts | |
ebf12c5c | 231 | Group: Applications/Communications |
27fe3c97 | 232 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
233 | Provides: gg2-sound-aRts = %{epoch}:%{version}-%{release} |
234 | Obsoletes: gg2-sound-aRts | |
a99c1ee5 | 235 | |
b81de2ef | 236 | %description plugin-sound-aRts |
ebf12c5c | 237 | Sound support with aRts. |
a99c1ee5 | 238 | |
2c20b9f7 JR |
239 | %description plugin-sound-aRts -l es.UTF-8 |
240 | Soporte de sonido a través de aRts. | |
fd482edb | 241 | |
2c20b9f7 JR |
242 | %description plugin-sound-aRts -l pl.UTF-8 |
243 | Obsługa dźwięku poprzez aRts. | |
a99c1ee5 | 244 | |
b81de2ef | 245 | %package plugin-xosd |
a99c1ee5 | 246 | Summary: Support for X On Screen Display |
a68ff7f8 ER |
247 | Summary(es.UTF-8): Soporte para plasmar mensajes sobre el fondo de X |
248 | Summary(pl.UTF-8): Wyświetlanie komunikatów na ekranie X | |
a99c1ee5 | 249 | Group: Applications/Communications |
caa293aa | 250 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
251 | Provides: gg2-xosd = %{epoch}:%{version}-%{release} |
252 | Obsoletes: gg2-xosd | |
a99c1ee5 | 253 | |
b81de2ef | 254 | %description plugin-xosd |
d6d10fb0 | 255 | Support for X On Screen Display. |
a99c1ee5 | 256 | |
2c20b9f7 | 257 | %description plugin-xosd -l es.UTF-8 |
fd482edb | 258 | Soporte para plasmar mensajes sobre el fondo (XOSD). |
259 | ||
2c20b9f7 JR |
260 | %description plugin-xosd -l pl.UTF-8 |
261 | Wyświetlanie komunikatów na ekranie X. | |
a99c1ee5 | 262 | |
b81de2ef | 263 | %package plugin-docklet-system-tray |
36edf47d | 264 | Summary: Support for Window Managers notification areas |
a68ff7f8 ER |
265 | Summary(es.UTF-8): Soporte para áreas de notificación de los Manejantes de Ventanas |
266 | Summary(pl.UTF-8): Obsługa obszarów powiadomień w różnych zarządcach okien | |
a99c1ee5 | 267 | Group: Applications/Communications |
caa293aa | 268 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
269 | Provides: gg2-docklet-system-tray = %{epoch}:%{version}-%{release} |
270 | Obsoletes: gg2-docklet-system-tray | |
271 | Obsoletes: gg2-docklet | |
a99c1ee5 | 272 | |
b81de2ef | 273 | %description plugin-docklet-system-tray |
033c49a0 | 274 | Support for Window Managers notification areas (GNOME, KDE). |
a99c1ee5 | 275 | |
2c20b9f7 JR |
276 | %description plugin-docklet-system-tray -l es.UTF-8 |
277 | Soporte para áreas de notificación de los Manejantes de Ventanas | |
fd482edb | 278 | (GNOME, KDE). |
279 | ||
2c20b9f7 JR |
280 | %description plugin-docklet-system-tray -l pl.UTF-8 |
281 | Obsługa obszarów powiadomień w różnych zarządcach okien (GNOME, KDE). | |
85a8a1cc | 282 | |
b81de2ef | 283 | %package plugin-docklet-dockapp |
caa293aa | 284 | Summary: Support for WindowMaker-style dockapp |
a68ff7f8 ER |
285 | Summary(es.UTF-8): Soporte de dockapp estilo WindowMaker |
286 | Summary(pl.UTF-8): Obsługa dokowalnego apletu zgodnego z WindowMakerem | |
caa293aa MK |
287 | Group: Applications/Communications |
288 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
22fef706 JB |
289 | Provides: gg2-docklet-dockapp = %{epoch}:%{version}-%{release} |
290 | Obsoletes: gg2-docklet-dockapp | |
291 | Obsoletes: gg2-docklet | |
6699bb80 PG |
292 | Obsoletes: gg-gnome-applet |
293 | Obsoletes: gg-wm-applet | |
caa293aa | 294 | |
b81de2ef | 295 | %description plugin-docklet-dockapp |
1f6c1fe6 | 296 | Support for WindowMaker-style dockapp. |
caa293aa | 297 | |
2c20b9f7 | 298 | %description plugin-docklet-dockapp -l es.UTF-8 |
033c49a0 | 299 | Suporte de dockapp estilo WindowMaker. |
300 | ||
2c20b9f7 JR |
301 | %description plugin-docklet-dockapp -l pl.UTF-8 |
302 | Obsługa dokowalnego apletu zgodnego z WindowMakerem. | |
caa293aa | 303 | |
b81de2ef | 304 | %package plugin-sms |
c7cb3d2a | 305 | Summary: SMS Gateway |
a68ff7f8 ER |
306 | Summary(es.UTF-8): Puerta SMS |
307 | Summary(pl.UTF-8): Bramka SMS | |
c7cb3d2a | 308 | Group: Applications/Communications |
caa293aa | 309 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
310 | Provides: gg2-sms = %{epoch}:%{version}-%{release} |
311 | Obsoletes: gg2-sms | |
7423fba0 | 312 | |
b81de2ef | 313 | %description plugin-sms |
f2a7339b | 314 | Send SMS to cellular phones via web gateways. |
7423fba0 | 315 | |
2c20b9f7 JR |
316 | %description plugin-sms -l es.UTF-8 |
317 | Manda mensajes SMS a móviles vía puertas del Web. | |
fd482edb | 318 | |
2c20b9f7 JR |
319 | %description plugin-sms -l pl.UTF-8 |
320 | Wtyczka wysyłająca wiadomości SMS na telefony komórkowe przez bramki | |
1f6c1fe6 | 321 | WWW. |
7423fba0 | 322 | |
b81de2ef | 323 | %package plugin-history-external |
9e056ec1 | 324 | Summary: Allow to view GNU Gadu chat history |
a68ff7f8 | 325 | Summary(pl.UTF-8): Przeglądanie historii rozmów GNU Gadu |
9e056ec1 | 326 | Group: Applications/Communications |
9e056ec1 | 327 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
328 | Requires: gtk+2 |
329 | Provides: gg2-history-external = %{epoch}:%{version}-%{release} | |
330 | Obsoletes: gg2-history-external | |
9e056ec1 | 331 | |
b81de2ef | 332 | %description plugin-history-external |
9c607e4e | 333 | Allow to view GNU Gadu chat history. |
9e056ec1 | 334 | |
2c20b9f7 JR |
335 | %description plugin-history-external -l pl.UTF-8 |
336 | Wtyczka pozwalająca przeglądać historię rozmów GNU Gadu. | |
9e056ec1 | 337 | |
b81de2ef | 338 | %package plugin-update |
36edf47d | 339 | Summary: Check for new GNU Gadu newer version |
a68ff7f8 ER |
340 | Summary(es.UTF-8): Verifica si hay versiones nuevas de GNU Gadu |
341 | Summary(pl.UTF-8): Sprawdzanie dostępności nowszej wersji GNU Gadu | |
36edf47d | 342 | Group: Applications/Communications |
caa293aa | 343 | Requires: %{name} = %{epoch}:%{version}-%{release} |
22fef706 JB |
344 | Provides: gg2-update = %{epoch}:%{version}-%{release} |
345 | Obsoletes: gg2-update | |
36edf47d | 346 | |
b81de2ef | 347 | %description plugin-update |
36edf47d MK |
348 | Check for new GNU Gadu newer version. |
349 | ||
2c20b9f7 | 350 | %description plugin-update -l es.UTF-8 |
fd482edb | 351 | Verifica si hay nuevas versiones de GNU Gadu. |
352 | ||
2c20b9f7 JR |
353 | %description plugin-update -l pl.UTF-8 |
354 | Wtyczka sprawdzająca, czy jest dostępna nowsza wersja GNU Gadu. | |
36edf47d | 355 | |
466db82e MK |
356 | %package plugin-dbus |
357 | Summary: Allow to communicate using D-BUS message bus | |
a68ff7f8 | 358 | Summary(pl.UTF-8): Komunikacja za pomocą magistrali D-BUS |
466db82e | 359 | Group: Applications/Communications |
466db82e MK |
360 | Requires: %{name} = %{epoch}:%{version}-%{release} |
361 | ||
362 | %description plugin-dbus | |
71d4f6aa | 363 | This plugin allows to communicate using D-BUS interface. |
466db82e | 364 | |
2c20b9f7 JR |
365 | %description plugin-dbus -l pl.UTF-8 |
366 | Wtyczka pozwala na komunikację za pomocą magistrali D-BUS. | |
466db82e | 367 | |
b22fdaf4 MK |
368 | %package plugin-auto-away |
369 | Summary: Auto-Away Plugin | |
a68ff7f8 | 370 | Summary(pl.UTF-8): Wtyczka automatycznego stany zajętości |
b22fdaf4 MK |
371 | Group: Applications/Communications |
372 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
373 | ||
374 | %description plugin-auto-away | |
375 | Auto-Away Plugin. | |
376 | ||
2c20b9f7 JR |
377 | %description plugin-auto-away -l pl.UTF-8 |
378 | Wtyczka automatycznego stany zajętości. | |
b22fdaf4 MK |
379 | |
380 | %package plugin-ignore | |
381 | Summary: Allow to create list of ignored contacts | |
a68ff7f8 | 382 | Summary(pl.UTF-8): Wtyczka pozwalająca stworzyć listę kontaktów ignorowanych |
b22fdaf4 MK |
383 | Group: Applications/Communications |
384 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
385 | ||
386 | %description plugin-ignore | |
387 | Allow to create list of ignored contacts. | |
388 | ||
2c20b9f7 JR |
389 | %description plugin-ignore -l pl.UTF-8 |
390 | Wtyczka pozwalająca stworzyć listę kontaktów ignorowanych. | |
b22fdaf4 | 391 | |
7d69468c | 392 | %package themes |
f2a7339b | 393 | Summary: Themes for GNU Gadu 2 GUI |
a68ff7f8 ER |
394 | Summary(es.UTF-8): Temas para el GUI de GNU Gadu 2 |
395 | Summary(pl.UTF-8): Motywy graficzne dla GUI GNU Gadu 2 | |
7d69468c | 396 | Group: Applications/Communications |
22fef706 | 397 | Requires: %{name}-gui-gtk+2 = %{epoch}:%{version}-%{release} |
7d69468c MK |
398 | |
399 | %description themes | |
f2a7339b | 400 | Themes for GNU Gadu 2 GUI. |
7d69468c | 401 | |
2c20b9f7 | 402 | %description themes -l es.UTF-8 |
fd482edb | 403 | Temas para el GUI de GNU Gadu 2. |
404 | ||
2c20b9f7 | 405 | %description themes -l pl.UTF-8 |
f2a7339b | 406 | Motywy graficzne dla GUI GNU Gadu 2. |
7d69468c | 407 | |
85a8a1cc | 408 | %prep |
6b7f3ce3 | 409 | %setup -q |
466db82e | 410 | %patch0 -p1 |
a99c1ee5 | 411 | |
85a8a1cc | 412 | %build |
2a4c2932 | 413 | %{__gettextize} |
85a8a1cc | 414 | %{__libtoolize} |
65a34962 | 415 | %{__aclocal} -I src/plugins/gadu_gadu/libgadu/m4 |
85a8a1cc | 416 | %{__automake} |
417 | %{__autoconf} | |
a99c1ee5 | 418 | |
85a8a1cc | 419 | %configure \ |
e3c73da1 TP |
420 | %{!?debug:--disable-gdb} \ |
421 | %{!?debug:--disable-debug} \ | |
f2a7339b MK |
422 | --with-gui \ |
423 | --with-gadu \ | |
424 | --with-tlen \ | |
425 | --with-jabber \ | |
a9074194 | 426 | --with%{!?with_xosd:out}-xosd \ |
36edf47d MK |
427 | --with-sms \ |
428 | --with-docklet_system_tray \ | |
caa293aa | 429 | --with-docklet_dockapp \ |
1f6c1fe6 | 430 | --with%{!?with_esd:out}-esd \ |
caa63b1f | 431 | --with%{!?with_arts:out}-arts \ |
f2a7339b | 432 | --with-oss \ |
f2a7339b | 433 | --with-external \ |
36edf47d | 434 | --with-update \ |
9e056ec1 | 435 | --with-history-external-viewer \ |
b22fdaf4 MK |
436 | --with-aaway \ |
437 | --with-ignore \ | |
9e056ec1 | 438 | --with-gghist \ |
6c8071da | 439 | --with%{!?with_gtkspell:out}-gtkspell \ |
466db82e | 440 | --with%{!?with_dbus:out}-dbus \ |
b22fdaf4 | 441 | %{?with_dbus:--with-dbus-dir=%{_datadir}/dbus-1/services/} \ |
7432d2af | 442 | --%{?with_perl:with}%{!?with_perl:without}-perl |
a99c1ee5 | 443 | |
85a8a1cc | 444 | %{__make} |
445 | ||
446 | %install | |
447 | rm -rf $RPM_BUILD_ROOT | |
a99c1ee5 | 448 | |
85a8a1cc | 449 | %{__make} install \ |
450 | DESTDIR=$RPM_BUILD_ROOT | |
451 | ||
a546ab07 | 452 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
2a4c2932 | 453 | install gg2.desktop $RPM_BUILD_ROOT%{_desktopdir}/gg2.desktop |
c5d2f0bb | 454 | |
266df74e MK |
455 | %find_lang %{name} --all-name --with-gnome |
456 | ||
a546ab07 | 457 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
a546ab07 | 458 | |
85a8a1cc | 459 | %clean |
460 | rm -rf $RPM_BUILD_ROOT | |
461 | ||
7bafbc37 JB |
462 | %post -p /sbin/ldconfig |
463 | %postun -p /sbin/ldconfig | |
464 | ||
266df74e | 465 | %files -f %{name}.lang |
85a8a1cc | 466 | %defattr(644,root,root,755) |
38c6d32e | 467 | %doc A* C* N* R* T* contrib doc/* |
a99c1ee5 | 468 | %attr(755,root,root) %{_bindir}/gg2 |
7bafbc37 | 469 | %attr(755,root,root) %{_libdir}/libgg2_core.so.*.*.* |
dda3428b | 470 | %dir %{_libdir}/gg2 |
243a588d | 471 | %{_datadir}/%{name}/sounds |
a99c1ee5 | 472 | |
b81de2ef | 473 | %files plugin-gui-gtk+2 |
a99c1ee5 | 474 | %defattr(644,root,root,755) |
dda3428b | 475 | %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so |
916a401f | 476 | %dir %{_datadir}/gg2 |
2e894f1c | 477 | %dir %{_datadir}/gg2/pixmaps |
1ef9fbb8 | 478 | %{_datadir}/gg2/pixmaps/*.png |
479 | %{_datadir}/gg2/pixmaps/*.gif | |
1ef9fbb8 | 480 | %{_pixmapsdir}/%{name}.png |
a546ab07 | 481 | %{_desktopdir}/gg2.desktop |
c5d2f0bb | 482 | |
f2a7339b | 483 | %files devel |
d95881f6 | 484 | %defattr(644,root,root,755) |
7bafbc37 JB |
485 | %attr(755,root,root) %{_libdir}/libgg2_core.so |
486 | %{_libdir}/libgg2_core.la | |
f2a7339b | 487 | %{_includedir}/gg2_core.h |
a546ab07 | 488 | %{_pkgconfigdir}/gg2_core.pc |
f2a7339b | 489 | |
5a9789e7 | 490 | %files emoticons |
762b089d | 491 | %defattr(644,root,root,755) |
8e6aac77 | 492 | %{_datadir}/gg2/pixmaps/emoticons |
a99c1ee5 | 493 | |
b81de2ef | 494 | %files plugin-gadu-gadu |
a99c1ee5 | 495 | %defattr(644,root,root,755) |
dda3428b | 496 | %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so |
a99c1ee5 | 497 | |
b81de2ef | 498 | %files plugin-tlen |
a99c1ee5 | 499 | %defattr(644,root,root,755) |
dda3428b | 500 | %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so |
a99c1ee5 | 501 | |
b81de2ef | 502 | %files plugin-jabber |
c5d2f0bb MK |
503 | %defattr(644,root,root,755) |
504 | %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so | |
505 | ||
36edf47d | 506 | %if %{with esd} |
b81de2ef | 507 | %files plugin-sound-esd |
a99c1ee5 | 508 | %defattr(644,root,root,755) |
dda3428b | 509 | %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so |
36edf47d | 510 | %endif |
a99c1ee5 | 511 | |
b81de2ef | 512 | %files plugin-sound-oss |
ee5b83c4 | 513 | %defattr(644,root,root,755) |
dda3428b | 514 | %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so |
ee5b83c4 | 515 | |
b81de2ef | 516 | %files plugin-sound-external |
a3cff36b MK |
517 | %defattr(644,root,root,755) |
518 | %attr(755,root,root) %{_libdir}/gg2/libsound_external_plugin.so | |
519 | ||
ebf12c5c | 520 | %if %{with arts} |
b81de2ef | 521 | %files plugin-sound-aRts |
ebf12c5c MK |
522 | %defattr(644,root,root,755) |
523 | %attr(755,root,root) %{_libdir}/gg2/libsound_arts_plugin.so | |
524 | %endif | |
525 | ||
a9074194 | 526 | %if %{with xosd} |
b81de2ef | 527 | %files plugin-xosd |
a99c1ee5 | 528 | %defattr(644,root,root,755) |
dda3428b | 529 | %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so |
a9074194 | 530 | %endif |
c988c488 | 531 | |
b81de2ef | 532 | %files plugin-docklet-system-tray |
c988c488 | 533 | %defattr(644,root,root,755) |
36edf47d | 534 | %attr(755,root,root) %{_libdir}/gg2/libdocklet_system_tray_plugin.so |
7d69468c | 535 | |
b81de2ef | 536 | %files plugin-docklet-dockapp |
caa293aa MK |
537 | %defattr(644,root,root,755) |
538 | %attr(755,root,root) %{_libdir}/gg2/libdocklet_dockapp_plugin.so | |
539 | ||
b81de2ef | 540 | %files plugin-sms |
7423fba0 MK |
541 | %defattr(644,root,root,755) |
542 | %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so | |
543 | ||
b81de2ef | 544 | %files plugin-history-external |
9e056ec1 MK |
545 | %defattr(644,root,root,755) |
546 | %attr(755,root,root) %{_bindir}/gghist | |
547 | %attr(755,root,root) %{_libdir}/gg2/libhistory_external_plugin.so | |
548 | ||
b81de2ef | 549 | %files plugin-update |
36edf47d MK |
550 | %defattr(644,root,root,755) |
551 | %attr(755,root,root) %{_libdir}/gg2/libupdate_plugin.so | |
552 | ||
b22fdaf4 MK |
553 | %files plugin-auto-away |
554 | %defattr(644,root,root,755) | |
555 | %attr(755,root,root) %{_libdir}/gg2/libaaway_plugin.so | |
556 | ||
557 | %files plugin-ignore | |
558 | %defattr(644,root,root,755) | |
559 | %attr(755,root,root) %{_libdir}/gg2/libignore_main_plugin.so | |
560 | ||
466db82e MK |
561 | %if %{with dbus} |
562 | %files plugin-dbus | |
563 | %defattr(644,root,root,755) | |
564 | %attr(755,root,root) %{_libdir}/gg2/libdbus_plugin.so | |
b22fdaf4 | 565 | %{_datadir}/dbus-1/services/org.freedesktop.im.GG.service |
466db82e MK |
566 | %endif |
567 | ||
7d69468c MK |
568 | %files themes |
569 | %defattr(644,root,root,755) | |
570 | %dir %{_datadir}/gg2/themes | |
1ef9fbb8 | 571 | %{_datadir}/gg2/themes/*.theme |
97c1d3e7 MK |
572 | %dir %{_datadir}/gg2/pixmaps/icons |
573 | %dir %{_datadir}/gg2/pixmaps/icons/bubble | |
574 | %dir %{_datadir}/gg2/pixmaps/icons/classic | |
575 | %dir %{_datadir}/gg2/pixmaps/icons/modern | |
7423fba0 | 576 | %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda |
caa63b1f | 577 | %dir %{_datadir}/gg2/pixmaps/icons/ghosts |
97c1d3e7 | 578 | %{_datadir}/gg2/pixmaps/icons/bubble/*.png |
7423fba0 | 579 | %{_datadir}/gg2/pixmaps/icons/bubble/README |
97c1d3e7 | 580 | %{_datadir}/gg2/pixmaps/icons/classic/*.png |
7423fba0 | 581 | %{_datadir}/gg2/pixmaps/icons/classic/README |
97c1d3e7 | 582 | %{_datadir}/gg2/pixmaps/icons/modern/*.png |
7423fba0 MK |
583 | %{_datadir}/gg2/pixmaps/icons/modern/README |
584 | %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png | |
e91a6e7e | 585 | %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt |
a3cff36b MK |
586 | %{_datadir}/gg2/pixmaps/icons/ghosts/*.png |
587 | %{_datadir}/gg2/pixmaps/icons/ghosts/README |