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