]> git.pld-linux.org Git - packages/gg2.git/blob - gg2.spec
- up to 2.0
[packages/gg2.git] / gg2.spec
1 #
2 # Conditional build:
3 %bcond_with     arts
4 %bcond_without  perl
5 %bcond_without  esd
6 %bcond_without  gtkspell
7 #
8 Summary:        GNU Gadu 2 - free talking
9 Summary(es):    GNU Gadu 2 - charlar libremente
10 Summary(pl):    GNU Gadu 2 - wolne gadanie
11 Name:           gg2
12 Version:        2.0
13 Release:        1
14 Epoch:          3
15 License:        GPL v2+
16 Group:          Applications/Communications
17 Source0:        http://osdn.dl.sourceforge.net/ggadu/%{name}-%{version}.tar.gz
18 # Source0-md5:  1b790ff84c97632fe6535c5b499909a0
19 URL:            http://www.gnugadu.org/
20 %{?with_arts:BuildRequires:     arts-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.2.0
27 BuildRequires:  libtlen-devel
28 BuildRequires:  libtool
29 BuildRequires:  loudmouth-devel >= 0.15.1
30 BuildRequires:  openssl-devel >= 0.9.7d
31 %{?with_perl:BuildRequires:     perl-devel}
32 %{?with_gtkspell:BuildRequires: gtkspell-devel}
33 BuildRequires:  pkgconfig
34 BuildRequires:  xosd-devel   >= 2.0.0
35 Requires:       gg2-ui
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Gadu-Gadu, Tlen.pl and others instant messanger client with
40 GTK+2 GUI on GNU/GPL.
41
42 %description -l es
43 Un cliente para Gadu-Gadu, Tlen.pl y otros protocolos con un GUI de
44 GTK+2, bajo la licencia GNU/GPL.
45
46 %description -l pl
47 Klient Gadu-Gadu, Tlen.pl oraz innych protoko³ów z GUI pod GTK+2 na
48 licencji GNU/GPL.
49
50 %package devel
51 Summary:        Headers for libgg2_core library to develop plugins
52 Summary(es):    Cabeceras para la biblioteca libgg2_core para desarrollar plugins
53 Summary(pl):    Pliki nag³ówkowe biblioteki libgg2_core potrzebne do rozwijania wtyczek
54 Group:          Applications/Communications
55 Requires:       %{name} = %{epoch}:%{version}-%{release}
56 Requires:       glib2-devel
57 Requires:       perl-devel
58
59 %description devel
60 This package contains header files for libgg2_core library, needed to
61 develop plugins for GNU Gadu 2.
62
63 %description devel -l es
64 Este paquete contiene los ficheros de cabeceras de la biblioteca
65 libgg2_core necesarios para desarrollar plugins para GNU Gadu 2.
66
67 %description devel -l pl
68 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgg2_core, potrzebne
69 do rozwijania wtyczek do GNU Gadu 2.
70
71 %package gui-gtk+2
72 Summary:        GTK+2 GUI plugin
73 Summary(es):    Plugin de GUI en GTK+2
74 Summary(pl):    Wtyczka z GUI w GTK+2
75 Group:          Applications/Communications
76 Provides:       gg2-ui
77 Requires:       %{name} = %{epoch}:%{version}-%{release}
78
79 %description gui-gtk+2
80 GTK+2 GUI plugin for GNU Gadu 2.
81
82 %description gui-gtk+2 -l es
83 Un plugin con un GUI en GTK+2 para GNU Gadu 2.
84
85 %description gui-gtk+2 -l pl
86 Wtyczka z GUI w GTK+2 do GNU Gadu 2.
87
88 %package emoticons
89 Summary:        Emoticons
90 Summary(es):    Emoticons
91 Summary(pl):    Emotikony
92 Group:          Applications/Communications
93 Requires:       %{name} = %{epoch}:%{version}-%{release}
94
95 %description emoticons
96 Emotions icons and description files.
97
98 %description emoticons -l es
99 Iconas de emociones y sus ficheros de descripción.
100
101 %description emoticons -l pl
102 Zestaw ikon z emotikonami, oraz plikiem konfiguracyjnym.
103
104 %package gadu-gadu
105 Summary:        Gadu-Gadu plugin
106 Summary(es):    Plugin de Gadu-Gadu
107 Summary(pl):    Wtyczka protoko³u Gadu-Gadu
108 Group:          Applications/Communications
109 Requires:       %{name} = %{epoch}:%{version}-%{release}
110
111 %description gadu-gadu
112 Gadu-Gadu protocol plugin.
113
114 %description gadu-gadu -l es
115 Un plugin para el protocolo Gadu-Gadu.
116
117 %description gadu-gadu -l pl
118 Wtyczka protoko³u Gadu-Gadu.
119
120 %package tlen
121 Summary:        Tlen.pl plugin
122 Summary(es):    Plugin de Tlen.pl
123 Summary(pl):    Wtyczka protoko³u Tlen.pl
124 Group:          Applications/Communications
125 Requires:       %{name} = %{epoch}:%{version}-%{release}
126
127 %description tlen
128 Tlen.pl protocol plugin.
129
130 %description tlen -l es
131 Un plugin para el protocolo Tlen.pl.
132
133 %description tlen -l pl
134 Wtyczka protoko³u Tlen.pl.
135
136 %package jabber
137 Summary:        Jabber.org plugin
138 Summary(es):    Plugin de Jabber.org
139 Summary(pl):    Wtyczka protoko³u Jabber
140 Group:          Applications/Communications
141 Requires:       %{name} = %{epoch}:%{version}-%{release}
142
143 %description jabber
144 Jabber protocol plugin.
145
146 %description jabber -l es
147 Un plugin para el protocolo Jabber.
148
149 %description jabber -l pl
150 Wtyczka protoko³u Jabber.
151
152 %package sound-esd
153 Summary:        Sound support with ESD
154 Summary(es):    Soporte de sonido a través de ESD
155 Summary(pl):    Obs³uga d¼wiêku poprzez ESD
156 Group:          Applications/Communications
157 Requires:       %{name} = %{epoch}:%{version}-%{release}
158
159 %description sound-esd
160 Sound support with ESD.
161
162 %description sound-esd -l es
163 Soporte de sonido a través de ESD.
164
165 %description sound-esd -l pl
166 Obs³uga d¼wiêku poprzez ESD.
167
168 %package sound-oss
169 Summary:        OSS sound support
170 Summary(es):    Soporte de sonido a través de OSS
171 Summary(pl):    Obs³uga d¼wiêku OSS
172 Group:          Applications/Communications
173 Requires:       %{name} = %{epoch}:%{version}-%{release}
174
175 %description sound-oss
176 OSS sound support.
177
178 %description sound-oss -l es
179 Soporte de sonido a través de OSS.
180
181 %description sound-oss -l pl
182 Obs³uga d¼wiêku OSS.
183
184 %package sound-external
185 Summary:        Sound support with external player
186 Summary(es):    Soporte de sonido vía un reproductor externo
187 Summary(pl):    Obs³uga d¼wiêku przez zewnêtrzny program
188 Group:          Applications/Communications
189 Requires:       %{name} = %{epoch}:%{version}-%{release}
190
191 %description sound-external
192 Sound support with external player.
193
194 %description sound-external -l es
195 Soporte de sonido a través de un reproductor externo.
196
197 %description sound-external -l pl
198 Obs³uga d¼wiêku przez zewnêtrzny program.
199
200 %package sound-aRts
201 Summary:        Sound support with aRts
202 Summary(es):    Soporte de sonido a través de aRts
203 Summary(pl):    Obs³uga d¼wiêku poprzez aRts
204 Group:          Applications/Communications
205 Requires:       %{name} = %{version}
206
207 %description sound-aRts
208 Sound support with aRts.
209
210 %description sound-aRts -l es
211 Soporte de sonido a través de aRts.
212
213 %description sound-aRts -l pl
214 Obs³uga d¼wiêku poprzez aRts.
215
216 %package xosd
217 Summary:        Support for X On Screen Display
218 Summary(es):    Soporte para plasmar mensajes sobre el fondo de X
219 Summary(pl):    Wy¶wietlanie komunikatów na ekranie X
220 Group:          Applications/Communications
221 Requires:       %{name} = %{epoch}:%{version}-%{release}
222
223 %description xosd
224 Support for X On Screen Display.
225
226 %description xosd -l es
227 Soporte para plasmar mensajes sobre el fondo (XOSD).
228
229 %description xosd -l pl
230 Wy¶wietlanie komunikatów na ekranie X.
231
232 %package docklet-system-tray
233 Summary:        Support for Window Managers notification areas
234 Summary(es):    Soporte para áreas de notificación de los Manejantes de Ventanas
235 Summary(pl):    Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien
236 Group:          Applications/Communications
237 Requires:       %{name} = %{epoch}:%{version}-%{release}
238 Obsoletes:      %{name}-docklet
239
240 %description docklet-system-tray
241 Support for Window Managers notification areas (GNOME, KDE).
242
243 %description docklet-system-tray -l es
244 Soporte para áreas de notificación de los Manejantes de Ventanas
245 (GNOME, KDE).
246
247 %description docklet-system-tray -l pl
248 Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien (GNOME, KDE).
249
250 %package docklet-dockapp
251 Summary:        Support for WindowMaker-style dockapp
252 Summary(es):    Soporte de dockapp estilo WindowMaker
253 Summary(pl):    Obs³uga dokowalnego apletu zgodnego z WindowMakerem
254 Group:          Applications/Communications
255 Requires:       %{name} = %{epoch}:%{version}-%{release}
256 Obsoletes:      %{name}-docklet
257
258 %description docklet-dockapp
259 Support for WindowMaker-style dockapp.
260
261 %description docklet-dockapp -l es
262 Suporte de dockapp estilo WindowMaker.
263
264 %description docklet-dockapp -l pl
265 Obs³uga dokowalnego apletu zgodnego z WindowMakerem.
266
267 %package sms
268 Summary:        SMS Gateway
269 Summary(es):    Puerta SMS
270 Summary(pl):    Bramka SMS
271 Group:          Applications/Communications
272 Requires:       %{name} = %{epoch}:%{version}-%{release}
273
274 %description sms
275 Send SMS to cellular phones via web gateways.
276
277 %description sms -l es
278 Manda mensajes SMS a móviles vía puertas del Web.
279
280 %description sms -l pl
281 Wtyczka wysy³aj±ca wiadomo¶ci SMS na telefony komórkowe przez bramki
282 WWW.
283
284 %package remote
285 Summary:        Remote access from other applications
286 Summary(es):    Acceso remoto desde otras aplicaciones
287 Summary(pl):    Dostêp do programu z innych aplikacji
288 Group:          Applications/Communications
289 Provides:       gg2-ui
290 Requires:       %{name} = %{epoch}:%{version}-%{release}
291
292 %description remote
293 Make possible exchange data with other applications.
294
295 %description remote -l es
296 Permite intercambiar los datos con otras aplicaciones.
297
298 %description remote -l pl
299 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
300
301 %package update
302 Summary:        Check for new GNU Gadu newer version
303 Summary(es):    Verifica si hay versiones nuevas de GNU Gadu
304 Summary(pl):    Sprawdza czy jest dostêpna nowsza wersja GNU Gadu
305 Group:          Applications/Communications
306 Requires:       %{name} = %{epoch}:%{version}-%{release}
307
308 %description update
309 Check for new GNU Gadu newer version.
310
311 %description update -l es
312 Verifica si hay nuevas versiones de GNU Gadu.
313
314 %description update -l pl
315 Sprawdza czy jest dostêpna nowsza wersja GNU Gadu
316
317 %package themes
318 Summary:        Themes for GNU Gadu 2 GUI
319 Summary(es):    Temas para el GUI de GNU Gadu 2
320 Summary(pl):    Motywy graficzne dla GUI GNU Gadu 2
321 Group:          Applications/Communications
322 Requires:       %{name} = %{epoch}:%{version}-%{release}
323 Requires:       %{name}-gui-gtk+2
324
325 %description themes
326 Themes for GNU Gadu 2 GUI.
327
328 %description themes -l es
329 Temas para el GUI de GNU Gadu 2.
330
331 %description themes -l pl
332 Motywy graficzne dla GUI GNU Gadu 2.
333
334 %prep
335 %setup -q -n %{name}-%{version}
336
337 %build
338 rm -f missing
339 %{__gettextize}
340 %{__libtoolize}
341 %{__aclocal}
342 %{__automake}
343 %{__autoconf}
344
345 %configure \
346         %{!?debug:--disable-gdb} \
347         %{!?debug:--disable-debug} \
348         --with-gui \
349         --with-gadu \
350         --with-tlen \
351         --with-jabber \
352         --with-xosd \
353         --with-sms \
354         --with-docklet_system_tray \
355         --with-docklet_dockapp \
356         --with%{!?with_esd:out}-esd \
357         --with-oss \
358         --with-external \
359         --with-update \
360         --with%{!?with_arts:out}-arts \
361         --with%{!?with_gtkspell:out}-gtkspell \
362         --%{?with_perl:with}%{!?with_perl:without}-perl \
363         --with-remote
364
365 %{__make}
366
367 %install
368 rm -rf $RPM_BUILD_ROOT
369
370 %{__make} install \
371         DESTDIR=$RPM_BUILD_ROOT
372
373 install -d $RPM_BUILD_ROOT%{_desktopdir}
374 install gg2.desktop $RPM_BUILD_ROOT%{_desktopdir}/gg2.desktop
375
376 %find_lang %{name} --all-name --with-gnome
377
378 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
379
380 %clean
381 rm -rf $RPM_BUILD_ROOT
382
383 %post   -p /sbin/ldconfig
384 %postun -p /sbin/ldconfig
385
386 %files -f %{name}.lang
387 %defattr(644,root,root,755)
388 %doc A* C* N* R* T* contrib doc/*
389 %attr(755,root,root) %{_bindir}/gg2
390 %attr(755,root,root) %{_libdir}/libgg2_core.so.*.*.*
391 %dir %{_libdir}/gg2
392 %{_datadir}/%{name}/sounds
393
394 %files gui-gtk+2
395 %defattr(644,root,root,755)
396 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
397 %dir %{_datadir}/gg2
398 %dir %{_datadir}/gg2/pixmaps
399 %{_datadir}/gg2/pixmaps/*.png
400 %{_datadir}/gg2/pixmaps/*.gif
401 %{_pixmapsdir}/%{name}.png
402 %{_desktopdir}/gg2.desktop
403
404 %files devel
405 %defattr(644,root,root,755)
406 %attr(755,root,root) %{_libdir}/libgg2_core.so
407 %{_libdir}/libgg2_core.la
408 %{_includedir}/gg2_core.h
409 %{_pkgconfigdir}/gg2_core.pc
410
411 %files emoticons
412 %defattr(644,root,root,755)
413 %{_datadir}/gg2/pixmaps/emoticons
414
415 %files gadu-gadu
416 %defattr(644,root,root,755)
417 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
418
419 %files tlen
420 %defattr(644,root,root,755)
421 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
422
423 %files jabber
424 %defattr(644,root,root,755)
425 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
426
427 %if %{with esd}
428 %files sound-esd
429 %defattr(644,root,root,755)
430 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
431 %endif
432
433 %files sound-oss
434 %defattr(644,root,root,755)
435 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
436
437 %files sound-external
438 %defattr(644,root,root,755)
439 %attr(755,root,root) %{_libdir}/gg2/libsound_external_plugin.so
440
441 %if %{with arts}
442 %files sound-aRts
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_libdir}/gg2/libsound_arts_plugin.so
445 %endif
446
447 %files xosd
448 %defattr(644,root,root,755)
449 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
450
451 %files docklet-system-tray
452 %defattr(644,root,root,755)
453 %attr(755,root,root) %{_libdir}/gg2/libdocklet_system_tray_plugin.so
454
455 %files docklet-dockapp
456 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_libdir}/gg2/libdocklet_dockapp_plugin.so
458
459 %files sms
460 %defattr(644,root,root,755)
461 %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so
462
463 %files remote
464 %defattr(644,root,root,755)
465 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
466
467 %files update
468 %defattr(644,root,root,755)
469 %attr(755,root,root) %{_libdir}/gg2/libupdate_plugin.so
470
471 %files themes
472 %defattr(644,root,root,755)
473 %dir %{_datadir}/gg2/themes
474 %{_datadir}/gg2/themes/*.theme
475 %dir %{_datadir}/gg2/pixmaps/icons
476 %dir %{_datadir}/gg2/pixmaps/icons/bubble
477 %dir %{_datadir}/gg2/pixmaps/icons/classic
478 %dir %{_datadir}/gg2/pixmaps/icons/modern
479 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
480 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
481 %{_datadir}/gg2/pixmaps/icons/bubble/README
482 %{_datadir}/gg2/pixmaps/icons/classic/*.png
483 %{_datadir}/gg2/pixmaps/icons/classic/README
484 %{_datadir}/gg2/pixmaps/icons/modern/*.png
485 %{_datadir}/gg2/pixmaps/icons/modern/README
486 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png
487 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt
488 %{_datadir}/gg2/pixmaps/icons/ghosts/*.png
489 %{_datadir}/gg2/pixmaps/icons/ghosts/README
490 %{_datadir}/gg2/pixmaps/icons/tlen-3d/README
491 %{_datadir}/gg2/pixmaps/icons/tlen-3d/*.png
This page took 0.075491 seconds and 3 git commands to generate.