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