7 Summary: GNU Gadu 2 - free talking
8 Summary(es): GNU Gadu 2 - charlar libremente
9 Summary(pl): GNU Gadu 2 - wolne gadanie
15 Group: Applications/Communications
16 #Source0: http://dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}-%{_snap}.tar.gz
17 Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}-%{_snap}.tar.gz
18 # Source0-md5: c105e95d740323feb14d726f07523bd1
19 Source1: %{name}.desktop
20 Patch0: %{name}-typo.patch
21 URL: http://www.gadu.gnu.pl/
22 BuildRequires: perl-devel
23 BuildRequires: autoconf
24 BuildRequires: automake >= 1.7
25 %{?with_esd:BuildRequires: esound-devel >= 0.2.7}
26 BuildRequires: gettext-devel >= 0.11.0
27 BuildRequires: glib2-devel >= 2.2.0
28 BuildRequires: gtk+2-devel >= 2.2.0
29 BuildRequires: intltool
30 BuildRequires: libgadu-devel >= 4:1.4
31 BuildRequires: libtlen-devel
32 BuildRequires: libtool
33 BuildRequires: loudmouth-devel >= 0.13.1
34 BuildRequires: pkgconfig
35 BuildRequires: xosd-devel >= 2.0.0
36 %{?with_arts:BuildRequires: arts-devel}
37 %{?with_perl:BuildRequires: perl-devel}
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Gadu-Gadu, Tlen.pl and others instant messanger client with
45 Un cliente para Gadu-Gadu, Tlen.pl y otros protocolos con un GUI de
46 GTK+2, bajo la licencia GNU/GPL.
49 Klient Gadu-Gadu, Tlen.pl oraz innych protoko³ów z GUI pod GTK+2 na
53 Summary: Headers for libgg2_core library to develop plugins
54 Summary(es): Cabeceras para la biblioteca libgg2_core para desarrollar plugins
55 Summary(pl): Pliki nag³ówkowe biblioteki libgg2_core potrzebne do rozwijania wtyczek
56 Group: Applications/Communications
57 Requires: %{name} = %{epoch}:%{version}
62 This package contains header files for libgg2_core library, needed to
63 develop plugins for GNU Gadu 2.
65 %description devel -l es
66 Este paquete contiene los ficheros de cabeceras de la biblioteca
67 libgg2_core necesarios para desarrollar plugins para GNU Gadu 2.
69 %description devel -l pl
70 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgg2_core, potrzebne
71 do rozwijania wtyczek do GNU Gadu 2.
74 Summary: GTK+2 GUI plugin
75 Summary(es): Plugin de GUI en GTK+2
76 Summary(pl): Wtyczka z GUI w GTK+2
77 Group: Applications/Communications
78 Requires: %{name} = %{epoch}:%{version}
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}
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}
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}
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}
145 Jabber protocol plugin.
147 %description jabber -l es
148 Un plugin para el protocolo Jabber.
150 %description jabber -l pl
151 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}
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.
172 Summary: OSS sound support
173 Summary(es): Soporte de sonido a través de OSS
174 Summary(pl): Obs³uga d¼wiêku OSS
175 Group: Applications/Communications
176 Requires: %{name} = %{epoch}:%{version}
178 %description sound-oss
181 %description sound-oss -l es
182 Soporte de sonido a través de OSS.
184 %description sound-oss -l pl
187 %package sound-external
188 Summary: Sound support with external player
189 Summary(es): Soporte de sonido vía un reproductor externo
190 Summary(pl): Obs³uga d¼wiêku przez zewnêtrzny program
191 Group: Applications/Communications
192 Requires: %{name} = %{epoch}:%{version}
194 %description sound-external
195 Sound support with external player.
197 %description sound-external -l es
198 Soporte de sonido a través de un reproductor externo.
200 %description sound-external -l pl
201 Obs³uga d¼wiêku przez zewnêtrzny program.
205 Summary: Sound support with aRts
206 Summary(es): Soporte de sonido a través de aRts
207 Summary(pl): Obs³uga d¼wiêku poprzez aRts
208 Group: Applications/Communications
209 Requires: %{name} = %{version}
211 %description sound-aRts
212 Sound support with aRts.
214 %description sound-aRts -l es
215 Soporte de sonido a través de aRts.
217 %description sound-aRts -l pl
218 Obs³uga d¼wiêku poprzez aRts.
222 Summary: Support for X On Screen Display
223 Summary(es): Soporte para plasmar mensajes sobre el fondo de X
224 Summary(pl): Wy¶wietlanie komunikatów na ekranie X
225 Group: Applications/Communications
226 Requires: %{name} = %{epoch}:%{version}
229 Support for X On Screen Display.
231 %description xosd -l es
232 Soporte para plasmar mensajes sobre el fondo (XOSD).
234 %description xosd -l pl
235 Wy¶wietlanie komunikatów na ekranie X.
237 %package docklet-system-tray
238 Summary: Support for Window Managers notification areas
239 Summary(es): Soporte para áreas de notificación de los Manejantes de Ventanas
240 Summary(pl): Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien
241 Group: Applications/Communications
242 Requires: %{name} = %{epoch}:%{version}
243 Obsoletes: %{name}-docklet
245 %description docklet-system-tray
246 Support for Window Managers nofinication areas (GNOME, KDE).
248 %description docklet-system-tray -l es
249 Soporte para áreas de notificación de los Manejantes de Ventanas
252 %description docklet-system-tray -l pl
253 Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien (GNOME, KDE).
257 Summary(es): Puerta SMS
258 Summary(pl): Bramka SMS
259 Group: Applications/Communications
260 Requires: %{name} = %{epoch}:%{version}
263 Send SMS to cellular phones via web gateways.
265 %description sms -l es
266 Manda mensajes SMS a móviles vía puertas del Web.
268 %description sms -l pl
269 Wtyczka wysy³aj±ca wiadomo¶ci SMS na telefony komórkowe przez bramki WWW.
272 Summary: Remote access from other applications
273 Summary(es): Acceso remoto desde otras aplicaciones
274 Summary(pl): Dostêp do programu z innych aplikacji
275 Group: Applications/Communications
276 Requires: %{name} = %{epoch}:%{version}
279 Make possible exchange data with other applications.
281 %description remote -l es
282 Permite intercambiar los datos con otras aplicaciones.
284 %description remote -l pl
285 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
288 Summary: Check for new GNU Gadu newer version
289 Summary(es): Verifica si hay versiones nuevas de GNU Gadu
290 Summary(pl): Sprawdza czy jest dostêpna nowsza wersja GNU Gadu
291 Group: Applications/Communications
292 Requires: %{name} = %{epoch}:%{version}
295 Check for new GNU Gadu newer version.
297 %description update -l es
298 Verifica si hay nuevas versiones de GNU Gadu.
300 %description update -l pl
301 Sprawdza czy jest dostêpna nowsza wersja GNU Gadu
304 Summary: Themes for GNU Gadu 2 GUI
305 Summary(es): Temas para el GUI de GNU Gadu 2
306 Summary(pl): Motywy graficzne dla GUI GNU Gadu 2
307 Group: Applications/Communications
308 Requires: %{name} = %{epoch}:%{version}
309 Requires: %{name}-gui-gtk+2
312 Themes for GNU Gadu 2 GUI.
314 %description themes -l es
315 Temas para el GUI de GNU Gadu 2.
317 %description themes -l pl
318 Motywy graficzne dla GUI GNU Gadu 2.
321 %setup -q -n %{name}-%{version}-%{_snap}
326 intltoolize --copy --force
333 %{!?debug:--disable-gdb} \
334 %{!?debug:--disable-debug} \
341 --with-docklet_system_tray \
342 --%{?with_esd:with}%{?!with_esd:without}-esd \
346 --%{?with_arts:with}%{?!with_arts:without}-arts \
347 --%{?with_perl:enable}%{?!with_perl:disable}-perl \
353 rm -rf $RPM_BUILD_ROOT
356 DESTDIR=$RPM_BUILD_ROOT
358 install -d $RPM_BUILD_ROOT%{_desktopdir}
359 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
360 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
361 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
362 install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
364 %find_lang %{name} --all-name --with-gnome
366 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
369 rm -rf $RPM_BUILD_ROOT
371 %post -p /sbin/ldconfig
372 %postun -p /sbin/ldconfig
374 %files -f %{name}.lang
375 %defattr(644,root,root,755)
376 %doc A* C* N* R* T* contrib doc/*
377 %attr(755,root,root) %{_bindir}/gg2
378 %attr(755,root,root) %{_libdir}/libgg2_core.so.*.*.*
380 %{_datadir}/%{name}/sounds
383 %defattr(644,root,root,755)
384 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
386 %dir %{_datadir}/gg2/pixmaps
387 %{_datadir}/gg2/pixmaps/*.png
388 %{_datadir}/gg2/pixmaps/*.gif
389 %{_pixmapsdir}/%{name}.png
390 %{_desktopdir}/gg2.desktop
393 %defattr(644,root,root,755)
394 %attr(755,root,root) %{_libdir}/libgg2_core.so
395 %{_libdir}/libgg2_core.la
396 %{_includedir}/gg2_core.h
397 %{_pkgconfigdir}/gg2_core.pc
400 %defattr(644,root,root,755)
401 %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
408 %defattr(644,root,root,755)
409 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
412 %defattr(644,root,root,755)
413 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
417 %defattr(644,root,root,755)
418 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
422 %defattr(644,root,root,755)
423 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
425 %files sound-external
426 %defattr(644,root,root,755)
427 %attr(755,root,root) %{_libdir}/gg2/libsound_external_plugin.so
431 %defattr(644,root,root,755)
432 %attr(755,root,root) %{_libdir}/gg2/libsound_arts_plugin.so
436 %defattr(644,root,root,755)
437 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
439 %files docklet-system-tray
440 %defattr(644,root,root,755)
441 %attr(755,root,root) %{_libdir}/gg2/libdocklet_system_tray_plugin.so
444 %defattr(644,root,root,755)
445 %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so
448 %defattr(644,root,root,755)
449 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
452 %defattr(644,root,root,755)
453 %attr(755,root,root) %{_libdir}/gg2/libupdate_plugin.so
456 %defattr(644,root,root,755)
457 %dir %{_datadir}/gg2/themes
458 %{_datadir}/gg2/themes/*.theme
459 %dir %{_datadir}/gg2/pixmaps/icons
460 %dir %{_datadir}/gg2/pixmaps/icons/bubble
461 %dir %{_datadir}/gg2/pixmaps/icons/classic
462 %dir %{_datadir}/gg2/pixmaps/icons/modern
463 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
464 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
465 %{_datadir}/gg2/pixmaps/icons/bubble/README
466 %{_datadir}/gg2/pixmaps/icons/classic/*.png
467 %{_datadir}/gg2/pixmaps/icons/classic/README
468 %{_datadir}/gg2/pixmaps/icons/modern/*.png
469 %{_datadir}/gg2/pixmaps/icons/modern/README
470 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png
471 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt
472 %{_datadir}/gg2/pixmaps/icons/ghosts/*.png
473 %{_datadir}/gg2/pixmaps/icons/ghosts/README
474 %{_datadir}/gg2/pixmaps/icons/tlen-3d/README
475 %{_datadir}/gg2/pixmaps/icons/tlen-3d/*.png