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