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