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