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