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