]> git.pld-linux.org Git - packages/gg2.git/blob - gg2.spec
e3859d3f738de06029cb8f3620290bc8cfc226b3
[packages/gg2.git] / gg2.spec
1
2 %define         _pre    pre3
3 Summary:        GNU Gadu 2 - free talking
4 Summary(pl):    GNU Gadu 2 - wolne gadanie
5 Name:           gg2
6 Version:        2.0
7 Release:        1.%{_pre}.1
8 Epoch:          1
9 License:        GPL v2+
10 Group:          Applications/Communications
11 Source0:        http://dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}%{_pre}.tar.gz
12 # Source0-md5:  49c52cec6869c9ed1b3c015f37401879
13 Source1:        %{name}.desktop
14 URL:            http://www.gadu.gnu.pl/
15 #BuildRequires: arts-devel
16 BuildRequires:  perl-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake >= 1.7
19 BuildRequires:  esound-devel >= 0.2.7
20 BuildRequires:  iksemel-devel >= 0.0.1
21 BuildRequires:  glib2-devel  >= 2.2.0
22 BuildRequires:  gtk+2-devel  >= 2.2.0
23 BuildRequires:  libgadu-devel >= 1.0
24 BuildRequires:  libtlen-devel
25 BuildRequires:  libtool
26 BuildRequires:  intltool
27 BuildRequires:  gettext-devel >= 0.11.0
28 BuildRequires:  xosd-devel   >= 2.0.0
29 BuildRequires:  pkgconfig
30 BuildRequires:  fontconfig-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Gadu-Gadu, Tlen.pl and others instant messanger client with
35 GTK+2 GUI on GNU/GPL.
36
37 %description -l pl
38 Klient Gadu-Gadu, Tlen.pl oraz innych protoko³ów z GUI pod GTK+2 na
39 licencji GNU/GPL.
40
41 %package devel
42 Summary:        Headers for libgg2_core library to develop plugins
43 Summary(pl):    Pliki nag³ówkowe biblioteki libgg2_core potrzebne do rozwijania wtyczek
44 Group:          Applications/Communications
45 Requires:       %{name} = %{epoch}:%{version}
46 Requires:       glib2-devel
47 Requires:       perl-devel
48
49 %description devel
50 This package contains header files for libgg2_core library, needed to
51 develop plugins for GNU Gadu 2.
52
53 %description devel -l pl
54 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgg2_core, potrzebne
55 do rozwijania wtyczek do GNU Gadu 2.
56
57 %package gui-gtk+2
58 Summary:        GTK+2 GUI plugin
59 Summary(pl):    Wtyczka z GUI w GTK+2
60 Group:          Applications/Communications
61 Requires:       %{name} = %{epoch}:%{version}
62
63 %description gui-gtk+2
64 GTK+2 GUI plugin for GNU Gadu 2.
65
66 %description gui-gtk+2 -l pl
67 Wtyczka z GUI w GTK+2 do GNU Gadu 2.
68
69 %package emoticons
70 Summary:        Emoticons
71 Summary(pl):    Emotikony
72 Group:          Applications/Communications
73 Requires:       %{name} = %{epoch}:%{version}
74
75 %description emoticons
76 Emotions icons and description files.
77
78 %description emoticons -l pl
79 Zestaw ikon z emotikonami, oraz plikiem konfiguracyjnym.
80
81 %package gadu-gadu
82 Summary:        Gadu-Gadu plugin
83 Summary(pl):    Wtyczka protoko³u Gadu-Gadu
84 Group:          Applications/Communications
85 Requires:       %{name} = %{epoch}:%{version}
86
87 %description gadu-gadu
88 Gadu-Gadu protocol plugin.
89
90 %description gadu-gadu -l pl
91 Wtyczka protoko³u Gadu-Gadu.
92
93 %package tlen
94 Summary:        Tlen.pl plugin
95 Summary(pl):    Wtyczka protoko³u Tlen.pl
96 Group:          Applications/Communications
97 Requires:       %{name} = %{epoch}:%{version}
98
99 %description tlen
100 Tlen.pl protocol plugin.
101
102 %description tlen -l pl
103 Wtyczka protoko³u Tlen.pl.
104
105 %package jabber
106 Summary:        Jabber.org plugin
107 Summary(pl):    Wtyczka protoko³u Jabber
108 Group:          Applications/Communications
109 Requires:       %{name} = %{epoch}:%{version}
110
111 %description jabber
112 Jabber protocol plugin.
113
114 %description jabber -l pl
115 Wtyczka protoko³u Jabber.
116
117 %package sound-esd
118 Summary:        Sound support with ESD
119 Summary(pl):    Obs³uga d¼wiêku poprzez ESD
120 Group:          Applications/Communications
121 Requires:       %{name} = %{epoch}:%{version}
122
123 %description sound-esd
124 Sound support with ESD.
125
126 %description sound-esd -l pl
127 Obs³uga d¼wiêku poprzez ESD.
128
129 %package sound-oss
130 Summary:        OSS sound support
131 Summary(pl):    Obs³uga d¼wiêku OSS
132 Group:          Applications/Communications
133 Requires:       %{name} = %{epoch}:%{version}
134
135 %description sound-oss
136 OSS sound support.
137
138 %description sound-oss -l pl
139 Obs³uga d¼wiêku OSS.
140
141 %package sound-external
142 Summary:        Sound support with external player
143 Summary(pl):    Obs³uga d¼wiêku przez zewnêtrzny program
144 Group:          Applications/Communications
145 Requires:       %{name} = %{epoch}:%{version}
146
147 %description sound-external
148 Sound support with external player.
149
150 %description sound-external -l pl
151 Obs³uga d¼wiêku przez zewnêtrzny program.
152
153 #%package sound-aRts
154 #Summary:       Sound support with aRts
155 #Summary(pl):   Obs³uga d¼wiêku poprzez aRts
156 #Group:         Applications/Communications
157 #Requires:      %{name} = %{version}
158
159 #%description sound-aRts
160 #Sound support with aRts.
161
162 #%description sound-aRts -l pl
163 #Obs³uga d¼wiêku poprzez aRts.
164
165 %package xosd
166 Summary:        Support for X On Screen Display
167 Summary(pl):    Wy¶wietlanie komunikatów na ekranie X
168 Group:          Applications/Communications
169 Requires:       %{name} = %{epoch}:%{version}
170
171 %description xosd
172 Support for X On Screen Display.
173
174 %description xosd -l pl
175 Wy¶wietlanie komunikatów na ekranie X.
176
177 %package docklet
178 Summary:        Support for Window Managers docklets
179 Summary(pl):    Obs³uga dokletów w ró¿nych zarz±dcach okien
180 Group:          Applications/Communications
181 Requires:       %{name} = %{epoch}:%{version}
182
183 %description docklet
184 Support for Window Managers docklets (GNOME, KDE).
185
186 %description docklet -l pl
187 Obs³uga dokletów w ró¿nych zarz±dcach okien (GNOME, KDE).
188
189 %package sms
190 Summary:        SMS Gateway
191 Summary(pl):    Bramka SMS
192 Group:          Applications/Communications
193 Requires:       %{name} = %{epoch}:%{version}
194
195 %description sms
196 Send SMS to cellular phones via web gateways.
197
198 %description sms -l pl
199 Wtyczka wysy³aj±ca wiadomo¶ci SMS na telefony komórkowe przez bramki WWW.
200
201 %package remote
202 Summary:        Remote access from other applications
203 Summary(pl):    Dostêp do programu z innych aplikacji
204 Group:          Applications/Communications
205 Requires:       %{name} = %{epoch}:%{version} 
206
207 %description remote
208 Make possible exchange data with other applications.
209
210 %description remote -l pl
211 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
212
213 %package themes
214 Summary:        Themes for GNU Gadu 2 GUI
215 Summary(pl):    Motywy graficzne dla GUI GNU Gadu 2
216 Group:          Applications/Communications
217 Requires:       %{name} = %{epoch}:%{version}
218 Requires:       %{name}-gui-gtk+2
219
220 %description themes
221 Themes for GNU Gadu 2 GUI.
222
223 %description themes
224 Motywy graficzne dla GUI GNU Gadu 2.
225
226 %prep
227 %setup -q -n %{name}-%{version}%{_pre}
228
229 %build
230 rm -f missing
231 intltoolize --copy --force
232 %{__libtoolize}
233 %{__aclocal}
234 %{__automake}
235 %{__autoconf}
236
237 %configure \
238         --disable-gdb \
239         --disable-debug \
240         --with-gui \
241         --with-gadu \
242         --with-tlen \
243         --with-jabber \
244         --with-xosd \
245         --with-docklet \
246         --with-esd \
247         --with-oss \
248         --with-sms \
249         --with-external \
250         --with-remote \
251         --enable-perl
252 #       --with-arts
253
254 %{__make}
255
256 %install
257 rm -rf $RPM_BUILD_ROOT
258
259 %{__make} install \
260         DESTDIR=$RPM_BUILD_ROOT
261
262 install -d $RPM_BUILD_ROOT%{_desktopdir}
263 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
264 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
265 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
266 install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
267
268 %find_lang %{name} --all-name --with-gnome
269
270 #Remove useless files
271 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
272
273 %clean
274 rm -rf $RPM_BUILD_ROOT
275
276 %post   -p /sbin/ldconfig
277 %postun -p /sbin/ldconfig
278
279 %files -f %{name}.lang
280 %defattr(644,root,root,755)
281 %doc A* C* N* R* T* contrib doc/*
282 %attr(755,root,root) %{_bindir}/gg2
283 %attr(755,root,root) %{_libdir}/libgg2_core.so.*.*.*
284 %dir %{_libdir}/gg2
285 %{_datadir}/%{name}/sounds
286
287 %files gui-gtk+2
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
290 %dir %{_datadir}/gg2
291 %dir %{_datadir}/gg2/pixmaps
292 %{_datadir}/gg2/pixmaps/*.png
293 %{_datadir}/gg2/pixmaps/*.gif
294
295 %{_pixmapsdir}/%{name}.png
296 %{_desktopdir}/gg2.desktop
297
298 %files devel
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_libdir}/libgg2_core.so
301 %{_libdir}/libgg2_core.la
302 %{_includedir}/gg2_core.h
303 %{_pkgconfigdir}/gg2_core.pc
304
305 %files emoticons
306 %defattr(644,root,root,755)
307 %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons
308
309 %files gadu-gadu
310 %defattr(644,root,root,755)
311 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
312
313 %files tlen
314 %defattr(644,root,root,755)
315 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
316
317 %files jabber
318 %defattr(644,root,root,755)
319 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
320
321 %files sound-esd
322 %defattr(644,root,root,755)
323 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
324
325 %files sound-oss
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
328
329 %files sound-external
330 %defattr(644,root,root,755)
331 %attr(755,root,root) %{_libdir}/gg2/libsound_external_plugin.so
332
333 %files xosd
334 %defattr(644,root,root,755)
335 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
336
337 %files docklet
338 %defattr(644,root,root,755)
339 %attr(755,root,root) %{_libdir}/gg2/libdocklet_plugin.so
340
341 %files sms
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so
344
345 %files remote
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
348
349 %files themes
350 %defattr(644,root,root,755)
351 %dir %{_datadir}/gg2/themes
352 %{_datadir}/gg2/themes/*.theme
353 %dir %{_datadir}/gg2/pixmaps/icons
354 %dir %{_datadir}/gg2/pixmaps/icons/bubble
355 %dir %{_datadir}/gg2/pixmaps/icons/classic
356 %dir %{_datadir}/gg2/pixmaps/icons/modern
357 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
358 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
359 %{_datadir}/gg2/pixmaps/icons/bubble/README
360 %{_datadir}/gg2/pixmaps/icons/classic/*.png
361 %{_datadir}/gg2/pixmaps/icons/classic/README
362 %{_datadir}/gg2/pixmaps/icons/modern/*.png
363 %{_datadir}/gg2/pixmaps/icons/modern/README
364 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png
365 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt
366 %{_datadir}/gg2/pixmaps/icons/ghosts/*.png
367 %{_datadir}/gg2/pixmaps/icons/ghosts/README
368 %{_datadir}/gg2/pixmaps/icons/tlen-3d/README
369 %{_datadir}/gg2/pixmaps/icons/tlen-3d/*.png
This page took 0.0907 seconds and 2 git commands to generate.