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