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