]> git.pld-linux.org Git - packages/gg2.git/blob - gg2.spec
976780904734e88fc0b58d1baedeadeef65f62b8
[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 >= 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-aRts
126 #Summary:       Sound support with aRts
127 #Summary(pl):   Obs³uga d¼wiêku poprzez aRts
128 #Group:         Applications/Communications
129 #Requires:      %{name} = %{version}
130
131 #%description sound-aRts
132 #Sound support with aRts.
133
134 #%description sound-aRts -l pl
135 #Obs³uga d¼wiêku poprzez aRts.
136
137 %package xosd
138 Summary:        Support for X On Screen Display
139 Summary(pl):    Wy¶wietlanie komunikatów na ekranie X
140 Group:          Applications/Communications
141 Requires:       %{name} = %{version}
142
143 %description xosd
144 Support for X On Screen Display.
145
146 %description xosd -l pl
147 Wy¶wietlanie komunikatów na ekranie X.
148
149 %package docklet
150 Summary:        Support for Window Managers docklets
151 Summary(pl):    Obs³uga dokletów w ró¿nych zarz±dcach okien
152 Group:          Applications/Communications
153 Requires:       %{name} = %{version}
154
155 %description docklet
156 Support for Window Managers docklets (GNOME, KDE).
157
158 %description docklet -l pl
159 Obs³uga dokletów w ró¿nych zarz±dcach okien (GNOME, KDE).
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 Wtyczka wysy³aj±ca SMS-y na telefony komórkowe przez bramki WWW.
172
173 %package remote
174 Summary:        Remote access from other applications
175 Summary(pl):    Dostêp do programu z innych aplikacji
176 Group:          Applications/Communications
177 Requires:       %{name} = %{version} 
178
179 %description remote
180 Make possible exchange data with other applications.
181
182 %description remote -l pl
183 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
184
185 %package themes
186 Summary:        Themes for GnuGadu 2 GUI
187 Summary(pl):    Motywy graficzne dla GUI GnuGadu 2
188 Group:          Applications/Communications
189 Requires:       %{name} = %{version}
190 Requires:       %{name}-gui-gtk+2
191
192 %description themes
193 Themes for GnuGadu 2 GUI.
194
195 %description themes
196 Motywy graficzne dla GUI GnuGadu 2.
197
198 %prep
199 %setup -q -n %{name}-2.0%{pre}
200
201 %build
202 rm -f missing
203 gettextize --copy --force
204 intltoolize --copy --force
205 %{__libtoolize}
206 %{__aclocal}
207 %{__automake}
208 %{__autoconf}
209
210 %configure \
211         --disable-gdb \
212         --disable-debug \
213         --with-gtk2-gui \
214         --with-gadu-gadu \
215         --with-tlen \
216         --with-jabber \
217         --with-xosd \
218         --with-docklet \
219         --with-esd \
220         --with-oss \
221         --with-sms \
222         --with-remote
223 #       --with-arts
224
225 %{__make}
226
227 %install
228 rm -rf $RPM_BUILD_ROOT
229
230 %{__make} install \
231         DESTDIR=$RPM_BUILD_ROOT
232
233 install -d $RPM_BUILD_ROOT%{_datadir}/applications
234 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications
235 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
236 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
237 install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/online.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
238
239 %find_lang %{name} --all-name --with-gnome
240
241 %clean
242 rm -rf $RPM_BUILD_ROOT
243
244 %files -f %{name}.lang
245 %defattr(644,root,root,755)
246 %doc AUTHORS ChangeLog NEWS README
247 %attr(755,root,root) %{_bindir}/gg2
248 %dir %{_libdir}/gg2
249 %{_datadir}/%{name}/sounds
250
251 %files gui-gtk+2
252 %defattr(644,root,root,755)
253 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
254 %dir %{_datadir}/gg2
255 %dir %{_datadir}/gg2/pixmaps
256 %{_datadir}/gg2/pixmaps/*.png
257 %{_datadir}/gg2/pixmaps/*.gif
258
259 %{_pixmapsdir}/%{name}.png
260 %{_datadir}/applications/gg2.desktop
261
262 %files emoticons
263 %defattr(644,root,root,755)
264 %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons
265
266 %files gadu-gadu
267 %defattr(644,root,root,755)
268 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
269
270 %files tlen
271 %defattr(644,root,root,755)
272 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
273
274 %files jabber
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
277
278 %files sound-esd
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
281
282 %files sound-oss
283 %defattr(644,root,root,755)
284 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
285
286 %files xosd
287 %defattr(644,root,root,755)
288 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
289
290 %files docklet
291 %defattr(644,root,root,755)
292 %attr(755,root,root) %{_libdir}/gg2/libdocklet_plugin.so
293
294 %files sms
295 %defattr(644,root,root,755)
296 %attr(755,root,root) %{_libdir}/gg2/libsms_plugin.so
297
298 %files remote
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
301
302 %files themes
303 %defattr(644,root,root,755)
304 %dir %{_datadir}/gg2/themes
305 %{_datadir}/gg2/themes/*.theme
306 %dir %{_datadir}/gg2/pixmaps/icons
307 %dir %{_datadir}/gg2/pixmaps/icons/bubble
308 %dir %{_datadir}/gg2/pixmaps/icons/classic
309 %dir %{_datadir}/gg2/pixmaps/icons/modern
310 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
311 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
312 %{_datadir}/gg2/pixmaps/icons/bubble/README
313 %{_datadir}/gg2/pixmaps/icons/classic/*.png
314 %{_datadir}/gg2/pixmaps/icons/classic/README
315 %{_datadir}/gg2/pixmaps/icons/modern/*.png
316 %{_datadir}/gg2/pixmaps/icons/modern/README
317 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/*.png
This page took 0.139869 seconds and 2 git commands to generate.