]>
Commit | Line | Data |
---|---|---|
80615d34 JB |
1 | # |
2 | # Conditional build: | |
c043b1ca | 3 | %bcond_without aspell # build without spell-checking support with aspell |
4fb4a41e | 4 | %bcond_without rss # don't build rss plugin |
c043b1ca | 5 | %bcond_without gadugadu # don't build gg plugin |
3b1aadf1 | 6 | %bcond_without gpg # don't build gpg plugin |
1a245258 | 7 | %bcond_without gtk # don't build gtk plugin |
c043b1ca | 8 | %bcond_without jabber # don't build jabber plugin |
dcb68d88 | 9 | %bcond_without gnutls # build jabber plugin without libgnutls |
4fb4a41e | 10 | %bcond_with libgsm # don't build libgsm plugin |
541b7d39 | 11 | %bcond_without perl # don't build Perl plugin |
301d91d7 | 12 | %bcond_without python # don't build Python plugin |
3f5a546c | 13 | %bcond_without readline # don't build readline interface |
ad0ac3b6 SP |
14 | %bcond_with sqlite # build logsqlite plugin based on sqlite (conflicts with sqlite3) |
15 | %bcond_without sqlite3 # don't build logsqlite plugin based on sqlite3 | |
4fb4a41e | 16 | %bcond_with xosd # don't build xosd plugin |
17 | %bcond_with git # checkout git master instead of Source0 - requested by ekg2 developer | |
89ad32fb | 18 | %bcond_with irckeepalive # adds patch that check irc connection and disconnect when server dies |
1a7179bc | 19 | |
04c2b774 | 20 | %if %{with git} |
21 | %define subver git.%(date +%Y%m%d) | |
489a96d3 | 22 | %else |
2996e9cd | 23 | %define subver 20180902 |
d9ac8992 | 24 | %endif |
25 | ||
376ac45c | 26 | %define rel 6 |
dcb68d88 | 27 | |
ad0ac3b6 SP |
28 | %if %{with sqlite} |
29 | %undefine sqlite3 | |
8a237b0c | 30 | %endif |
31 | ||
014e3e4a | 32 | Summary: Multi-protocol instant messaging and chat client |
d66ce5e7 | 33 | Summary(pl.UTF-8): Wieloprotokołowy komunikator internetowy |
5834ad62 | 34 | Name: ekg2 |
004d9d87 | 35 | Version: 0.4 |
1d21d7ea | 36 | Release: 0.%{subver}.%{rel} |
67b5d5cd | 37 | Epoch: 2 |
5834ad62 | 38 | License: GPL v2+ |
39 | Group: Applications/Communications | |
04c2b774 | 40 | %if %{without git} |
2996e9cd JR |
41 | Source0: https://github.com/leafnode/ekg2/tarball/master?/%{name}-%{subver}.tar.gz |
42 | # Source0-md5: 2ce452ebcecc03532dee956c5648d890 | |
d9ac8992 | 43 | %endif |
541b7d39 | 44 | Patch0: %{name}-perl-install.patch |
4d90ebb3 | 45 | Patch1: %{name}-gtk.patch |
c8a198a2 | 46 | Patch2: %{name}-bug-63.patch |
89ad32fb | 47 | Patch3: %{name}-keepalive_irc.patch |
cba26b9b | 48 | Patch4: openssl.patch |
3eea3193 | 49 | URL: http://ekg2.org/ |
c043b1ca | 50 | %{?with_aspell:BuildRequires: aspell-devel} |
b458faa5 | 51 | BuildRequires: autoconf |
304afbad | 52 | BuildRequires: automake |
4fb4a41e | 53 | %if %{with rss} || %{with jabber} |
ad0ac3b6 SP |
54 | BuildRequires: expat-devel |
55 | %endif | |
bea1b0df | 56 | BuildRequires: gettext-tools >= 0.17-8 |
301d91d7 | 57 | %{?with_gadugadu:BuildRequires: giflib-devel} |
36034805 | 58 | %{?with_git:BuildRequires: git-core} |
dcb68d88 | 59 | %{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5} |
301d91d7 | 60 | %{?with_gpg:BuildRequires: gpgme-devel} |
c3cae937 | 61 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.14.1} |
045c6391 | 62 | %{?with_gadugadu:BuildRequires: libgadu-devel} |
c043b1ca | 63 | %{?with_libgsm:BuildRequires: libgsm-devel} |
045c6391 | 64 | %{?with_gadugadu:BuildRequires: libjpeg-devel} |
b458faa5 JB |
65 | BuildRequires: libltdl-devel |
66 | BuildRequires: libtool | |
073716b1 JB |
67 | BuildRequires: ncurses-devel |
68 | BuildRequires: openssl-devel >= 0.9.7d | |
045c6391 | 69 | %{?with_perl:BuildRequires: perl-devel} |
5a267675 | 70 | BuildRequires: pkgconfig |
c043b1ca | 71 | %{?with_python:BuildRequires: python-devel} |
301d91d7 | 72 | %{?with_readline:BuildRequires: readline-devel} |
045c6391 | 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 | |
0d0aa7a9 | 79 | Obsoletes: ekg2-plugin-ioctld |
ce1e1344 | 80 | Obsoletes: ekg2-plugin-remote |
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 | |
4fb4a41e | 101 | %package plugin-rss |
102 | Summary: rss plugin for ekg2 | |
103 | Summary(pl.UTF-8): Wtyczka rss dla ekg2 | |
ad0ac3b6 SP |
104 | Group: Applications/Communications |
105 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
4fb4a41e | 106 | Obsoletes: ekg2-plugin-feed |
ad0ac3b6 | 107 | |
4fb4a41e | 108 | %description plugin-rss |
109 | rss plugin for ekg2. | |
ad0ac3b6 | 110 | |
4fb4a41e | 111 | %description plugin-rss -l pl.UTF-8 |
112 | Wtyczka rss 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} | |
c3cae937 | 131 | Requires: gtk+2 >= 2:2.14.1 |
301d91d7 TP |
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 | ||
ad0ac3b6 SP |
139 | %package plugin-jogger |
140 | Summary: Jogger plugin for ekg2 | |
141 | Summary(pl.UTF-8): Wtyczka jogger dla ekg2 | |
142 | Group: Applications/Communications | |
143 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
144 | ||
145 | %description plugin-jogger | |
146 | Jogger plugin for ekg2. | |
147 | ||
148 | %description plugin-jogger -l pl.UTF-8 | |
149 | Wtyczka jogger dla ekg2. | |
ad0ac3b6 | 150 | |
301d91d7 TP |
151 | %package plugin-logsqlite |
152 | Summary: SQLite log plugin for ekg2 | |
d66ce5e7 | 153 | Summary(pl.UTF-8): Wtyczka logowania do SQLite dla ekg2 |
301d91d7 TP |
154 | Group: Applications/Communications |
155 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
156 | %if %{with sqlite3} | |
157 | Requires: sqlite3 | |
158 | %else | |
159 | Requires: sqlite | |
160 | %endif | |
161 | ||
162 | %description plugin-logsqlite | |
163 | SQLite log plugin for ekg2. | |
164 | ||
c78c926b | 165 | %description plugin-logsqlite -l pl.UTF-8 |
301d91d7 TP |
166 | Wtyczka logowania do bazy SQLite dla ekg2. |
167 | ||
014e3e4a | 168 | %package plugin-protocol-gg |
169 | Summary: Gadu-gadu protocol plugin for ekg2 | |
d66ce5e7 | 170 | Summary(pl.UTF-8): Wtyczka protokołu Gadu-gadu dla ekg2 |
014e3e4a | 171 | Group: Applications/Communications |
557a8566 | 172 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 173 | |
174 | %description plugin-protocol-gg | |
175 | Gadu-gadu protocol plugin for ekg2. | |
176 | ||
c78c926b JR |
177 | %description plugin-protocol-gg -l pl.UTF-8 |
178 | Wtyczka protokołu gadu-gadu dla ekg2. | |
014e3e4a | 179 | |
c043b1ca JB |
180 | %package plugin-protocol-gsm |
181 | Summary: GSM VoIP protocol plugin for ekg2 | |
d66ce5e7 | 182 | Summary(pl.UTF-8): Wtyczka protokołu GSM VoIP dla ekg2 |
014e3e4a | 183 | Group: Applications/Communications |
557a8566 | 184 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 185 | |
c043b1ca JB |
186 | %description plugin-protocol-gsm |
187 | GSM VoIP protocol plugin for ekg2. | |
014e3e4a | 188 | |
c78c926b JR |
189 | %description plugin-protocol-gsm -l pl.UTF-8 |
190 | Wtyczka protokołu GSM VoIP dla ekg2. | |
014e3e4a | 191 | |
c3cae937 | 192 | %package plugin-protocol-icq |
193 | Summary: ICQ protocol plugin for ekg2 | |
194 | Summary(pl.UTF-8): Wtyczka protokołu ICQ dla ekg2 | |
195 | Group: Applications/Communications | |
196 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
197 | ||
198 | %description plugin-protocol-icq | |
199 | ICQ protocol plugin for ekg2. | |
200 | ||
201 | %description plugin-protocol-icq -l pl.UTF-8 | |
202 | Wtyczka protokołu ICQ dla ekg2. | |
203 | ||
014e3e4a | 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 | 216 | %package plugin-protocol-jabber |
4ad1d971 | 217 | Summary: Jabber and Tlen protocols plugin for ekg2 |
218 | Summary(pl.UTF-8): Wtyczka protokołów Jabber i Tlen dla ekg2 | |
014e3e4a | 219 | Group: Applications/Communications |
557a8566 | 220 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 221 | |
c043b1ca | 222 | %description plugin-protocol-jabber |
4ad1d971 | 223 | Jabber and Tlen protocols plugin for ekg2. |
014e3e4a | 224 | |
c78c926b | 225 | %description plugin-protocol-jabber -l pl.UTF-8 |
4ad1d971 | 226 | Wtyczka protokołów Jabber i Tlen 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 | |
ba6bbffe | 240 | %package plugin-protocol-rivchat |
241 | Summary: Rivchat protocol plugin for ekg2 | |
242 | Summary(pl.UTF-8): Wtyczka protokołu rivchat dla ekg2 | |
243 | Group: Applications/Communications | |
244 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
245 | ||
246 | %description plugin-protocol-rivchat | |
247 | Rivchat protocol plugin for ekg2. | |
248 | ||
249 | %description plugin-protocol-rivchat -l pl.UTF-8 | |
250 | Wtyczka protokołu rivchat dla ekg2. | |
251 | ||
301d91d7 TP |
252 | %package plugin-readline |
253 | Summary: readline interface | |
d66ce5e7 | 254 | Summary(pl.UTF-8): Interfejs readline |
014e3e4a | 255 | Group: Applications/Communications |
557a8566 | 256 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 257 | |
301d91d7 TP |
258 | %description plugin-readline |
259 | readline interface. | |
014e3e4a | 260 | |
c78c926b | 261 | %description plugin-readline -l pl.UTF-8 |
301d91d7 | 262 | Interfejs readline. |
014e3e4a | 263 | |
541b7d39 | 264 | %package plugin-scripting-perl |
265 | Summary: Perl scripting plugin for ekg2 | |
d66ce5e7 | 266 | Summary(pl.UTF-8): Wtyczka języka Perl dla ekg2 |
541b7d39 | 267 | Group: Applications/Communications |
268 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
269 | ||
270 | %description plugin-scripting-perl | |
271 | Python scripting Perl for ekg2. | |
272 | ||
c78c926b JR |
273 | %description plugin-scripting-perl -l pl.UTF-8 |
274 | Wtyczka skryptów Perla dla ekg2. | |
541b7d39 | 275 | |
301d91d7 TP |
276 | %package plugin-scripting-python |
277 | Summary: Python scripting plugin for ekg2 | |
d66ce5e7 | 278 | Summary(pl.UTF-8): Wtyczka języka Python dla ekg2 |
3e0a2d08 | 279 | Group: Applications/Communications |
280 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
80584fae | 281 | Requires: python-modules |
3e0a2d08 | 282 | |
301d91d7 TP |
283 | %description plugin-scripting-python |
284 | Python scripting plugin for ekg2. | |
3e0a2d08 | 285 | |
c78c926b JR |
286 | %description plugin-scripting-python -l pl.UTF-8 |
287 | Wtyczka skryptów Pythona dla ekg2. | |
3e0a2d08 | 288 | |
c043b1ca JB |
289 | %package plugin-sim |
290 | Summary: Encryption plugin for ekg2 | |
d66ce5e7 | 291 | Summary(pl.UTF-8): Wtyczka szyfrująca dla ekg2 |
c043b1ca | 292 | Group: Applications/Communications |
557a8566 | 293 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c043b1ca JB |
294 | |
295 | %description plugin-sim | |
296 | Message encryption plugin for ekg2. | |
297 | ||
c78c926b JR |
298 | %description plugin-sim -l pl.UTF-8 |
299 | Wtyczka szyfrująca wiadomości dla ekg2. | |
014e3e4a | 300 | |
3b57c420 | 301 | %package plugin-xosd |
302 | Summary: xosd plugin for ekg2 | |
d66ce5e7 | 303 | Summary(pl.UTF-8): Wtyczka xosd dla ekg2 |
3b57c420 | 304 | Group: Applications/Communications |
557a8566 | 305 | Requires: %{name} = %{epoch}:%{version}-%{release} |
3b57c420 | 306 | |
307 | %description plugin-xosd | |
3dad2b83 | 308 | xosd plugin for ekg2. |
3b57c420 | 309 | |
c78c926b | 310 | %description plugin-xosd -l pl.UTF-8 |
3dad2b83 | 311 | Wtyczka xosd dla ekg2. |
3b57c420 | 312 | |
5834ad62 | 313 | %prep |
04c2b774 | 314 | %if %{with git} |
315 | %setup -q -T -c -n %{name}-%{subver} | |
316 | repo="%ekg2repo" | |
445155ac | 317 | branch="%ekg2branch" |
04c2b774 | 318 | if [ "$repo" = "%%ekg2repo" ]; then |
319 | repo="git://github.com/leafnode/ekg2.git" | |
47296691 | 320 | fi |
445155ac | 321 | if [ "$branch" = "%%ekg2branch" ]; then |
8d20c6ec | 322 | branch="master" |
445155ac | 323 | fi |
04c2b774 | 324 | git init |
445155ac | 325 | git fetch $repo $branch |
04c2b774 | 326 | git checkout FETCH_HEAD |
327 | %else | |
36034805 | 328 | %setup -q -c -n %{name}-%{subver} |
2996e9cd | 329 | %{__mv} ekg2-ekg2-*/* . |
d9ac8992 | 330 | %endif |
331 | ||
541b7d39 | 332 | %patch0 -p1 |
4d90ebb3 | 333 | %patch1 -p1 |
6c5ce0fd | 334 | %patch2 -p0 |
c3cae937 | 335 | |
89ad32fb | 336 | %if %{with irckeepalive} |
337 | %patch3 -p1 | |
338 | %endif | |
339 | ||
cba26b9b | 340 | %patch4 -p1 |
5834ad62 | 341 | |
c0fc15f6 | 342 | touch po/Makefile.in.in |
343 | find -name *.c > po/POTFILES.in | |
344 | ||
5834ad62 | 345 | %build |
4d90ebb3 | 346 | %{__gettextize} |
347 | %{__libtoolize} | |
348 | %{__aclocal} -I m4 | |
349 | %{__autoheader} | |
350 | %{__automake} | |
351 | %{__autoconf} | |
352 | ||
40dbb666 JB |
353 | # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) |
354 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE" | |
a73e399c | 355 | %configure \ |
ab148695 | 356 | --enable-unicode \ |
014e3e4a | 357 | --with%{!?with_aspell:out}-aspell \ |
c043b1ca | 358 | --with%{!?with_gadugadu:out}-libgadu \ |
301d91d7 TP |
359 | %{!?with_gpg:--without-gpg} \ |
360 | --with%{!?with_gtk:out}-gtk \ | |
361 | --with%{!?with_gnutls:out}-libgnutls \ | |
4fb4a41e | 362 | %if %{with rss} || %{with jabber} |
ccec1d4f | 363 | --with-expat \ |
ad0ac3b6 | 364 | %else |
ccec1d4f | 365 | --without-expat \ |
ad0ac3b6 | 366 | %endif |
014e3e4a | 367 | --with%{!?with_libgsm:out}-libgsm \ |
301d91d7 | 368 | %{!?with_perl:--without-perl} \ |
c043b1ca | 369 | --with%{!?with_python:out}-python \ |
3f5a546c | 370 | --with%{!?with_readline:out}-readline \ |
c043b1ca | 371 | --with%{!?with_sqlite:out}-sqlite \ |
8a237b0c | 372 | --with%{!?with_sqlite3:out}-sqlite3 \ |
4fb4a41e | 373 | --with%{!?with_xosd:out}-xosd \ |
374 | --disable-nntp | |
c043b1ca | 375 | |
40dbb666 | 376 | %{__make} |
5834ad62 | 377 | |
378 | %install | |
379 | rm -rf $RPM_BUILD_ROOT | |
f0fe07cc | 380 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts |
80615d34 | 381 | |
4d3c7565 TP |
382 | %{__make} install \ |
383 | DESTDIR=$RPM_BUILD_ROOT | |
80615d34 | 384 | |
073716b1 JB |
385 | %find_lang %{name} |
386 | ||
5834ad62 | 387 | %clean |
388 | rm -rf $RPM_BUILD_ROOT | |
389 | ||
073716b1 | 390 | %files -f %{name}.lang |
5834ad62 | 391 | %defattr(644,root,root,755) |
d3feeaf3 | 392 | %doc README.md docs/ekg2book* docs/README docs/TODO docs/*.txt |
dbddd7be | 393 | %attr(755,root,root) %{_bindir}/ekg2 |
1a2585d1 | 394 | %dir %{_libdir}/%{name} |
395 | %dir %{_libdir}/%{name}/plugins | |
045c6391 | 396 | %attr(755,root,root) %{_libdir}/%{name}/plugins/autoresponder.so |
4fb4a41e | 397 | %attr(755,root,root) %{_libdir}/%{name}/plugins/autoresponder.la |
045c6391 | 398 | %{_datadir}/%{name}/plugins/autoresponder |
014e3e4a | 399 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logs.so |
4fb4a41e | 400 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logs.la |
014e3e4a | 401 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mail.so |
4fb4a41e | 402 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mail.la |
045c6391 | 403 | %{_datadir}/%{name}/plugins/mail |
014e3e4a | 404 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.so |
4fb4a41e | 405 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.la |
2996e9cd JR |
406 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rc.so |
407 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rc.la | |
014e3e4a | 408 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sms.so |
4fb4a41e | 409 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sms.la |
c043b1ca JB |
410 | %dir %{_datadir}/%{name} |
411 | %dir %{_datadir}/%{name}/plugins | |
014e3e4a | 412 | %{_datadir}/%{name}/*.txt |
014e3e4a | 413 | %{_datadir}/%{name}/plugins/logs |
414 | %{_datadir}/%{name}/plugins/ncurses | |
301d91d7 | 415 | %{_datadir}/%{name}/plugins/sms |
2996e9cd | 416 | %{_datadir}/%{name}/plugins/rc |
541b7d39 | 417 | %dir %{_datadir}/%{name}/scripts |
301d91d7 TP |
418 | %{_datadir}/%{name}/themes |
419 | ||
4fb4a41e | 420 | %files plugin-rss |
ad0ac3b6 | 421 | %defattr(644,root,root,755) |
4fb4a41e | 422 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rss.so |
423 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rss.la | |
301d91d7 TP |
424 | |
425 | %if %{with gpg} | |
426 | %files plugin-gpg | |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gpg.so | |
4fb4a41e | 429 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gpg.la |
2ab7eba9 | 430 | %dir %{_datadir}/ekg2/plugins/gpg |
36034805 | 431 | %{_datadir}/ekg2/plugins/gpg/commands-en.txt |
432 | %{_datadir}/ekg2/plugins/gpg/commands-pl.txt | |
301d91d7 TP |
433 | %endif |
434 | ||
435 | %if %{with gtk} | |
436 | %files plugin-gtk | |
437 | %defattr(644,root,root,755) | |
438 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gtk.so | |
4fb4a41e | 439 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gtk.la |
301d91d7 TP |
440 | %endif |
441 | ||
ad0ac3b6 SP |
442 | %files plugin-jogger |
443 | %defattr(644,root,root,755) | |
444 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jogger.so | |
4fb4a41e | 445 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jogger.la |
ad0ac3b6 | 446 | |
301d91d7 TP |
447 | %if %{with sqlite} || %{with sqlite3} |
448 | %files plugin-logsqlite | |
449 | %defattr(644,root,root,755) | |
450 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logsqlite.so | |
4fb4a41e | 451 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logsqlite.la |
301d91d7 TP |
452 | %{_datadir}/%{name}/plugins/logsqlite |
453 | %endif | |
014e3e4a | 454 | |
014e3e4a | 455 | %files plugin-protocol-gg |
b6c3e9c9 | 456 | %defattr(644,root,root,755) |
014e3e4a | 457 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gg.so |
4fb4a41e | 458 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gg.la |
014e3e4a | 459 | %{_datadir}/%{name}/plugins/gg |
3b57c420 | 460 | |
c043b1ca JB |
461 | %if %{with libgsm} |
462 | %files plugin-protocol-gsm | |
b6c3e9c9 | 463 | %defattr(644,root,root,755) |
c043b1ca | 464 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gsm.so |
4fb4a41e | 465 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gsm.la |
014e3e4a | 466 | %endif |
467 | ||
c3cae937 | 468 | %files plugin-protocol-icq |
469 | %defattr(644,root,root,755) | |
470 | %attr(755,root,root) %{_libdir}/%{name}/plugins/icq.so | |
4fb4a41e | 471 | %attr(755,root,root) %{_libdir}/%{name}/plugins/icq.la |
c3cae937 | 472 | |
014e3e4a | 473 | %files plugin-protocol-irc |
b6c3e9c9 | 474 | %defattr(644,root,root,755) |
014e3e4a | 475 | %attr(755,root,root) %{_libdir}/%{name}/plugins/irc.so |
4fb4a41e | 476 | %attr(755,root,root) %{_libdir}/%{name}/plugins/irc.la |
014e3e4a | 477 | %{_datadir}/%{name}/plugins/irc |
478 | ||
c043b1ca JB |
479 | %if %{with jabber} |
480 | %files plugin-protocol-jabber | |
b6c3e9c9 | 481 | %defattr(644,root,root,755) |
c043b1ca | 482 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jabber.so |
4fb4a41e | 483 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jabber.la |
c043b1ca | 484 | %{_datadir}/%{name}/plugins/jabber |
014e3e4a | 485 | %endif |
486 | ||
ad0ac3b6 SP |
487 | %files plugin-protocol-polchat |
488 | %defattr(644,root,root,755) | |
489 | %attr(755,root,root) %{_libdir}/%{name}/plugins/polchat.so | |
4fb4a41e | 490 | %attr(755,root,root) %{_libdir}/%{name}/plugins/polchat.la |
ad0ac3b6 | 491 | |
ba6bbffe | 492 | %files plugin-protocol-rivchat |
493 | %defattr(644,root,root,755) | |
494 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rivchat.so | |
4fb4a41e | 495 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rivchat.la |
ba6bbffe | 496 | |
301d91d7 TP |
497 | %if %{with readline} |
498 | %files plugin-readline | |
b6c3e9c9 | 499 | %defattr(644,root,root,755) |
301d91d7 | 500 | %attr(755,root,root) %{_libdir}/%{name}/plugins/readline.so |
4fb4a41e | 501 | %attr(755,root,root) %{_libdir}/%{name}/plugins/readline.la |
301d91d7 | 502 | %{_datadir}/%{name}/plugins/readline |
014e3e4a | 503 | %endif |
504 | ||
541b7d39 | 505 | %if %{with perl} |
506 | %files plugin-scripting-perl | |
507 | %defattr(644,root,root,755) | |
508 | %attr(755,root,root) %{_libdir}/%{name}/plugins/perl.so | |
4fb4a41e | 509 | %attr(755,root,root) %{_libdir}/%{name}/plugins/perl.la |
8372a33c | 510 | %{perl_vendorarch}/Ekg2.pm |
511 | %dir %{perl_vendorarch}/Ekg2 | |
512 | %{perl_vendorarch}/Ekg2/Irc.pm | |
513 | %dir %{perl_vendorarch}/auto/Ekg2 | |
8372a33c | 514 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Ekg2.so |
515 | %dir %{perl_vendorarch}/auto/Ekg2/Irc | |
8372a33c | 516 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Irc/Irc.so |
045c6391 | 517 | %{_datadir}/%{name}/scripts/*.pl |
541b7d39 | 518 | %endif |
519 | ||
301d91d7 TP |
520 | %if %{with python} |
521 | %files plugin-scripting-python | |
3e0a2d08 | 522 | %defattr(644,root,root,755) |
301d91d7 | 523 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.so |
4fb4a41e | 524 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.la |
045c6391 | 525 | %{_datadir}/%{name}/scripts/*.py |
3c527a0e | 526 | %dir %{_datadir}/ekg2/plugins/python |
36034805 | 527 | %{_datadir}/ekg2/plugins/python/commands-en.txt |
528 | %{_datadir}/ekg2/plugins/python/commands-pl.txt | |
3f5a546c | 529 | %endif |
3e0a2d08 | 530 | |
c043b1ca | 531 | %files plugin-sim |
b6c3e9c9 | 532 | %defattr(644,root,root,755) |
c043b1ca | 533 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sim.so |
4fb4a41e | 534 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sim.la |
c043b1ca JB |
535 | %{_datadir}/%{name}/plugins/sim |
536 | ||
014e3e4a | 537 | %if %{with xosd} |
3b57c420 | 538 | %files plugin-xosd |
539 | %defattr(644,root,root,755) | |
540 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.so | |
4fb4a41e | 541 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.la |
3b57c420 | 542 | %{_datadir}/%{name}/plugins/xosd |
014e3e4a | 543 | %endif |