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