]>
Commit | Line | Data |
---|---|---|
911936b1 | 1 | # TODO: |
911936b1 | 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 | |
80615d34 JB |
6 | # |
7 | # Conditional build: | |
c043b1ca | 8 | %bcond_without aspell # build without spell-checking support with aspell |
4fb4a41e | 9 | %bcond_without rss # don't build rss plugin |
c043b1ca | 10 | %bcond_without gadugadu # don't build gg plugin |
3b1aadf1 | 11 | %bcond_without gpg # don't build gpg plugin |
1a245258 | 12 | %bcond_without gtk # don't build gtk plugin |
c043b1ca | 13 | %bcond_without jabber # don't build jabber plugin |
dcb68d88 | 14 | %bcond_without gnutls # build jabber plugin without libgnutls |
4fb4a41e | 15 | %bcond_with libgsm # don't build libgsm plugin |
541b7d39 | 16 | %bcond_without perl # don't build Perl plugin |
301d91d7 | 17 | %bcond_without python # don't build Python plugin |
3f5a546c | 18 | %bcond_without readline # don't build readline interface |
ad0ac3b6 SP |
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 | |
4fb4a41e | 21 | %bcond_with xosd # don't build xosd plugin |
22 | %bcond_with git # checkout git master instead of Source0 - requested by ekg2 developer | |
89ad32fb | 23 | %bcond_with irckeepalive # adds patch that check irc connection and disconnect when server dies |
1a7179bc | 24 | |
04c2b774 | 25 | %if %{with git} |
26 | %define subver git.%(date +%Y%m%d) | |
489a96d3 | 27 | %else |
89ad32fb | 28 | %define subver 20110703 |
d9ac8992 | 29 | %endif |
30 | ||
7c35f2ef | 31 | %define rel 3 |
dcb68d88 | 32 | |
ad0ac3b6 SP |
33 | %if %{with sqlite} |
34 | %undefine sqlite3 | |
8a237b0c | 35 | %endif |
36 | ||
014e3e4a | 37 | Summary: Multi-protocol instant messaging and chat client |
d66ce5e7 | 38 | Summary(pl.UTF-8): Wieloprotokołowy komunikator internetowy |
5834ad62 | 39 | Name: ekg2 |
004d9d87 | 40 | Version: 0.4 |
1d21d7ea | 41 | Release: 0.%{subver}.%{rel} |
67b5d5cd | 42 | Epoch: 2 |
5834ad62 | 43 | License: GPL v2+ |
44 | Group: Applications/Communications | |
04c2b774 | 45 | %if %{without git} |
36034805 | 46 | Source0: https://github.com/leafnode/ekg2/tarball/master#/%{name}-%{subver}.tar.bz2 |
ce1e1344 | 47 | # Source0-md5: f451ea9f281d6b8c2578059a3863cee3 |
d9ac8992 | 48 | %endif |
541b7d39 | 49 | Patch0: %{name}-perl-install.patch |
4d90ebb3 | 50 | Patch1: %{name}-gtk.patch |
c8a198a2 | 51 | Patch2: %{name}-bug-63.patch |
89ad32fb | 52 | Patch3: %{name}-keepalive_irc.patch |
3eea3193 | 53 | URL: http://ekg2.org/ |
c043b1ca | 54 | %{?with_aspell:BuildRequires: aspell-devel} |
b458faa5 | 55 | BuildRequires: autoconf |
304afbad | 56 | BuildRequires: automake |
4fb4a41e | 57 | %if %{with rss} || %{with jabber} |
ad0ac3b6 SP |
58 | BuildRequires: expat-devel |
59 | %endif | |
4d90ebb3 | 60 | BuildRequires: gettext-devel >= 0.17-8 |
301d91d7 | 61 | %{?with_gadugadu:BuildRequires: giflib-devel} |
36034805 | 62 | %{?with_git:BuildRequires: git-core} |
dcb68d88 | 63 | %{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5} |
301d91d7 | 64 | %{?with_gpg:BuildRequires: gpgme-devel} |
c3cae937 | 65 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.14.1} |
045c6391 | 66 | %{?with_gadugadu:BuildRequires: libgadu-devel} |
c043b1ca | 67 | %{?with_libgsm:BuildRequires: libgsm-devel} |
045c6391 | 68 | %{?with_gadugadu:BuildRequires: libjpeg-devel} |
b458faa5 JB |
69 | BuildRequires: libltdl-devel |
70 | BuildRequires: libtool | |
073716b1 JB |
71 | BuildRequires: ncurses-devel |
72 | BuildRequires: openssl-devel >= 0.9.7d | |
045c6391 | 73 | %{?with_perl:BuildRequires: perl-devel} |
5a267675 | 74 | BuildRequires: pkgconfig |
c043b1ca | 75 | %{?with_python:BuildRequires: python-devel} |
301d91d7 | 76 | %{?with_readline:BuildRequires: readline-devel} |
045c6391 | 77 | %{?with_python:BuildRequires: rpm-pythonprov} |
f69780d1 | 78 | BuildRequires: sed >= 4.0 |
8a237b0c | 79 | %{?with_sqlite:BuildRequires: sqlite-devel} |
80 | %{?with_sqlite3:BuildRequires: sqlite3-devel} | |
301d91d7 TP |
81 | %{?with_xosd:BuildRequires: xosd-devel} |
82 | BuildRequires: zlib-devel | |
0d0aa7a9 | 83 | Obsoletes: ekg2-plugin-ioctld |
ce1e1344 | 84 | Obsoletes: ekg2-plugin-remote |
5834ad62 | 85 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
86 | ||
87 | %description | |
014e3e4a | 88 | Multi-protocol instant messaging and chat client with many plugins. |
5834ad62 | 89 | |
c78c926b | 90 | %description -l pl.UTF-8 |
2055e4af | 91 | Wieloprotokołowy, otwarty komunikator internetowy z wieloma wtyczkami. |
5834ad62 | 92 | |
301d91d7 TP |
93 | %package devel |
94 | Summary: ekg2 header files | |
d66ce5e7 | 95 | Summary(pl.UTF-8): Pliki nagłówkowe ekg2 |
301d91d7 TP |
96 | Group: Development/Libraries |
97 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
98 | ||
99 | %description devel | |
100 | Header files for ekg2. | |
101 | ||
c78c926b JR |
102 | %description devel -l pl.UTF-8 |
103 | Pliki nagłówkowe ekg2. | |
ad0ac3b6 | 104 | |
4fb4a41e | 105 | %package plugin-rss |
106 | Summary: rss plugin for ekg2 | |
107 | Summary(pl.UTF-8): Wtyczka rss dla ekg2 | |
ad0ac3b6 SP |
108 | Group: Applications/Communications |
109 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
4fb4a41e | 110 | Obsoletes: ekg2-plugin-feed |
ad0ac3b6 | 111 | |
4fb4a41e | 112 | %description plugin-rss |
113 | rss plugin for ekg2. | |
ad0ac3b6 | 114 | |
4fb4a41e | 115 | %description plugin-rss -l pl.UTF-8 |
116 | Wtyczka rss dla ekg2. | |
301d91d7 TP |
117 | |
118 | %package plugin-gpg | |
119 | Summary: gpg plugin for ekg2 | |
d66ce5e7 | 120 | Summary(pl.UTF-8): Wtyczka gpg dla ekg2 |
301d91d7 TP |
121 | Group: Applications/Communications |
122 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
123 | ||
124 | %description plugin-gpg | |
125 | gpg plugin for ekg2. | |
126 | ||
c78c926b | 127 | %description plugin-gpg -l pl.UTF-8 |
301d91d7 TP |
128 | Wtyczka gpg dla ekg2. |
129 | ||
130 | %package plugin-gtk | |
131 | Summary: gtk plugin for ekg2 | |
d66ce5e7 | 132 | Summary(pl.UTF-8): Wtyczka gtk dla ekg2 |
301d91d7 TP |
133 | Group: Applications/Communications |
134 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
c3cae937 | 135 | Requires: gtk+2 >= 2:2.14.1 |
301d91d7 TP |
136 | |
137 | %description plugin-gtk | |
138 | gtk plugin for ekg2. | |
139 | ||
c78c926b | 140 | %description plugin-gtk -l pl.UTF-8 |
301d91d7 TP |
141 | Wtyczka gtk dla ekg2. |
142 | ||
ad0ac3b6 SP |
143 | %package plugin-jogger |
144 | Summary: Jogger plugin for ekg2 | |
145 | Summary(pl.UTF-8): Wtyczka jogger dla ekg2 | |
146 | Group: Applications/Communications | |
147 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
148 | ||
149 | %description plugin-jogger | |
150 | Jogger plugin for ekg2. | |
151 | ||
152 | %description plugin-jogger -l pl.UTF-8 | |
153 | Wtyczka jogger dla ekg2. | |
ad0ac3b6 | 154 | |
301d91d7 TP |
155 | %package plugin-logsqlite |
156 | Summary: SQLite log plugin for ekg2 | |
d66ce5e7 | 157 | Summary(pl.UTF-8): Wtyczka logowania do SQLite dla ekg2 |
301d91d7 TP |
158 | Group: Applications/Communications |
159 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
160 | %if %{with sqlite3} | |
161 | Requires: sqlite3 | |
162 | %else | |
163 | Requires: sqlite | |
164 | %endif | |
165 | ||
166 | %description plugin-logsqlite | |
167 | SQLite log plugin for ekg2. | |
168 | ||
c78c926b | 169 | %description plugin-logsqlite -l pl.UTF-8 |
301d91d7 TP |
170 | Wtyczka logowania do bazy SQLite dla ekg2. |
171 | ||
014e3e4a | 172 | %package plugin-protocol-gg |
173 | Summary: Gadu-gadu protocol plugin for ekg2 | |
d66ce5e7 | 174 | Summary(pl.UTF-8): Wtyczka protokołu Gadu-gadu dla ekg2 |
014e3e4a | 175 | Group: Applications/Communications |
557a8566 | 176 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 177 | |
178 | %description plugin-protocol-gg | |
179 | Gadu-gadu protocol plugin for ekg2. | |
180 | ||
c78c926b JR |
181 | %description plugin-protocol-gg -l pl.UTF-8 |
182 | Wtyczka protokołu gadu-gadu dla ekg2. | |
014e3e4a | 183 | |
c043b1ca JB |
184 | %package plugin-protocol-gsm |
185 | Summary: GSM VoIP protocol plugin for ekg2 | |
d66ce5e7 | 186 | Summary(pl.UTF-8): Wtyczka protokołu GSM VoIP dla ekg2 |
014e3e4a | 187 | Group: Applications/Communications |
557a8566 | 188 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 189 | |
c043b1ca JB |
190 | %description plugin-protocol-gsm |
191 | GSM VoIP protocol plugin for ekg2. | |
014e3e4a | 192 | |
c78c926b JR |
193 | %description plugin-protocol-gsm -l pl.UTF-8 |
194 | Wtyczka protokołu GSM VoIP dla ekg2. | |
014e3e4a | 195 | |
c3cae937 | 196 | %package plugin-protocol-icq |
197 | Summary: ICQ protocol plugin for ekg2 | |
198 | Summary(pl.UTF-8): Wtyczka protokołu ICQ dla ekg2 | |
199 | Group: Applications/Communications | |
200 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
201 | ||
202 | %description plugin-protocol-icq | |
203 | ICQ protocol plugin for ekg2. | |
204 | ||
205 | %description plugin-protocol-icq -l pl.UTF-8 | |
206 | Wtyczka protokołu ICQ dla ekg2. | |
207 | ||
014e3e4a | 208 | %package plugin-protocol-irc |
209 | Summary: IRC protocol plugin for ekg2 | |
d66ce5e7 | 210 | Summary(pl.UTF-8): Wtyczka protokołu IRC dla ekg2 |
014e3e4a | 211 | Group: Applications/Communications |
557a8566 | 212 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 213 | |
214 | %description plugin-protocol-irc | |
215 | IRC protocol plugin for ekg2. | |
216 | ||
c78c926b JR |
217 | %description plugin-protocol-irc -l pl.UTF-8 |
218 | Wtyczka protokołu IRC dla ekg2. | |
014e3e4a | 219 | |
c043b1ca | 220 | %package plugin-protocol-jabber |
4ad1d971 | 221 | Summary: Jabber and Tlen protocols plugin for ekg2 |
222 | Summary(pl.UTF-8): Wtyczka protokołów Jabber i Tlen dla ekg2 | |
014e3e4a | 223 | Group: Applications/Communications |
557a8566 | 224 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 225 | |
c043b1ca | 226 | %description plugin-protocol-jabber |
4ad1d971 | 227 | Jabber and Tlen protocols plugin for ekg2. |
014e3e4a | 228 | |
c78c926b | 229 | %description plugin-protocol-jabber -l pl.UTF-8 |
4ad1d971 | 230 | Wtyczka protokołów Jabber i Tlen dla ekg2. |
014e3e4a | 231 | |
ad0ac3b6 SP |
232 | %package plugin-protocol-polchat |
233 | Summary: Polchat protocol plugin for ekg2 | |
234 | Summary(pl.UTF-8): Wtyczka protokołu polchat dla ekg2 | |
235 | Group: Applications/Communications | |
236 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
237 | ||
238 | %description plugin-protocol-polchat | |
239 | Polchat protocol plugin for ekg2. | |
240 | ||
241 | %description plugin-protocol-polchat -l pl.UTF-8 | |
242 | Wtyczka protokołu polchat dla ekg2. | |
ad0ac3b6 | 243 | |
ba6bbffe | 244 | %package plugin-protocol-rivchat |
245 | Summary: Rivchat protocol plugin for ekg2 | |
246 | Summary(pl.UTF-8): Wtyczka protokołu rivchat dla ekg2 | |
247 | Group: Applications/Communications | |
248 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
249 | ||
250 | %description plugin-protocol-rivchat | |
251 | Rivchat protocol plugin for ekg2. | |
252 | ||
253 | %description plugin-protocol-rivchat -l pl.UTF-8 | |
254 | Wtyczka protokołu rivchat dla ekg2. | |
255 | ||
301d91d7 TP |
256 | %package plugin-readline |
257 | Summary: readline interface | |
d66ce5e7 | 258 | Summary(pl.UTF-8): Interfejs readline |
014e3e4a | 259 | Group: Applications/Communications |
557a8566 | 260 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 261 | |
301d91d7 TP |
262 | %description plugin-readline |
263 | readline interface. | |
014e3e4a | 264 | |
c78c926b | 265 | %description plugin-readline -l pl.UTF-8 |
301d91d7 | 266 | Interfejs readline. |
014e3e4a | 267 | |
541b7d39 | 268 | %package plugin-scripting-perl |
269 | Summary: Perl scripting plugin for ekg2 | |
d66ce5e7 | 270 | Summary(pl.UTF-8): Wtyczka języka Perl dla ekg2 |
541b7d39 | 271 | Group: Applications/Communications |
272 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
273 | ||
274 | %description plugin-scripting-perl | |
275 | Python scripting Perl for ekg2. | |
276 | ||
c78c926b JR |
277 | %description plugin-scripting-perl -l pl.UTF-8 |
278 | Wtyczka skryptów Perla dla ekg2. | |
541b7d39 | 279 | |
301d91d7 TP |
280 | %package plugin-scripting-python |
281 | Summary: Python scripting plugin for ekg2 | |
d66ce5e7 | 282 | Summary(pl.UTF-8): Wtyczka języka Python dla ekg2 |
3e0a2d08 | 283 | Group: Applications/Communications |
284 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
80584fae | 285 | Requires: python-modules |
3e0a2d08 | 286 | |
301d91d7 TP |
287 | %description plugin-scripting-python |
288 | Python scripting plugin for ekg2. | |
3e0a2d08 | 289 | |
c78c926b JR |
290 | %description plugin-scripting-python -l pl.UTF-8 |
291 | Wtyczka skryptów Pythona dla ekg2. | |
3e0a2d08 | 292 | |
c043b1ca JB |
293 | %package plugin-sim |
294 | Summary: Encryption plugin for ekg2 | |
d66ce5e7 | 295 | Summary(pl.UTF-8): Wtyczka szyfrująca dla ekg2 |
c043b1ca | 296 | Group: Applications/Communications |
557a8566 | 297 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c043b1ca JB |
298 | |
299 | %description plugin-sim | |
300 | Message encryption plugin for ekg2. | |
301 | ||
c78c926b JR |
302 | %description plugin-sim -l pl.UTF-8 |
303 | Wtyczka szyfrująca wiadomości dla ekg2. | |
014e3e4a | 304 | |
3b57c420 | 305 | %package plugin-xosd |
306 | Summary: xosd plugin for ekg2 | |
d66ce5e7 | 307 | Summary(pl.UTF-8): Wtyczka xosd dla ekg2 |
3b57c420 | 308 | Group: Applications/Communications |
557a8566 | 309 | Requires: %{name} = %{epoch}:%{version}-%{release} |
3b57c420 | 310 | |
311 | %description plugin-xosd | |
3dad2b83 | 312 | xosd plugin for ekg2. |
3b57c420 | 313 | |
c78c926b | 314 | %description plugin-xosd -l pl.UTF-8 |
3dad2b83 | 315 | Wtyczka xosd dla ekg2. |
3b57c420 | 316 | |
5834ad62 | 317 | %prep |
04c2b774 | 318 | %if %{with git} |
319 | %setup -q -T -c -n %{name}-%{subver} | |
320 | repo="%ekg2repo" | |
445155ac | 321 | branch="%ekg2branch" |
04c2b774 | 322 | if [ "$repo" = "%%ekg2repo" ]; then |
323 | repo="git://github.com/leafnode/ekg2.git" | |
47296691 | 324 | fi |
445155ac | 325 | if [ "$branch" = "%%ekg2branch" ]; then |
8d20c6ec | 326 | branch="master" |
445155ac | 327 | fi |
04c2b774 | 328 | git init |
445155ac | 329 | git fetch $repo $branch |
04c2b774 | 330 | git checkout FETCH_HEAD |
331 | %else | |
36034805 | 332 | %setup -q -c -n %{name}-%{subver} |
333 | mv leafnode-ekg2-*/* . | |
d9ac8992 | 334 | %endif |
335 | ||
541b7d39 | 336 | %patch0 -p1 |
4d90ebb3 | 337 | %patch1 -p1 |
6c5ce0fd | 338 | %patch2 -p0 |
c3cae937 | 339 | |
89ad32fb | 340 | %if %{with irckeepalive} |
341 | %patch3 -p1 | |
342 | %endif | |
343 | ||
5834ad62 | 344 | |
c0fc15f6 | 345 | touch po/Makefile.in.in |
346 | find -name *.c > po/POTFILES.in | |
347 | ||
5834ad62 | 348 | %build |
4d90ebb3 | 349 | %{__gettextize} |
350 | %{__libtoolize} | |
351 | %{__aclocal} -I m4 | |
352 | %{__autoheader} | |
353 | %{__automake} | |
354 | %{__autoconf} | |
355 | ||
40dbb666 JB |
356 | # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) |
357 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE" | |
a73e399c | 358 | %configure \ |
ab148695 | 359 | --enable-unicode \ |
014e3e4a | 360 | --with%{!?with_aspell:out}-aspell \ |
c043b1ca | 361 | --with%{!?with_gadugadu:out}-libgadu \ |
301d91d7 TP |
362 | %{!?with_gpg:--without-gpg} \ |
363 | --with%{!?with_gtk:out}-gtk \ | |
364 | --with%{!?with_gnutls:out}-libgnutls \ | |
4fb4a41e | 365 | %if %{with rss} || %{with jabber} |
ccec1d4f | 366 | --with-expat \ |
ad0ac3b6 | 367 | %else |
ccec1d4f | 368 | --without-expat \ |
ad0ac3b6 | 369 | %endif |
014e3e4a | 370 | --with%{!?with_libgsm:out}-libgsm \ |
301d91d7 | 371 | %{!?with_perl:--without-perl} \ |
c043b1ca | 372 | --with%{!?with_python:out}-python \ |
3f5a546c | 373 | --with%{!?with_readline:out}-readline \ |
c043b1ca | 374 | --with%{!?with_sqlite:out}-sqlite \ |
8a237b0c | 375 | --with%{!?with_sqlite3:out}-sqlite3 \ |
4fb4a41e | 376 | --with%{!?with_xosd:out}-xosd \ |
377 | --disable-nntp | |
c043b1ca | 378 | |
40dbb666 | 379 | %{__make} |
5834ad62 | 380 | |
381 | %install | |
382 | rm -rf $RPM_BUILD_ROOT | |
f0fe07cc | 383 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts |
80615d34 | 384 | |
4d3c7565 TP |
385 | %{__make} install \ |
386 | DESTDIR=$RPM_BUILD_ROOT | |
80615d34 | 387 | |
073716b1 JB |
388 | %find_lang %{name} |
389 | ||
5834ad62 | 390 | %clean |
391 | rm -rf $RPM_BUILD_ROOT | |
392 | ||
073716b1 | 393 | %files -f %{name}.lang |
5834ad62 | 394 | %defattr(644,root,root,755) |
d3feeaf3 | 395 | %doc README.md docs/ekg2book* docs/README docs/TODO docs/*.txt |
dbddd7be | 396 | %attr(755,root,root) %{_bindir}/ekg2 |
1a2585d1 | 397 | %dir %{_libdir}/%{name} |
398 | %dir %{_libdir}/%{name}/plugins | |
045c6391 | 399 | %attr(755,root,root) %{_libdir}/%{name}/plugins/autoresponder.so |
4fb4a41e | 400 | %attr(755,root,root) %{_libdir}/%{name}/plugins/autoresponder.la |
045c6391 | 401 | %{_datadir}/%{name}/plugins/autoresponder |
014e3e4a | 402 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logs.so |
4fb4a41e | 403 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logs.la |
014e3e4a | 404 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mail.so |
4fb4a41e | 405 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mail.la |
045c6391 | 406 | %{_datadir}/%{name}/plugins/mail |
014e3e4a | 407 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.so |
4fb4a41e | 408 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.la |
014e3e4a | 409 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sms.so |
4fb4a41e | 410 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sms.la |
c043b1ca JB |
411 | %dir %{_datadir}/%{name} |
412 | %dir %{_datadir}/%{name}/plugins | |
014e3e4a | 413 | %{_datadir}/%{name}/*.txt |
014e3e4a | 414 | %{_datadir}/%{name}/plugins/logs |
415 | %{_datadir}/%{name}/plugins/ncurses | |
301d91d7 | 416 | %{_datadir}/%{name}/plugins/sms |
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 | |
514 | %{perl_vendorarch}/auto/Ekg2/Ekg2.bs | |
515 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Ekg2.so | |
516 | %dir %{perl_vendorarch}/auto/Ekg2/Irc | |
517 | %{perl_vendorarch}/auto/Ekg2/Irc/Irc.bs | |
518 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Irc/Irc.so | |
045c6391 | 519 | %{_datadir}/%{name}/scripts/*.pl |
541b7d39 | 520 | %endif |
521 | ||
301d91d7 TP |
522 | %if %{with python} |
523 | %files plugin-scripting-python | |
3e0a2d08 | 524 | %defattr(644,root,root,755) |
301d91d7 | 525 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.so |
4fb4a41e | 526 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.la |
045c6391 | 527 | %{_datadir}/%{name}/scripts/*.py |
3c527a0e | 528 | %dir %{_datadir}/ekg2/plugins/python |
36034805 | 529 | %{_datadir}/ekg2/plugins/python/commands-en.txt |
530 | %{_datadir}/ekg2/plugins/python/commands-pl.txt | |
3f5a546c | 531 | %endif |
3e0a2d08 | 532 | |
c043b1ca | 533 | %files plugin-sim |
b6c3e9c9 | 534 | %defattr(644,root,root,755) |
c043b1ca | 535 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sim.so |
4fb4a41e | 536 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sim.la |
c043b1ca JB |
537 | %{_datadir}/%{name}/plugins/sim |
538 | ||
014e3e4a | 539 | %if %{with xosd} |
3b57c420 | 540 | %files plugin-xosd |
541 | %defattr(644,root,root,755) | |
542 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.so | |
4fb4a41e | 543 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.la |
3b57c420 | 544 | %{_datadir}/%{name}/plugins/xosd |
014e3e4a | 545 | %endif |