]>
Commit | Line | Data |
---|---|---|
80615d34 JB |
1 | # |
2 | # Conditional build: | |
ce1ec8bc | 3 | %bcond_with yesterday_snapshot # Build most current ekg2 snapshot |
4 | # (must use ./builder -n5 or plain rpmbuild) | |
c043b1ca | 5 | %bcond_without aspell # build without spell-checking support with aspell |
ad0ac3b6 | 6 | %bcond_without feed # don't build feed plugin |
c043b1ca | 7 | %bcond_without gadugadu # don't build gg plugin |
3b1aadf1 JB |
8 | %bcond_without gpg # don't build gpg plugin |
9 | %bcond_without gtk # don't build gtk plugin | |
c043b1ca | 10 | %bcond_without jabber # don't build jabber plugin |
dcb68d88 | 11 | %bcond_without gnutls # build jabber plugin without libgnutls |
c043b1ca | 12 | %bcond_without libgsm # don't build libgsm plugin |
541b7d39 | 13 | %bcond_without perl # don't build Perl plugin |
301d91d7 | 14 | %bcond_without python # don't build Python plugin |
3f5a546c | 15 | %bcond_without readline # don't build readline interface |
ad0ac3b6 SP |
16 | %bcond_with sqlite # build logsqlite plugin based on sqlite (conflicts with sqlite3) |
17 | %bcond_without sqlite3 # don't build logsqlite plugin based on sqlite3 | |
c043b1ca | 18 | %bcond_without xosd # don't build xosd plugin |
1a7179bc | 19 | |
ce1ec8bc | 20 | %if %{with yesterday_snapshot} |
21 | %define _snap %(date +%%Y%%m%%d -d yesterday) | |
045c6391 | 22 | %define _ver 0.0.%{_snap} |
ce1ec8bc | 23 | %else |
045c6391 AG |
24 | %define _snap 0.1.1 |
25 | %define _ver 0.1.1 | |
dcb68d88 | 26 | %endif |
27 | ||
75d7f8c3 | 28 | %if %{without jabber} |
dcb68d88 | 29 | %undefine with_gnutls |
ce1ec8bc | 30 | %endif |
31 | ||
ad0ac3b6 SP |
32 | %if %{with sqlite} |
33 | %undefine sqlite3 | |
8a237b0c | 34 | %endif |
35 | ||
014e3e4a | 36 | Summary: Multi-protocol instant messaging and chat client |
d66ce5e7 | 37 | Summary(pl.UTF-8): Wieloprotokołowy komunikator internetowy |
5834ad62 | 38 | Name: ekg2 |
045c6391 | 39 | Version: %{_ver} |
ad0ac3b6 | 40 | Release: 3.2 |
045c6391 | 41 | Epoch: 2 |
5834ad62 | 42 | License: GPL v2+ |
43 | Group: Applications/Communications | |
3eea3193 | 44 | Source0: http://pl.ekg2.org/%{name}-%{_snap}.tar.gz |
045c6391 | 45 | # Source0-md5: 8c64ab909687b9ac3798caa7736d7b2a |
541b7d39 | 46 | Patch0: %{name}-perl-install.patch |
045c6391 | 47 | #Patch1: %{name}-no_scripts.patch |
3eea3193 | 48 | URL: http://ekg2.org/ |
c043b1ca | 49 | %{?with_aspell:BuildRequires: aspell-devel} |
b458faa5 | 50 | BuildRequires: autoconf |
304afbad | 51 | BuildRequires: automake |
ad0ac3b6 SP |
52 | %if %{with feed} || %{with jabber} |
53 | BuildRequires: expat-devel | |
54 | %endif | |
073716b1 | 55 | BuildRequires: gettext-devel |
301d91d7 | 56 | %{?with_gadugadu:BuildRequires: giflib-devel} |
dcb68d88 | 57 | %{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5} |
301d91d7 | 58 | %{?with_gpg:BuildRequires: gpgme-devel} |
073716b1 | 59 | BuildRequires: gpm-devel |
5a267675 | 60 | %{?with_gtk:BuildRequires: gtk+2-devel} |
045c6391 | 61 | %{?with_gadugadu:BuildRequires: libgadu-devel} |
c043b1ca | 62 | %{?with_libgsm:BuildRequires: libgsm-devel} |
045c6391 | 63 | %{?with_gadugadu:BuildRequires: libjpeg-devel} |
b458faa5 JB |
64 | BuildRequires: libltdl-devel |
65 | BuildRequires: libtool | |
073716b1 JB |
66 | BuildRequires: ncurses-devel |
67 | BuildRequires: openssl-devel >= 0.9.7d | |
045c6391 | 68 | %{?with_perl:BuildRequires: perl-devel} |
5a267675 | 69 | BuildRequires: pkgconfig |
c043b1ca | 70 | %{?with_python:BuildRequires: python-devel} |
301d91d7 | 71 | %{?with_readline:BuildRequires: readline-devel} |
045c6391 AG |
72 | %{?with_perl:BuildRequires: rpm-perlprov} |
73 | %{?with_python:BuildRequires: rpm-pythonprov} | |
f69780d1 | 74 | BuildRequires: sed >= 4.0 |
8a237b0c | 75 | %{?with_sqlite:BuildRequires: sqlite-devel} |
76 | %{?with_sqlite3:BuildRequires: sqlite3-devel} | |
301d91d7 TP |
77 | %{?with_xosd:BuildRequires: xosd-devel} |
78 | BuildRequires: zlib-devel | |
5834ad62 | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
80 | ||
81 | %description | |
014e3e4a | 82 | Multi-protocol instant messaging and chat client with many plugins. |
5834ad62 | 83 | |
c78c926b | 84 | %description -l pl.UTF-8 |
2055e4af | 85 | Wieloprotokołowy, otwarty komunikator internetowy z wieloma wtyczkami. |
5834ad62 | 86 | |
ad0ac3b6 | 87 | %if %{without yesterday_snapshot} |
301d91d7 TP |
88 | %package devel |
89 | Summary: ekg2 header files | |
d66ce5e7 | 90 | Summary(pl.UTF-8): Pliki nagłówkowe ekg2 |
301d91d7 TP |
91 | Group: Development/Libraries |
92 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
93 | ||
94 | %description devel | |
95 | Header files for ekg2. | |
96 | ||
c78c926b JR |
97 | %description devel -l pl.UTF-8 |
98 | Pliki nagłówkowe ekg2. | |
ad0ac3b6 SP |
99 | %endif |
100 | ||
101 | %if %{with yesterday_snapshot} | |
102 | %package plugin-feed | |
103 | Summary: feed plugin for ekg2 | |
104 | Summary(pl.UTF-8): Wtyczka feed dla ekg2 | |
105 | Group: Applications/Communications | |
106 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
107 | ||
108 | %description plugin-feed | |
109 | feed plugin for ekg2. | |
110 | ||
111 | %description plugin-feed -l pl.UTF-8 | |
112 | Wtyczka feed dla ekg2. | |
113 | %endif | |
301d91d7 TP |
114 | |
115 | %package plugin-gpg | |
116 | Summary: gpg plugin for ekg2 | |
d66ce5e7 | 117 | Summary(pl.UTF-8): Wtyczka gpg dla ekg2 |
301d91d7 TP |
118 | Group: Applications/Communications |
119 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
120 | ||
121 | %description plugin-gpg | |
122 | gpg plugin for ekg2. | |
123 | ||
c78c926b | 124 | %description plugin-gpg -l pl.UTF-8 |
301d91d7 TP |
125 | Wtyczka gpg dla ekg2. |
126 | ||
127 | %package plugin-gtk | |
128 | Summary: gtk plugin for ekg2 | |
d66ce5e7 | 129 | Summary(pl.UTF-8): Wtyczka gtk dla ekg2 |
301d91d7 TP |
130 | Group: Applications/Communications |
131 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
132 | Requires: gtk+2 | |
133 | ||
134 | %description plugin-gtk | |
135 | gtk plugin for ekg2. | |
136 | ||
c78c926b | 137 | %description plugin-gtk -l pl.UTF-8 |
301d91d7 TP |
138 | Wtyczka gtk dla ekg2. |
139 | ||
140 | %package plugin-ioctld | |
141 | Summary: Ioctld plugin for ekg2 | |
d66ce5e7 | 142 | Summary(pl.UTF-8): Wtyczka ioctld dla ekg2 |
301d91d7 TP |
143 | Group: Applications/Communications |
144 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
145 | ||
146 | %description plugin-ioctld | |
147 | Ioctld plugin for ekg2 (contains suid root binary!). | |
148 | ||
c78c926b | 149 | %description plugin-ioctld -l pl.UTF-8 |
3b1aadf1 | 150 | Wtyczka ioctld dla ekg2 (zawiera program z ustawionym suid root!). |
301d91d7 | 151 | |
ad0ac3b6 SP |
152 | %if %{with yesterday_snapshot} |
153 | %package plugin-jogger | |
154 | Summary: Jogger plugin for ekg2 | |
155 | Summary(pl.UTF-8): Wtyczka jogger dla ekg2 | |
156 | Group: Applications/Communications | |
157 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
158 | ||
159 | %description plugin-jogger | |
160 | Jogger plugin for ekg2. | |
161 | ||
162 | %description plugin-jogger -l pl.UTF-8 | |
163 | Wtyczka jogger dla ekg2. | |
164 | %endif | |
165 | ||
301d91d7 TP |
166 | %package plugin-logsqlite |
167 | Summary: SQLite log plugin for ekg2 | |
d66ce5e7 | 168 | Summary(pl.UTF-8): Wtyczka logowania do SQLite dla ekg2 |
301d91d7 TP |
169 | Group: Applications/Communications |
170 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
171 | %if %{with sqlite3} | |
172 | Requires: sqlite3 | |
173 | %else | |
174 | Requires: sqlite | |
175 | %endif | |
176 | ||
177 | %description plugin-logsqlite | |
178 | SQLite log plugin for ekg2. | |
179 | ||
c78c926b | 180 | %description plugin-logsqlite -l pl.UTF-8 |
301d91d7 TP |
181 | Wtyczka logowania do bazy SQLite dla ekg2. |
182 | ||
014e3e4a | 183 | %package plugin-protocol-gg |
184 | Summary: Gadu-gadu protocol plugin for ekg2 | |
d66ce5e7 | 185 | Summary(pl.UTF-8): Wtyczka protokołu Gadu-gadu dla ekg2 |
014e3e4a | 186 | Group: Applications/Communications |
557a8566 | 187 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 188 | |
189 | %description plugin-protocol-gg | |
190 | Gadu-gadu protocol plugin for ekg2. | |
191 | ||
c78c926b JR |
192 | %description plugin-protocol-gg -l pl.UTF-8 |
193 | Wtyczka protokołu gadu-gadu dla ekg2. | |
014e3e4a | 194 | |
c043b1ca JB |
195 | %package plugin-protocol-gsm |
196 | Summary: GSM VoIP protocol plugin for ekg2 | |
d66ce5e7 | 197 | Summary(pl.UTF-8): Wtyczka protokołu GSM VoIP dla ekg2 |
014e3e4a | 198 | Group: Applications/Communications |
557a8566 | 199 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 200 | |
c043b1ca JB |
201 | %description plugin-protocol-gsm |
202 | GSM VoIP protocol plugin for ekg2. | |
014e3e4a | 203 | |
c78c926b JR |
204 | %description plugin-protocol-gsm -l pl.UTF-8 |
205 | Wtyczka protokołu GSM VoIP dla ekg2. | |
014e3e4a | 206 | |
207 | %package plugin-protocol-irc | |
208 | Summary: IRC protocol plugin for ekg2 | |
d66ce5e7 | 209 | Summary(pl.UTF-8): Wtyczka protokołu IRC dla ekg2 |
014e3e4a | 210 | Group: Applications/Communications |
557a8566 | 211 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 212 | |
213 | %description plugin-protocol-irc | |
214 | IRC protocol plugin for ekg2. | |
215 | ||
c78c926b JR |
216 | %description plugin-protocol-irc -l pl.UTF-8 |
217 | Wtyczka protokołu IRC dla ekg2. | |
014e3e4a | 218 | |
c043b1ca JB |
219 | %package plugin-protocol-jabber |
220 | Summary: Jabber protocol plugin for ekg2 | |
d66ce5e7 | 221 | Summary(pl.UTF-8): Wtyczka protokołu Jabber dla ekg2 |
014e3e4a | 222 | Group: Applications/Communications |
557a8566 | 223 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 224 | |
c043b1ca JB |
225 | %description plugin-protocol-jabber |
226 | Jabber protocol plugin for ekg2. | |
014e3e4a | 227 | |
c78c926b JR |
228 | %description plugin-protocol-jabber -l pl.UTF-8 |
229 | Wtyczka protokołu Jabber dla ekg2. | |
014e3e4a | 230 | |
ad0ac3b6 SP |
231 | %if %{with yesterday_snapshot} |
232 | %package plugin-protocol-polchat | |
233 | Summary: Polchat protocol plugin for ekg2 | |
234 | Summary(pl.UTF-8): Wtyczka protokołu polchat dla ekg2 | |
235 | Group: Applications/Communications | |
236 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
237 | ||
238 | %description plugin-protocol-polchat | |
239 | Polchat protocol plugin for ekg2. | |
240 | ||
241 | %description plugin-protocol-polchat -l pl.UTF-8 | |
242 | Wtyczka protokołu polchat dla ekg2. | |
243 | %endif | |
244 | ||
301d91d7 TP |
245 | %package plugin-readline |
246 | Summary: readline interface | |
d66ce5e7 | 247 | Summary(pl.UTF-8): Interfejs readline |
014e3e4a | 248 | Group: Applications/Communications |
557a8566 | 249 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 250 | |
301d91d7 TP |
251 | %description plugin-readline |
252 | readline interface. | |
014e3e4a | 253 | |
c78c926b | 254 | %description plugin-readline -l pl.UTF-8 |
301d91d7 | 255 | Interfejs readline. |
014e3e4a | 256 | |
541b7d39 | 257 | %package plugin-scripting-perl |
258 | Summary: Perl scripting plugin for ekg2 | |
d66ce5e7 | 259 | Summary(pl.UTF-8): Wtyczka języka Perl dla ekg2 |
541b7d39 | 260 | Group: Applications/Communications |
261 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
262 | ||
263 | %description plugin-scripting-perl | |
264 | Python scripting Perl for ekg2. | |
265 | ||
c78c926b JR |
266 | %description plugin-scripting-perl -l pl.UTF-8 |
267 | Wtyczka skryptów Perla dla ekg2. | |
541b7d39 | 268 | |
301d91d7 TP |
269 | %package plugin-scripting-python |
270 | Summary: Python scripting plugin for ekg2 | |
d66ce5e7 | 271 | Summary(pl.UTF-8): Wtyczka języka Python dla ekg2 |
3e0a2d08 | 272 | Group: Applications/Communications |
273 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
274 | ||
301d91d7 TP |
275 | %description plugin-scripting-python |
276 | Python scripting plugin for ekg2. | |
3e0a2d08 | 277 | |
c78c926b JR |
278 | %description plugin-scripting-python -l pl.UTF-8 |
279 | Wtyczka skryptów Pythona dla ekg2. | |
3e0a2d08 | 280 | |
c043b1ca JB |
281 | %package plugin-sim |
282 | Summary: Encryption plugin for ekg2 | |
d66ce5e7 | 283 | Summary(pl.UTF-8): Wtyczka szyfrująca dla ekg2 |
c043b1ca | 284 | Group: Applications/Communications |
557a8566 | 285 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c043b1ca JB |
286 | |
287 | %description plugin-sim | |
288 | Message encryption plugin for ekg2. | |
289 | ||
c78c926b JR |
290 | %description plugin-sim -l pl.UTF-8 |
291 | Wtyczka szyfrująca wiadomości dla ekg2. | |
014e3e4a | 292 | |
3b57c420 | 293 | %package plugin-xosd |
294 | Summary: xosd plugin for ekg2 | |
d66ce5e7 | 295 | Summary(pl.UTF-8): Wtyczka xosd dla ekg2 |
3b57c420 | 296 | Group: Applications/Communications |
557a8566 | 297 | Requires: %{name} = %{epoch}:%{version}-%{release} |
3b57c420 | 298 | |
299 | %description plugin-xosd | |
3dad2b83 | 300 | xosd plugin for ekg2. |
3b57c420 | 301 | |
c78c926b | 302 | %description plugin-xosd -l pl.UTF-8 |
3dad2b83 | 303 | Wtyczka xosd dla ekg2. |
3b57c420 | 304 | |
5834ad62 | 305 | %prep |
ce1ec8bc | 306 | %setup -q -n %{name}-%{_snap} |
541b7d39 | 307 | %patch0 -p1 |
045c6391 | 308 | #%patch1 -p1 |
9458169c | 309 | sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac |
2e9e8aff | 310 | sed -i -e '\#/opt/sqlite/lib#s#"$# /usr/lib64"#' m4/sqlite.m4 |
5834ad62 | 311 | |
312 | %build | |
b458faa5 JB |
313 | %{__libtoolize} --ltdl |
314 | cd libltdl | |
315 | %{__aclocal} | |
316 | %{__autoconf} | |
317 | %{__autoheader} | |
318 | %{__automake} | |
319 | cd .. | |
320 | %{__aclocal} -I m4 | |
321 | %{__autoconf} | |
322 | %{__autoheader} | |
323 | %{__automake} | |
40dbb666 JB |
324 | # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) |
325 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE" | |
a73e399c | 326 | %configure \ |
ab148695 | 327 | --enable-unicode \ |
014e3e4a | 328 | --with%{!?with_aspell:out}-aspell \ |
c043b1ca | 329 | --with%{!?with_gadugadu:out}-libgadu \ |
301d91d7 TP |
330 | %{!?with_gpg:--without-gpg} \ |
331 | --with%{!?with_gtk:out}-gtk \ | |
332 | --with%{!?with_gnutls:out}-libgnutls \ | |
ad0ac3b6 SP |
333 | %if %{with feed} || %{with jabber} |
334 | --with-expat \ | |
335 | %else | |
336 | --without-expat \ | |
337 | %endif | |
014e3e4a | 338 | --with%{!?with_libgsm:out}-libgsm \ |
301d91d7 | 339 | %{!?with_perl:--without-perl} \ |
c043b1ca | 340 | --with%{!?with_python:out}-python \ |
3f5a546c | 341 | --with%{!?with_readline:out}-readline \ |
c043b1ca | 342 | --with%{!?with_sqlite:out}-sqlite \ |
8a237b0c | 343 | --with%{!?with_sqlite3:out}-sqlite3 \ |
301d91d7 | 344 | --with%{!?with_xosd:out}-xosd |
c043b1ca | 345 | |
40dbb666 | 346 | %{__make} |
5834ad62 | 347 | |
348 | %install | |
349 | rm -rf $RPM_BUILD_ROOT | |
f0fe07cc | 350 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts |
80615d34 | 351 | |
4d3c7565 TP |
352 | %{__make} install \ |
353 | DESTDIR=$RPM_BUILD_ROOT | |
80615d34 | 354 | |
301d91d7 | 355 | mv -f README README-main || true |
5834ad62 | 356 | |
073716b1 JB |
357 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la |
358 | ||
359 | %find_lang %{name} | |
360 | ||
5834ad62 | 361 | %clean |
362 | rm -rf $RPM_BUILD_ROOT | |
363 | ||
073716b1 | 364 | %files -f %{name}.lang |
5834ad62 | 365 | %defattr(644,root,root,755) |
301d91d7 | 366 | %doc NEWS* README-main docs/ekg2book* docs/README docs/TODO docs/*.txt |
dbddd7be | 367 | %attr(755,root,root) %{_bindir}/ekg2 |
1a2585d1 | 368 | %dir %{_libdir}/%{name} |
369 | %dir %{_libdir}/%{name}/plugins | |
045c6391 AG |
370 | %attr(755,root,root) %{_libdir}/%{name}/plugins/autoresponder.so |
371 | %{_datadir}/%{name}/plugins/autoresponder | |
301d91d7 | 372 | %attr(755,root,root) %{_libdir}/%{name}/plugins/httprc_xajax.so |
014e3e4a | 373 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logs.so |
374 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mail.so | |
045c6391 | 375 | %{_datadir}/%{name}/plugins/mail |
014e3e4a | 376 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.so |
377 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pcm.so | |
378 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rc.so | |
301d91d7 | 379 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rot13.so |
014e3e4a | 380 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sms.so |
301d91d7 | 381 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xmsg.so |
045c6391 | 382 | %{_datadir}/%{name}/plugins/xmsg |
c043b1ca JB |
383 | %dir %{_datadir}/%{name} |
384 | %dir %{_datadir}/%{name}/plugins | |
014e3e4a | 385 | %{_datadir}/%{name}/*.txt |
301d91d7 | 386 | %{_datadir}/%{name}/plugins/httprc_xajax |
014e3e4a | 387 | %{_datadir}/%{name}/plugins/logs |
388 | %{_datadir}/%{name}/plugins/ncurses | |
301d91d7 TP |
389 | %{_datadir}/%{name}/plugins/rc |
390 | %{_datadir}/%{name}/plugins/sms | |
541b7d39 | 391 | %dir %{_datadir}/%{name}/scripts |
301d91d7 TP |
392 | %{_datadir}/%{name}/themes |
393 | ||
ad0ac3b6 | 394 | %if %{without yesterday_snapshot} |
301d91d7 TP |
395 | %files devel |
396 | %defattr(644,root,root,755) | |
397 | %attr(755,root,root) %{_bindir}/ekg2-config | |
398 | %{_includedir}/ekg2 | |
ad0ac3b6 SP |
399 | %endif |
400 | ||
401 | %if %{with yesterday_snapshot} | |
402 | %files plugin-feed | |
403 | %defattr(644,root,root,755) | |
404 | %attr(755,root,root) %{_libdir}/%{name}/plugins/feed.so | |
405 | %endif | |
301d91d7 TP |
406 | |
407 | %if %{with gpg} | |
408 | %files plugin-gpg | |
409 | %defattr(644,root,root,755) | |
410 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gpg.so | |
411 | %endif | |
412 | ||
413 | %if %{with gtk} | |
414 | %files plugin-gtk | |
415 | %defattr(644,root,root,755) | |
416 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gtk.so | |
417 | %endif | |
418 | ||
419 | %files plugin-ioctld | |
420 | %defattr(644,root,root,755) | |
421 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ioctld.so | |
422 | %{_datadir}/%{name}/plugins/ioctld | |
423 | %attr(4755,root,root) %{_libexecdir}/ioctld | |
424 | ||
ad0ac3b6 SP |
425 | %if %{with yesterday_snapshot} |
426 | %files plugin-jogger | |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jogger.so | |
429 | %endif | |
430 | ||
301d91d7 TP |
431 | %if %{with sqlite} || %{with sqlite3} |
432 | %files plugin-logsqlite | |
433 | %defattr(644,root,root,755) | |
434 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logsqlite.so | |
435 | %{_datadir}/%{name}/plugins/logsqlite | |
436 | %endif | |
014e3e4a | 437 | |
014e3e4a | 438 | %files plugin-protocol-gg |
b6c3e9c9 | 439 | %defattr(644,root,root,755) |
014e3e4a | 440 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gg.so |
441 | %{_datadir}/%{name}/plugins/gg | |
3b57c420 | 442 | |
c043b1ca JB |
443 | %if %{with libgsm} |
444 | %files plugin-protocol-gsm | |
b6c3e9c9 | 445 | %defattr(644,root,root,755) |
c043b1ca | 446 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gsm.so |
014e3e4a | 447 | %endif |
448 | ||
449 | %files plugin-protocol-irc | |
b6c3e9c9 | 450 | %defattr(644,root,root,755) |
014e3e4a | 451 | %attr(755,root,root) %{_libdir}/%{name}/plugins/irc.so |
452 | %{_datadir}/%{name}/plugins/irc | |
453 | ||
c043b1ca JB |
454 | %if %{with jabber} |
455 | %files plugin-protocol-jabber | |
b6c3e9c9 | 456 | %defattr(644,root,root,755) |
c043b1ca JB |
457 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jabber.so |
458 | %{_datadir}/%{name}/plugins/jabber | |
014e3e4a | 459 | %endif |
460 | ||
ad0ac3b6 SP |
461 | %if %{with yesterday_snapshot} |
462 | %files plugin-protocol-polchat | |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_libdir}/%{name}/plugins/polchat.so | |
465 | %endif | |
466 | ||
301d91d7 TP |
467 | %if %{with readline} |
468 | %files plugin-readline | |
b6c3e9c9 | 469 | %defattr(644,root,root,755) |
301d91d7 TP |
470 | %attr(755,root,root) %{_libdir}/%{name}/plugins/readline.so |
471 | %{_datadir}/%{name}/plugins/readline | |
014e3e4a | 472 | %endif |
473 | ||
541b7d39 | 474 | %if %{with perl} |
475 | %files plugin-scripting-perl | |
476 | %defattr(644,root,root,755) | |
477 | %attr(755,root,root) %{_libdir}/%{name}/plugins/perl.so | |
8372a33c | 478 | %{perl_vendorarch}/Ekg2.pm |
479 | %dir %{perl_vendorarch}/Ekg2 | |
480 | %{perl_vendorarch}/Ekg2/Irc.pm | |
481 | %dir %{perl_vendorarch}/auto/Ekg2 | |
482 | %{perl_vendorarch}/auto/Ekg2/Ekg2.bs | |
483 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Ekg2.so | |
484 | %dir %{perl_vendorarch}/auto/Ekg2/Irc | |
485 | %{perl_vendorarch}/auto/Ekg2/Irc/Irc.bs | |
486 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Irc/Irc.so | |
045c6391 | 487 | %{_datadir}/%{name}/scripts/*.pl |
541b7d39 | 488 | %endif |
489 | ||
301d91d7 TP |
490 | %if %{with python} |
491 | %files plugin-scripting-python | |
3e0a2d08 | 492 | %defattr(644,root,root,755) |
301d91d7 | 493 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.so |
045c6391 | 494 | %{_datadir}/%{name}/scripts/*.py |
3f5a546c | 495 | %endif |
3e0a2d08 | 496 | |
c043b1ca | 497 | %files plugin-sim |
b6c3e9c9 | 498 | %defattr(644,root,root,755) |
c043b1ca JB |
499 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sim.so |
500 | %{_datadir}/%{name}/plugins/sim | |
501 | ||
014e3e4a | 502 | %if %{with xosd} |
3b57c420 | 503 | %files plugin-xosd |
504 | %defattr(644,root,root,755) | |
505 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.so | |
506 | %{_datadir}/%{name}/plugins/xosd | |
014e3e4a | 507 | %endif |