6 %bcond_without gtkspell
8 Summary: GNU Gadu 2 - free talking
9 Summary(es): GNU Gadu 2 - charlar libremente
10 Summary(pl): GNU Gadu 2 - wolne gadanie
16 Group: Applications/Communications
17 Source0: http://osdn.dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}.tar.gz
18 # Source0-md5: ed977cb5bc00b37c9ceaece94f785b65
19 URL: http://www.gnugadu.org/
20 %{?with_arts:BuildRequires: artsc-devel}
21 BuildRequires: autoconf
22 BuildRequires: automake >= 1.7
23 %{?with_esd:BuildRequires: esound-devel >= 0.2.7}
24 BuildRequires: gettext-devel >= 0.11.0
25 BuildRequires: glib2-devel >= 2.2.0
26 BuildRequires: gtk+2-devel >= 2.4.0
27 BuildRequires: libtlen-devel
28 BuildRequires: libtool
29 BuildRequires: loudmouth-devel >= 0.16-4
30 BuildRequires: openssl-devel >= 0.9.7d
31 %{?with_perl:BuildRequires: perl-devel}
32 %{?with_gtkspell:BuildRequires: gtkspell-devel}
33 %{?with_gtkspell:BuildRequires: aspell-devel}
34 BuildRequires: pkgconfig
35 BuildRequires: xosd-devel >= 2.0.0
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Gadu-Gadu, Tlen.pl and others instant messenger client with
44 Un cliente para Gadu-Gadu, Tlen.pl y otros protocolos con un GUI de
45 GTK+2, bajo la licencia GNU/GPL.
48 Klient Gadu-Gadu, Tlen.pl oraz innych protoko³ów z GUI pod GTK+2 na
52 Summary: Headers for libgg2_core library to develop plugins
53 Summary(es): Cabeceras para la biblioteca libgg2_core para desarrollar plugins
54 Summary(pl): Pliki nag³ówkowe biblioteki libgg2_core potrzebne do rozwijania wtyczek
55 Group: Applications/Communications
56 Requires: %{name} = %{epoch}:%{version}-%{release}
61 This package contains header files for libgg2_core library, needed to
62 develop plugins for GNU Gadu 2.
64 %description devel -l es
65 Este paquete contiene los ficheros de cabeceras de la biblioteca
66 libgg2_core necesarios para desarrollar plugins para GNU Gadu 2.
68 %description devel -l pl
69 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgg2_core, potrzebne
70 do rozwijania wtyczek do GNU Gadu 2.
73 Summary: GTK+2 GUI plugin
74 Summary(es): Plugin de GUI en GTK+2
75 Summary(pl): Wtyczka z GUI w GTK+2
76 Group: Applications/Communications
78 Requires: %{name} = %{epoch}:%{version}-%{release}
80 %description gui-gtk+2
81 GTK+2 GUI plugin for GNU Gadu 2.
83 %description gui-gtk+2 -l es
84 Un plugin con un GUI en GTK+2 para GNU Gadu 2.
86 %description gui-gtk+2 -l pl
87 Wtyczka z GUI w GTK+2 do GNU Gadu 2.
91 Summary(es): Emoticons
92 Summary(pl): Emotikony
93 Group: Applications/Communications
94 Requires: %{name} = %{epoch}:%{version}-%{release}
96 %description emoticons
97 Emotions icons and description files.
99 %description emoticons -l es
100 Iconas de emociones y sus ficheros de descripción.
102 %description emoticons -l pl
103 Zestaw ikon z emotikonami, oraz plikiem konfiguracyjnym.
106 Summary: Gadu-Gadu plugin
107 Summary(es): Plugin de Gadu-Gadu
108 Summary(pl): Wtyczka protoko³u Gadu-Gadu
109 Group: Applications/Communications
110 Requires: %{name} = %{epoch}:%{version}-%{release}
112 %description gadu-gadu
113 Gadu-Gadu protocol plugin.
115 %description gadu-gadu -l es
116 Un plugin para el protocolo Gadu-Gadu.
118 %description gadu-gadu -l pl
119 Wtyczka protoko³u Gadu-Gadu.
122 Summary: Tlen.pl plugin
123 Summary(es): Plugin de Tlen.pl
124 Summary(pl): Wtyczka protoko³u Tlen.pl
125 Group: Applications/Communications
126 Requires: %{name} = %{epoch}:%{version}-%{release}
129 Tlen.pl protocol plugin.
131 %description tlen -l es
132 Un plugin para el protocolo Tlen.pl.
134 %description tlen -l pl
135 Wtyczka protoko³u Tlen.pl.
138 Summary: Jabber.org plugin
139 Summary(es): Plugin de Jabber.org
140 Summary(pl): Wtyczka protoko³u Jabber
141 Group: Applications/Communications
142 Requires: %{name} = %{epoch}:%{version}-%{release}
143 Requires: loudmouth >= 0.16-4
146 Jabber protocol plugin.
148 %description jabber -l es
149 Un plugin para el protocolo Jabber.
151 %description jabber -l pl
152 Wtyczka protoko³u Jabber.
155 Summary: Sound support with ESD
156 Summary(es): Soporte de sonido a través de ESD
157 Summary(pl): Obs³uga d¼wiêku poprzez ESD
158 Group: Applications/Communications
159 Requires: %{name} = %{epoch}:%{version}-%{release}
161 %description sound-esd
162 Sound support with ESD.
164 %description sound-esd -l es
165 Soporte de sonido a través de ESD.
167 %description sound-esd -l pl
168 Obs³uga d¼wiêku poprzez ESD.
171 Summary: OSS sound support
172 Summary(es): Soporte de sonido a través de OSS
173 Summary(pl): Obs³uga d¼wiêku OSS
174 Group: Applications/Communications
175 Requires: %{name} = %{epoch}:%{version}-%{release}
177 %description sound-oss
180 %description sound-oss -l es
181 Soporte de sonido a través de OSS.
183 %description sound-oss -l pl
186 %package sound-external
187 Summary: Sound support with external player
188 Summary(es): Soporte de sonido vía un reproductor externo
189 Summary(pl): Obs³uga d¼wiêku przez zewnêtrzny program
190 Group: Applications/Communications
191 Requires: %{name} = %{epoch}:%{version}-%{release}
193 %description sound-external
194 Sound support with external player.
196 %description sound-external -l es
197 Soporte de sonido a través de un reproductor externo.
199 %description sound-external -l pl
200 Obs³uga d¼wiêku przez zewnêtrzny program.
203 Summary: Sound support with aRts
204 Summary(es): Soporte de sonido a través de aRts
205 Summary(pl): Obs³uga d¼wiêku poprzez aRts
206 Group: Applications/Communications
207 Requires: %{name} = %{epoch}:%{version}-%{release}
209 %description sound-aRts
210 Sound support with aRts.
212 %description sound-aRts -l es
213 Soporte de sonido a través de aRts.
215 %description sound-aRts -l pl
216 Obs³uga d¼wiêku poprzez aRts.
219 Summary: Support for X On Screen Display
220 Summary(es): Soporte para plasmar mensajes sobre el fondo de X
221 Summary(pl): Wy¶wietlanie komunikatów na ekranie X
222 Group: Applications/Communications
223 Requires: %{name} = %{epoch}:%{version}-%{release}
226 Support for X On Screen Display.
228 %description xosd -l es
229 Soporte para plasmar mensajes sobre el fondo (XOSD).
231 %description xosd -l pl
232 Wy¶wietlanie komunikatów na ekranie X.
234 %package docklet-system-tray
235 Summary: Support for Window Managers notification areas
236 Summary(es): Soporte para áreas de notificación de los Manejantes de Ventanas
237 Summary(pl): Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien
238 Group: Applications/Communications
239 Requires: %{name} = %{epoch}:%{version}-%{release}
240 Obsoletes: %{name}-docklet
242 %description docklet-system-tray
243 Support for Window Managers notification areas (GNOME, KDE).
245 %description docklet-system-tray -l es
246 Soporte para áreas de notificación de los Manejantes de Ventanas
249 %description docklet-system-tray -l pl
250 Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien (GNOME, KDE).
252 %package docklet-dockapp
253 Summary: Support for WindowMaker-style dockapp
254 Summary(es): Soporte de dockapp estilo WindowMaker
255 Summary(pl): Obs³uga dokowalnego apletu zgodnego z WindowMakerem
256 Group: Applications/Communications
257 Requires: %{name} = %{epoch}:%{version}-%{release}
258 Obsoletes: %{name}-docklet
260 %description docklet-dockapp
261 Support for WindowMaker-style dockapp.
263 %description docklet-dockapp -l es
264 Suporte de dockapp estilo WindowMaker.
266 %description docklet-dockapp -l pl
267 Obs³uga dokowalnego apletu zgodnego z WindowMakerem.
271 Summary(es): Puerta SMS
272 Summary(pl): Bramka SMS
273 Group: Applications/Communications
274 Requires: %{name} = %{epoch}:%{version}-%{release}
277 Send SMS to cellular phones via web gateways.
279 %description sms -l es
280 Manda mensajes SMS a móviles vía puertas del Web.
282 %description sms -l pl
283 Wtyczka wysy³aj±ca wiadomo¶ci SMS na telefony komórkowe przez bramki
287 Summary: Remote access from other applications
288 Summary(es): Acceso remoto desde otras aplicaciones
289 Summary(pl): Dostêp do programu z innych aplikacji
290 Group: Applications/Communications
292 Requires: %{name} = %{epoch}:%{version}-%{release}
295 Make possible exchange data with other applications.
297 %description remote -l es
298 Permite intercambiar los datos con otras aplicaciones.
301 %description remote -l pl
302 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
305 %package history-external
306 Summary: Allow to view GNU Gadu chat history
307 Summary(pl): Pozwala przegl±daæ historiê rozmów GNU Gadu.
308 Group: Applications/Communications
310 Requires: %{name} = %{epoch}:%{version}-%{release}
312 %description history-external
313 Allow to view GNU Gadu chat history
315 %description history-external -l pl
316 Pozwala przegl±daæ historiê rozmów GNU Gadu.
319 Summary: Check for new GNU Gadu newer version
320 Summary(es): Verifica si hay versiones nuevas de GNU Gadu
321 Summary(pl): Sprawdza czy jest dostêpna nowsza wersja GNU Gadu
322 Group: Applications/Communications
323 Requires: %{name} = %{epoch}:%{version}-%{release}
326 Check for new GNU Gadu newer version.
328 %description update -l es
329 Verifica si hay nuevas versiones de GNU Gadu.
331 %description update -l pl
332 Sprawdza czy jest dostêpna nowsza wersja GNU Gadu
335 Summary: Themes for GNU Gadu 2 GUI
336 Summary(es): Temas para el GUI de GNU Gadu 2
337 Summary(pl): Motywy graficzne dla GUI GNU Gadu 2
338 Group: Applications/Communications
339 Requires: %{name} = %{epoch}:%{version}-%{release}
340 Requires: %{name}-gui-gtk+2
343 Themes for GNU Gadu 2 GUI.
345 %description themes -l es
346 Temas para el GUI de GNU Gadu 2.
348 %description themes -l pl
349 Motywy graficzne dla GUI GNU Gadu 2.
358 %{__aclocal} -I src/plugins/gadu_gadu/libgadu/m4
363 %{!?debug:--disable-gdb} \
364 %{!?debug:--disable-debug} \
371 --with-docklet_system_tray \
372 --with-docklet_dockapp \
373 --with%{!?with_esd:out}-esd \
374 --with%{!?with_arts:out}-arts \
378 --with-history-external-viewer \
380 --with%{!?with_gtkspell:out}-gtkspell \
381 --%{?with_perl:with}%{!?with_perl:without}-perl \
387 rm -rf $RPM_BUILD_ROOT
390 DESTDIR=$RPM_BUILD_ROOT
392 install -d $RPM_BUILD_ROOT%{_desktopdir}
393 install gg2.desktop $RPM_BUILD_ROOT%{_desktopdir}/gg2.desktop
395 %find_lang %{name} --all-name --with-gnome
397 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
400 rm -rf $RPM_BUILD_ROOT
402 %post -p /sbin/ldconfig
403 %postun -p /sbin/ldconfig
405 %files -f %{name}.lang
406 %defattr(644,root,root,755)
407 %doc A* C* N* R* T* contrib doc/*
408 %attr(755,root,root) %{_bindir}/gg2
409 %attr(755,root,root) %{_libdir}/libgg2_core.so.*.*.*
411 %{_datadir}/%{name}/sounds
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
417 %dir %{_datadir}/gg2/pixmaps
418 %{_datadir}/gg2/pixmaps/*.png
419 %{_datadir}/gg2/pixmaps/*.gif
420 %{_pixmapsdir}/%{name}.png
421 %{_desktopdir}/gg2.desktop
424 %defattr(644,root,root,755)
425 %attr(755,root,root) %{_libdir}/libgg2_core.so
426 %{_libdir}/libgg2_core.la
427 %{_includedir}/gg2_core.h
428 %{_pkgconfigdir}/gg2_core.pc
431 %defattr(644,root,root,755)
432 %{_datadir}/gg2/pixmaps/emoticons
435 %defattr(644,root,root,755)
436 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
439 %defattr(644,root,root,755)
440 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
448 %defattr(644,root,root,755)
449 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
453 %defattr(644,root,root,755)
454 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
456 %files sound-external
457 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_libdir}/gg2/libsound_external_plugin.so
462 %defattr(644,root,root,755)
463 %attr(755,root,root) %{_libdir}/gg2/libsound_arts_plugin.so
467 %defattr(644,root,root,755)
468 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
470 %files docklet-system-tray
471 %defattr(644,root,root,755)
472 %attr(755,root,root) %{_libdir}/gg2/libdocklet_system_tray_plugin.so
474 %files docklet-dockapp
475 %defattr(644,root,root,755)
476 %attr(755,root,root) %{_libdir}/gg2/libdocklet_dockapp_plugin.so
479 %defattr(644,root,root,755)
480 %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so
483 %defattr(644,root,root,755)
484 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
486 %files history-external
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_bindir}/gghist
489 %attr(755,root,root) %{_libdir}/gg2/libhistory_external_plugin.so
492 %defattr(644,root,root,755)
493 %attr(755,root,root) %{_libdir}/gg2/libupdate_plugin.so
496 %defattr(644,root,root,755)
497 %dir %{_datadir}/gg2/themes
498 %{_datadir}/gg2/themes/*.theme
499 %dir %{_datadir}/gg2/pixmaps/icons
500 %dir %{_datadir}/gg2/pixmaps/icons/bubble
501 %dir %{_datadir}/gg2/pixmaps/icons/classic
502 %dir %{_datadir}/gg2/pixmaps/icons/modern
503 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
504 %dir %{_datadir}/gg2/pixmaps/icons/ghosts
505 %dir %{_datadir}/gg2/pixmaps/icons/tlen-classic
506 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
507 %{_datadir}/gg2/pixmaps/icons/bubble/README
508 %{_datadir}/gg2/pixmaps/icons/classic/*.png
509 %{_datadir}/gg2/pixmaps/icons/classic/README
510 %{_datadir}/gg2/pixmaps/icons/modern/*.png
511 %{_datadir}/gg2/pixmaps/icons/modern/README
512 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png
513 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt
514 %{_datadir}/gg2/pixmaps/icons/ghosts/*.png
515 %{_datadir}/gg2/pixmaps/icons/ghosts/README
516 %{_datadir}/gg2/pixmaps/icons/tlen-classic/*.png