]> git.pld-linux.org Git - packages/gg2.git/blob - gg2.spec
- release 2
[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:        2
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/gg2-2.0%{pre}.tar.gz
14 Source1:        %{name}.desktop
15 URL:            http://gadu.sourceforge.net/
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 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
317 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt
This page took 0.047221 seconds and 4 git commands to generate.