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