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