]>
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 |
a8748940 | 12 | %bcond_with 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 |
d9ac8992 | 22 | %bcond_with svn # checkout svn trunk instead of Source0 - requested by ekg2 developer |
1a7179bc | 23 | |
d9ac8992 | 24 | %if %{with svn} |
1d21d7ea | 25 | %define subver svn.%(date +%Y%m%d) |
489a96d3 | 26 | %else |
0c4cdd20 | 27 | %define subver 20101110 |
d9ac8992 | 28 | %endif |
29 | ||
1fd59ffb | 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 |
4d90ebb3 | 39 | Version: 0.3 |
1d21d7ea | 40 | Release: 0.%{subver}.%{rel} |
045c6391 | 41 | Epoch: 2 |
5834ad62 | 42 | License: GPL v2+ |
43 | Group: Applications/Communications | |
d9ac8992 | 44 | %if %{without svn} |
1d21d7ea | 45 | Source0: http://pl.ekg2.org/%{name}-%{subver}.tar.bz2 |
0c4cdd20 | 46 | # Source0-md5: 908ae66c4ab677671423316ed8eb7793 |
d9ac8992 | 47 | %endif |
541b7d39 | 48 | Patch0: %{name}-perl-install.patch |
4d90ebb3 | 49 | Patch1: %{name}-gtk.patch |
3eea3193 | 50 | URL: http://ekg2.org/ |
c043b1ca | 51 | %{?with_aspell:BuildRequires: aspell-devel} |
b458faa5 | 52 | BuildRequires: autoconf |
304afbad | 53 | BuildRequires: automake |
ad0ac3b6 SP |
54 | %if %{with feed} || %{with jabber} |
55 | BuildRequires: expat-devel | |
56 | %endif | |
4d90ebb3 | 57 | BuildRequires: gettext-devel >= 0.17-8 |
301d91d7 | 58 | %{?with_gadugadu:BuildRequires: giflib-devel} |
dcb68d88 | 59 | %{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5} |
301d91d7 | 60 | %{?with_gpg:BuildRequires: gpgme-devel} |
073716b1 | 61 | BuildRequires: gpm-devel |
c3cae937 | 62 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.14.1} |
045c6391 | 63 | %{?with_gadugadu:BuildRequires: libgadu-devel} |
c043b1ca | 64 | %{?with_libgsm:BuildRequires: libgsm-devel} |
045c6391 | 65 | %{?with_gadugadu:BuildRequires: libjpeg-devel} |
b458faa5 JB |
66 | BuildRequires: libltdl-devel |
67 | BuildRequires: libtool | |
073716b1 JB |
68 | BuildRequires: ncurses-devel |
69 | BuildRequires: openssl-devel >= 0.9.7d | |
045c6391 | 70 | %{?with_perl:BuildRequires: perl-devel} |
5a267675 | 71 | BuildRequires: pkgconfig |
c043b1ca | 72 | %{?with_python:BuildRequires: python-devel} |
301d91d7 | 73 | %{?with_readline:BuildRequires: readline-devel} |
045c6391 | 74 | %{?with_python:BuildRequires: rpm-pythonprov} |
f69780d1 | 75 | BuildRequires: sed >= 4.0 |
8a237b0c | 76 | %{?with_sqlite:BuildRequires: sqlite-devel} |
77 | %{?with_sqlite3:BuildRequires: sqlite3-devel} | |
1d21d7ea | 78 | %{?with_svn:BuildRequires: subversion} |
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 | |
ad0ac3b6 SP |
101 | %package plugin-feed |
102 | Summary: feed plugin for ekg2 | |
103 | Summary(pl.UTF-8): Wtyczka feed dla ekg2 | |
104 | Group: Applications/Communications | |
105 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
106 | ||
107 | %description plugin-feed | |
108 | feed plugin for ekg2. | |
109 | ||
110 | %description plugin-feed -l pl.UTF-8 | |
111 | Wtyczka feed dla ekg2. | |
301d91d7 TP |
112 | |
113 | %package plugin-gpg | |
114 | Summary: gpg plugin for ekg2 | |
d66ce5e7 | 115 | Summary(pl.UTF-8): Wtyczka gpg dla ekg2 |
301d91d7 TP |
116 | Group: Applications/Communications |
117 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
118 | ||
119 | %description plugin-gpg | |
120 | gpg plugin for ekg2. | |
121 | ||
c78c926b | 122 | %description plugin-gpg -l pl.UTF-8 |
301d91d7 TP |
123 | Wtyczka gpg dla ekg2. |
124 | ||
125 | %package plugin-gtk | |
126 | Summary: gtk plugin for ekg2 | |
d66ce5e7 | 127 | Summary(pl.UTF-8): Wtyczka gtk dla ekg2 |
301d91d7 TP |
128 | Group: Applications/Communications |
129 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
c3cae937 | 130 | Requires: gtk+2 >= 2:2.14.1 |
301d91d7 TP |
131 | |
132 | %description plugin-gtk | |
133 | gtk plugin for ekg2. | |
134 | ||
c78c926b | 135 | %description plugin-gtk -l pl.UTF-8 |
301d91d7 TP |
136 | Wtyczka gtk dla ekg2. |
137 | ||
138 | %package plugin-ioctld | |
139 | Summary: Ioctld plugin for ekg2 | |
d66ce5e7 | 140 | Summary(pl.UTF-8): Wtyczka ioctld dla ekg2 |
301d91d7 TP |
141 | Group: Applications/Communications |
142 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
143 | ||
144 | %description plugin-ioctld | |
145 | Ioctld plugin for ekg2 (contains suid root binary!). | |
146 | ||
c78c926b | 147 | %description plugin-ioctld -l pl.UTF-8 |
3b1aadf1 | 148 | Wtyczka ioctld dla ekg2 (zawiera program z ustawionym suid root!). |
301d91d7 | 149 | |
ad0ac3b6 SP |
150 | %package plugin-jogger |
151 | Summary: Jogger plugin for ekg2 | |
152 | Summary(pl.UTF-8): Wtyczka jogger dla ekg2 | |
153 | Group: Applications/Communications | |
154 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
155 | ||
156 | %description plugin-jogger | |
157 | Jogger plugin for ekg2. | |
158 | ||
159 | %description plugin-jogger -l pl.UTF-8 | |
160 | Wtyczka jogger dla ekg2. | |
ad0ac3b6 | 161 | |
301d91d7 TP |
162 | %package plugin-logsqlite |
163 | Summary: SQLite log plugin for ekg2 | |
d66ce5e7 | 164 | Summary(pl.UTF-8): Wtyczka logowania do SQLite dla ekg2 |
301d91d7 TP |
165 | Group: Applications/Communications |
166 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
167 | %if %{with sqlite3} | |
168 | Requires: sqlite3 | |
169 | %else | |
170 | Requires: sqlite | |
171 | %endif | |
172 | ||
173 | %description plugin-logsqlite | |
174 | SQLite log plugin for ekg2. | |
175 | ||
c78c926b | 176 | %description plugin-logsqlite -l pl.UTF-8 |
301d91d7 TP |
177 | Wtyczka logowania do bazy SQLite dla ekg2. |
178 | ||
014e3e4a | 179 | %package plugin-protocol-gg |
180 | Summary: Gadu-gadu protocol plugin for ekg2 | |
d66ce5e7 | 181 | Summary(pl.UTF-8): Wtyczka protokołu Gadu-gadu dla ekg2 |
014e3e4a | 182 | Group: Applications/Communications |
557a8566 | 183 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 184 | |
185 | %description plugin-protocol-gg | |
186 | Gadu-gadu protocol plugin for ekg2. | |
187 | ||
c78c926b JR |
188 | %description plugin-protocol-gg -l pl.UTF-8 |
189 | Wtyczka protokołu gadu-gadu dla ekg2. | |
014e3e4a | 190 | |
c043b1ca JB |
191 | %package plugin-protocol-gsm |
192 | Summary: GSM VoIP protocol plugin for ekg2 | |
d66ce5e7 | 193 | Summary(pl.UTF-8): Wtyczka protokołu GSM VoIP dla ekg2 |
014e3e4a | 194 | Group: Applications/Communications |
557a8566 | 195 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 196 | |
c043b1ca JB |
197 | %description plugin-protocol-gsm |
198 | GSM VoIP protocol plugin for ekg2. | |
014e3e4a | 199 | |
c78c926b JR |
200 | %description plugin-protocol-gsm -l pl.UTF-8 |
201 | Wtyczka protokołu GSM VoIP dla ekg2. | |
014e3e4a | 202 | |
c3cae937 | 203 | %package plugin-protocol-icq |
204 | Summary: ICQ protocol plugin for ekg2 | |
205 | Summary(pl.UTF-8): Wtyczka protokołu ICQ dla ekg2 | |
206 | Group: Applications/Communications | |
207 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
208 | ||
209 | %description plugin-protocol-icq | |
210 | ICQ protocol plugin for ekg2. | |
211 | ||
212 | %description plugin-protocol-icq -l pl.UTF-8 | |
213 | Wtyczka protokołu ICQ dla ekg2. | |
214 | ||
014e3e4a | 215 | %package plugin-protocol-irc |
216 | Summary: IRC protocol plugin for ekg2 | |
d66ce5e7 | 217 | Summary(pl.UTF-8): Wtyczka protokołu IRC dla ekg2 |
014e3e4a | 218 | Group: Applications/Communications |
557a8566 | 219 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 220 | |
221 | %description plugin-protocol-irc | |
222 | IRC protocol plugin for ekg2. | |
223 | ||
c78c926b JR |
224 | %description plugin-protocol-irc -l pl.UTF-8 |
225 | Wtyczka protokołu IRC dla ekg2. | |
014e3e4a | 226 | |
c043b1ca | 227 | %package plugin-protocol-jabber |
4ad1d971 | 228 | Summary: Jabber and Tlen protocols plugin for ekg2 |
229 | Summary(pl.UTF-8): Wtyczka protokołów Jabber i Tlen dla ekg2 | |
014e3e4a | 230 | Group: Applications/Communications |
557a8566 | 231 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 232 | |
c043b1ca | 233 | %description plugin-protocol-jabber |
4ad1d971 | 234 | Jabber and Tlen protocols plugin for ekg2. |
014e3e4a | 235 | |
c78c926b | 236 | %description plugin-protocol-jabber -l pl.UTF-8 |
4ad1d971 | 237 | Wtyczka protokołów Jabber i Tlen dla ekg2. |
014e3e4a | 238 | |
ad0ac3b6 SP |
239 | %package plugin-protocol-polchat |
240 | Summary: Polchat protocol plugin for ekg2 | |
241 | Summary(pl.UTF-8): Wtyczka protokołu polchat dla ekg2 | |
242 | Group: Applications/Communications | |
243 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
244 | ||
245 | %description plugin-protocol-polchat | |
246 | Polchat protocol plugin for ekg2. | |
247 | ||
248 | %description plugin-protocol-polchat -l pl.UTF-8 | |
249 | Wtyczka protokołu polchat dla ekg2. | |
ad0ac3b6 | 250 | |
ba6bbffe | 251 | %package plugin-protocol-rivchat |
252 | Summary: Rivchat protocol plugin for ekg2 | |
253 | Summary(pl.UTF-8): Wtyczka protokołu rivchat dla ekg2 | |
254 | Group: Applications/Communications | |
255 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
256 | ||
257 | %description plugin-protocol-rivchat | |
258 | Rivchat protocol plugin for ekg2. | |
259 | ||
260 | %description plugin-protocol-rivchat -l pl.UTF-8 | |
261 | Wtyczka protokołu rivchat dla ekg2. | |
262 | ||
301d91d7 TP |
263 | %package plugin-readline |
264 | Summary: readline interface | |
d66ce5e7 | 265 | Summary(pl.UTF-8): Interfejs readline |
014e3e4a | 266 | Group: Applications/Communications |
557a8566 | 267 | Requires: %{name} = %{epoch}:%{version}-%{release} |
014e3e4a | 268 | |
301d91d7 TP |
269 | %description plugin-readline |
270 | readline interface. | |
014e3e4a | 271 | |
c78c926b | 272 | %description plugin-readline -l pl.UTF-8 |
301d91d7 | 273 | Interfejs readline. |
014e3e4a | 274 | |
911936b1 | 275 | %package plugin-remote |
276 | Summary: Remote contol interface | |
277 | Summary(pl.UTF-8): Zdalne sterowanie ekg2 | |
278 | Group: Applications/Communications | |
279 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
280 | ||
281 | %description plugin-remote | |
282 | Remote control interface. | |
283 | ||
284 | %description plugin-remote -l pl.UTF-8 | |
285 | Zdalne sterowanie ekg2. | |
286 | ||
541b7d39 | 287 | %package plugin-scripting-perl |
288 | Summary: Perl scripting plugin for ekg2 | |
d66ce5e7 | 289 | Summary(pl.UTF-8): Wtyczka języka Perl dla ekg2 |
541b7d39 | 290 | Group: Applications/Communications |
291 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
292 | ||
293 | %description plugin-scripting-perl | |
294 | Python scripting Perl for ekg2. | |
295 | ||
c78c926b JR |
296 | %description plugin-scripting-perl -l pl.UTF-8 |
297 | Wtyczka skryptów Perla dla ekg2. | |
541b7d39 | 298 | |
301d91d7 TP |
299 | %package plugin-scripting-python |
300 | Summary: Python scripting plugin for ekg2 | |
d66ce5e7 | 301 | Summary(pl.UTF-8): Wtyczka języka Python dla ekg2 |
3e0a2d08 | 302 | Group: Applications/Communications |
303 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
304 | ||
301d91d7 TP |
305 | %description plugin-scripting-python |
306 | Python scripting plugin for ekg2. | |
3e0a2d08 | 307 | |
c78c926b JR |
308 | %description plugin-scripting-python -l pl.UTF-8 |
309 | Wtyczka skryptów Pythona dla ekg2. | |
3e0a2d08 | 310 | |
c043b1ca JB |
311 | %package plugin-sim |
312 | Summary: Encryption plugin for ekg2 | |
d66ce5e7 | 313 | Summary(pl.UTF-8): Wtyczka szyfrująca dla ekg2 |
c043b1ca | 314 | Group: Applications/Communications |
557a8566 | 315 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c043b1ca JB |
316 | |
317 | %description plugin-sim | |
318 | Message encryption plugin for ekg2. | |
319 | ||
c78c926b JR |
320 | %description plugin-sim -l pl.UTF-8 |
321 | Wtyczka szyfrująca wiadomości dla ekg2. | |
014e3e4a | 322 | |
3b57c420 | 323 | %package plugin-xosd |
324 | Summary: xosd plugin for ekg2 | |
d66ce5e7 | 325 | Summary(pl.UTF-8): Wtyczka xosd dla ekg2 |
3b57c420 | 326 | Group: Applications/Communications |
557a8566 | 327 | Requires: %{name} = %{epoch}:%{version}-%{release} |
3b57c420 | 328 | |
329 | %description plugin-xosd | |
3dad2b83 | 330 | xosd plugin for ekg2. |
3b57c420 | 331 | |
c78c926b | 332 | %description plugin-xosd -l pl.UTF-8 |
3dad2b83 | 333 | Wtyczka xosd dla ekg2. |
3b57c420 | 334 | |
5834ad62 | 335 | %prep |
d9ac8992 | 336 | %if %{without svn} |
1d21d7ea | 337 | %setup -q -n %{name}-%{subver} |
d9ac8992 | 338 | %else |
826c9acf ER |
339 | %setup -qcT |
340 | cd .. | |
9ac6ffc0 | 341 | svn -q export --force http://toxygen.net/svn/ekg2/trunk %{name}-%{version} |
826c9acf | 342 | cd - |
d9ac8992 | 343 | %endif |
344 | ||
541b7d39 | 345 | %patch0 -p1 |
4d90ebb3 | 346 | %patch1 -p1 |
c3cae937 | 347 | |
480a648b | 348 | sed -i -e '\#/opt/sqlite/lib#s#"$# %{_libdir}"#' m4/sqlite.m4 |
5834ad62 | 349 | |
c0fc15f6 | 350 | touch po/Makefile.in.in |
351 | find -name *.c > po/POTFILES.in | |
352 | ||
5834ad62 | 353 | %build |
4d90ebb3 | 354 | %{__gettextize} |
355 | %{__libtoolize} | |
356 | %{__aclocal} -I m4 | |
357 | %{__autoheader} | |
358 | %{__automake} | |
359 | %{__autoconf} | |
360 | ||
40dbb666 JB |
361 | # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) |
362 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE" | |
a73e399c | 363 | %configure \ |
ab148695 | 364 | --enable-unicode \ |
014e3e4a | 365 | --with%{!?with_aspell:out}-aspell \ |
c043b1ca | 366 | --with%{!?with_gadugadu:out}-libgadu \ |
301d91d7 TP |
367 | %{!?with_gpg:--without-gpg} \ |
368 | --with%{!?with_gtk:out}-gtk \ | |
369 | --with%{!?with_gnutls:out}-libgnutls \ | |
ad0ac3b6 | 370 | %if %{with feed} || %{with jabber} |
ccec1d4f | 371 | --with-expat \ |
ad0ac3b6 | 372 | %else |
ccec1d4f | 373 | --without-expat \ |
ad0ac3b6 | 374 | %endif |
014e3e4a | 375 | --with%{!?with_libgsm:out}-libgsm \ |
301d91d7 | 376 | %{!?with_perl:--without-perl} \ |
c043b1ca | 377 | --with%{!?with_python:out}-python \ |
3f5a546c | 378 | --with%{!?with_readline:out}-readline \ |
c043b1ca | 379 | --with%{!?with_sqlite:out}-sqlite \ |
8a237b0c | 380 | --with%{!?with_sqlite3:out}-sqlite3 \ |
301d91d7 | 381 | --with%{!?with_xosd:out}-xosd |
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 | |
301d91d7 | 392 | mv -f README README-main || true |
5834ad62 | 393 | |
073716b1 JB |
394 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la |
395 | ||
396 | %find_lang %{name} | |
397 | ||
5834ad62 | 398 | %clean |
399 | rm -rf $RPM_BUILD_ROOT | |
400 | ||
073716b1 | 401 | %files -f %{name}.lang |
5834ad62 | 402 | %defattr(644,root,root,755) |
301d91d7 | 403 | %doc NEWS* README-main docs/ekg2book* docs/README docs/TODO docs/*.txt |
dbddd7be | 404 | %attr(755,root,root) %{_bindir}/ekg2 |
1a2585d1 | 405 | %dir %{_libdir}/%{name} |
406 | %dir %{_libdir}/%{name}/plugins | |
045c6391 AG |
407 | %attr(755,root,root) %{_libdir}/%{name}/plugins/autoresponder.so |
408 | %{_datadir}/%{name}/plugins/autoresponder | |
301d91d7 | 409 | %attr(755,root,root) %{_libdir}/%{name}/plugins/httprc_xajax.so |
014e3e4a | 410 | %attr(755,root,root) %{_libdir}/%{name}/plugins/logs.so |
411 | %attr(755,root,root) %{_libdir}/%{name}/plugins/mail.so | |
045c6391 | 412 | %{_datadir}/%{name}/plugins/mail |
014e3e4a | 413 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.so |
414 | %attr(755,root,root) %{_libdir}/%{name}/plugins/pcm.so | |
415 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rc.so | |
301d91d7 | 416 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rot13.so |
014e3e4a | 417 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sms.so |
301d91d7 | 418 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xmsg.so |
045c6391 | 419 | %{_datadir}/%{name}/plugins/xmsg |
c043b1ca JB |
420 | %dir %{_datadir}/%{name} |
421 | %dir %{_datadir}/%{name}/plugins | |
014e3e4a | 422 | %{_datadir}/%{name}/*.txt |
301d91d7 | 423 | %{_datadir}/%{name}/plugins/httprc_xajax |
014e3e4a | 424 | %{_datadir}/%{name}/plugins/logs |
425 | %{_datadir}/%{name}/plugins/ncurses | |
301d91d7 TP |
426 | %{_datadir}/%{name}/plugins/rc |
427 | %{_datadir}/%{name}/plugins/sms | |
541b7d39 | 428 | %dir %{_datadir}/%{name}/scripts |
301d91d7 TP |
429 | %{_datadir}/%{name}/themes |
430 | ||
ad0ac3b6 SP |
431 | %files plugin-feed |
432 | %defattr(644,root,root,755) | |
433 | %attr(755,root,root) %{_libdir}/%{name}/plugins/feed.so | |
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 | |
439 | %endif | |
440 | ||
441 | %if %{with gtk} | |
442 | %files plugin-gtk | |
443 | %defattr(644,root,root,755) | |
444 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gtk.so | |
445 | %endif | |
446 | ||
447 | %files plugin-ioctld | |
448 | %defattr(644,root,root,755) | |
449 | %attr(755,root,root) %{_libdir}/%{name}/plugins/ioctld.so | |
450 | %{_datadir}/%{name}/plugins/ioctld | |
451 | %attr(4755,root,root) %{_libexecdir}/ioctld | |
452 | ||
ad0ac3b6 SP |
453 | %files plugin-jogger |
454 | %defattr(644,root,root,755) | |
455 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jogger.so | |
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 | |
461 | %{_datadir}/%{name}/plugins/logsqlite | |
462 | %endif | |
014e3e4a | 463 | |
014e3e4a | 464 | %files plugin-protocol-gg |
b6c3e9c9 | 465 | %defattr(644,root,root,755) |
014e3e4a | 466 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gg.so |
467 | %{_datadir}/%{name}/plugins/gg | |
3b57c420 | 468 | |
c043b1ca JB |
469 | %if %{with libgsm} |
470 | %files plugin-protocol-gsm | |
b6c3e9c9 | 471 | %defattr(644,root,root,755) |
c043b1ca | 472 | %attr(755,root,root) %{_libdir}/%{name}/plugins/gsm.so |
014e3e4a | 473 | %endif |
474 | ||
c3cae937 | 475 | %files plugin-protocol-icq |
476 | %defattr(644,root,root,755) | |
477 | %attr(755,root,root) %{_libdir}/%{name}/plugins/icq.so | |
478 | ||
014e3e4a | 479 | %files plugin-protocol-irc |
b6c3e9c9 | 480 | %defattr(644,root,root,755) |
014e3e4a | 481 | %attr(755,root,root) %{_libdir}/%{name}/plugins/irc.so |
482 | %{_datadir}/%{name}/plugins/irc | |
483 | ||
c043b1ca JB |
484 | %if %{with jabber} |
485 | %files plugin-protocol-jabber | |
b6c3e9c9 | 486 | %defattr(644,root,root,755) |
c043b1ca JB |
487 | %attr(755,root,root) %{_libdir}/%{name}/plugins/jabber.so |
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 | |
ad0ac3b6 | 494 | |
ba6bbffe | 495 | %files plugin-protocol-rivchat |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_libdir}/%{name}/plugins/rivchat.so | |
498 | ||
301d91d7 TP |
499 | %if %{with readline} |
500 | %files plugin-readline | |
b6c3e9c9 | 501 | %defattr(644,root,root,755) |
301d91d7 TP |
502 | %attr(755,root,root) %{_libdir}/%{name}/plugins/readline.so |
503 | %{_datadir}/%{name}/plugins/readline | |
014e3e4a | 504 | %endif |
505 | ||
911936b1 | 506 | %if %{with readline} |
507 | %files plugin-remote | |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/%{name}/plugins/remote.so | |
510 | %endif | |
511 | ||
541b7d39 | 512 | %if %{with perl} |
513 | %files plugin-scripting-perl | |
514 | %defattr(644,root,root,755) | |
515 | %attr(755,root,root) %{_libdir}/%{name}/plugins/perl.so | |
8372a33c | 516 | %{perl_vendorarch}/Ekg2.pm |
517 | %dir %{perl_vendorarch}/Ekg2 | |
518 | %{perl_vendorarch}/Ekg2/Irc.pm | |
519 | %dir %{perl_vendorarch}/auto/Ekg2 | |
520 | %{perl_vendorarch}/auto/Ekg2/Ekg2.bs | |
521 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Ekg2.so | |
522 | %dir %{perl_vendorarch}/auto/Ekg2/Irc | |
523 | %{perl_vendorarch}/auto/Ekg2/Irc/Irc.bs | |
524 | %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Irc/Irc.so | |
045c6391 | 525 | %{_datadir}/%{name}/scripts/*.pl |
541b7d39 | 526 | %endif |
527 | ||
301d91d7 TP |
528 | %if %{with python} |
529 | %files plugin-scripting-python | |
3e0a2d08 | 530 | %defattr(644,root,root,755) |
301d91d7 | 531 | %attr(755,root,root) %{_libdir}/%{name}/plugins/python.so |
045c6391 | 532 | %{_datadir}/%{name}/scripts/*.py |
3f5a546c | 533 | %endif |
3e0a2d08 | 534 | |
c043b1ca | 535 | %files plugin-sim |
b6c3e9c9 | 536 | %defattr(644,root,root,755) |
c043b1ca JB |
537 | %attr(755,root,root) %{_libdir}/%{name}/plugins/sim.so |
538 | %{_datadir}/%{name}/plugins/sim | |
539 | ||
014e3e4a | 540 | %if %{with xosd} |
3b57c420 | 541 | %files plugin-xosd |
542 | %defattr(644,root,root,755) | |
543 | %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.so | |
544 | %{_datadir}/%{name}/plugins/xosd | |
014e3e4a | 545 | %endif |