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