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