]> git.pld-linux.org Git - packages/gg2.git/blob - gg2.spec
b461a256d8b25bc92ab198ee55e4831397adf827
[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:  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 %package sms
161 Summary:        SMS Gateway
162 Summary(pl):    Bramka SMS
163 Group:          Applications/Communications
164 Requires:       %{name} = %{version}
165
166 %description sms
167 Send SMS to cellurar phones via web gateways.
168
169 %description sms -l pl
170 Wtyczka wysy³aj±ca SMS-y na telefony komórkowe przez bramki WWW.
171
172 %package remote
173 Summary:        Remote access from other applications
174 Summary(pl):    Dostêp do programu z innych aplikacji
175 Group:          Applications/Communications
176 Requires:       %{name} = %{version} 
177
178 %description remote
179 Make possible exchange data with other applications.
180
181 %description remote -l pl
182 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
183
184 %package themes
185 Summary:        Themes for GnuGadu 2 GUI
186 Summary(pl):    Motywy graficzne dla GUI GnuGadu 2
187 Group:          Applications/Communications
188 Requires:       %{name} = %{version}
189 Requires:       %{name}-gui-gtk+2
190
191 %description themes
192 Themes for GnuGadu 2 GUI.
193
194 %description themes
195 Motywy graficzne dla GUI GnuGadu 2.
196
197 %prep
198 %setup -q -n %{name}-2.0%{pre}
199
200 %build
201 rm -f missing
202 glib-gettextize --copy --force
203 intltoolize --copy --force
204 %{__libtoolize}
205 %{__aclocal}
206 %{__automake}
207 %{__autoconf}
208
209 %configure \
210         --disable-gdb \
211         --disable-debug \
212         --with-gtk2-gui \
213         --with-gadu-gadu \
214         --with-tlen \
215         --with-jabber \
216         --with-xosd \
217         --with-docklet \
218         --with-esd \
219         --with-oss \
220         --with-sms \
221         --with-remote
222 #       --with-arts
223
224 %{__make}
225
226 %install
227 rm -rf $RPM_BUILD_ROOT
228
229 %{__make} install \
230         DESTDIR=$RPM_BUILD_ROOT
231
232 install -d $RPM_BUILD_ROOT%{_datadir}/applications
233 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications
234 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
235 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
236 install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/online.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
237
238 %find_lang %{name} --all-name --with-gnome
239
240 %clean
241 rm -rf $RPM_BUILD_ROOT
242
243 %files -f %{name}.lang
244 %defattr(644,root,root,755)
245 %doc AUTHORS ChangeLog NEWS README
246 %attr(755,root,root) %{_bindir}/gg2
247 %dir %{_libdir}/gg2
248 %{_datadir}/%{name}/sounds
249
250 %files gui-gtk+2
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
253 %dir %{_datadir}/gg2
254 %dir %{_datadir}/gg2/pixmaps
255 %{_datadir}/gg2/pixmaps/*.png
256 %{_datadir}/gg2/pixmaps/*.gif
257
258 %{_pixmapsdir}/%{name}.png
259 %{_datadir}/applications/gg2.desktop
260
261 %files emoticons
262 %defattr(644,root,root,755)
263 %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons
264
265 %files gadu-gadu
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
268
269 %files tlen
270 %defattr(644,root,root,755)
271 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
272
273 %files jabber
274 %defattr(644,root,root,755)
275 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
276
277 %files sound-esd
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
280
281 %files sound-oss
282 %defattr(644,root,root,755)
283 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
284
285 %files xosd
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
288
289 %files docklet
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_libdir}/gg2/libdocklet_plugin.so
292
293 %files sms
294 %defattr(644,root,root,755)
295 %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so
296
297 %files remote
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
300
301 %files themes
302 %defattr(644,root,root,755)
303 %dir %{_datadir}/gg2/themes
304 %{_datadir}/gg2/themes/*.theme
305 %dir %{_datadir}/gg2/pixmaps/icons
306 %dir %{_datadir}/gg2/pixmaps/icons/bubble
307 %dir %{_datadir}/gg2/pixmaps/icons/classic
308 %dir %{_datadir}/gg2/pixmaps/icons/modern
309 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
310 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
311 %{_datadir}/gg2/pixmaps/icons/bubble/README
312 %{_datadir}/gg2/pixmaps/icons/classic/*.png
313 %{_datadir}/gg2/pixmaps/icons/classic/README
314 %{_datadir}/gg2/pixmaps/icons/modern/*.png
315 %{_datadir}/gg2/pixmaps/icons/modern/README
316 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png
This page took 0.096381 seconds and 3 git commands to generate.