]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - cleanup files; move libs to proper packages | |
3 | # - subpackages for | |
4 | # - different protocols (like koptete) | |
5 | # - huge deps (mono...) | |
6 | # - kerberos 4 with zephyr support? | |
7 | # - external zephyr? | |
8 | # http://packages.qa.debian.org/z/zephyr.html | |
9 | # - move mono related files to -libs? | |
10 | # | |
11 | %bcond_without cap # without Contact Availability Prediction | |
12 | %bcond_without dbus # without D-BUS (for pidgin-remote and others) | |
13 | %bcond_without doc # do not generate and include documentation | |
14 | %bcond_with dotnet # build with mono support | |
15 | %bcond_without evolution # compile without the Pidgin-Evolution plugin | |
16 | %bcond_with gnutls # use GnuTLS instead of NSS | |
17 | %bcond_without gtkspell # without gtkspell support | |
18 | %bcond_without meanwhile # without meanwhile support | |
19 | %bcond_without sasl # disable SASL support | |
20 | %bcond_without text # don't build text UI | |
21 | %bcond_without silc # Build without SILC libraries | |
22 | %bcond_without nm # NetworkManager support (requires D-Bus) | |
23 | ||
24 | %if %{without dbus} | |
25 | %undefine with_nm | |
26 | %endif | |
27 | ||
28 | # plain i386 is not supported; mono uses cmpxchg/xadd which require i486 | |
29 | %ifarch i386 | |
30 | %undefine with_dotnet | |
31 | %endif | |
32 | # | |
33 | %include /usr/lib/rpm/macros.perl | |
34 | Summary: A client compatible with AOL's 'Instant Messenger' | |
35 | Summary(de.UTF-8): Pidgin ist ein Instant Messenger | |
36 | Summary(hu.UTF-8): Az AOL 'Instant Messenger'-ével kompatibilis kliens | |
37 | Summary(ko.UTF-8): AOL 인스턴트 메신저와 호환되는 클라이언트 | |
38 | Summary(pl.UTF-8): Klient kompatybilny z AOL Instant Messenger | |
39 | Summary(pt_BR.UTF-8): Um cliente para o AOL Instant Messenger (AIM) | |
40 | Name: pidgin | |
41 | Version: 2.6.1 | |
42 | Release: 1 | |
43 | License: GPL v2+ | |
44 | Group: Applications/Communications | |
45 | Source0: http://dl.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2 | |
46 | # Source0-md5: 306b6b60aefa9c5d5bffb08c576aa955 | |
47 | Patch0: %{name}-nolibs.patch | |
48 | Patch1: %{name}-dbus-dir.patch | |
49 | Patch2: %{name}-libgadu.patch | |
50 | URL: http://www.pidgin.im/ | |
51 | BuildRequires: GConf2-devel >= 2.16.0 | |
52 | %{?with_nm:BuildRequires: NetworkManager-devel} | |
53 | BuildRequires: autoconf >= 2.50 | |
54 | BuildRequires: automake >= 1:1.9 | |
55 | BuildRequires: avahi-devel | |
56 | BuildRequires: avahi-glib-devel | |
57 | BuildRequires: check >= 0.9.4 | |
58 | %{?with_sasl:BuildRequires: cyrus-sasl-devel} | |
59 | %{?with_dbus:BuildRequires: dbus-glib-devel >= 0.71} | |
60 | %{?with_evolution:BuildRequires: evolution-data-server-devel >= 1.8.1} | |
61 | BuildRequires: farsight2-devel | |
62 | BuildRequires: gettext-devel | |
63 | %{?with_gnutls:BuildRequires: gnutls-devel} | |
64 | BuildRequires: gstreamer-devel >= 0.10.10 | |
65 | BuildRequires: gtk+2-devel >= 2:2.10.6 | |
66 | %{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.11} | |
67 | BuildRequires: intltool | |
68 | BuildRequires: libgadu-devel | |
69 | BuildRequires: libtool | |
70 | BuildRequires: libxml2-devel >= 2.6.26 | |
71 | %{?with_meanwhile:BuildRequires: meanwhile-devel >= 1.0.0} | |
72 | %{?with_dotnet:BuildRequires: mono-csharp} | |
73 | %{?with_dotnet:BuildRequires: mono-devel} | |
74 | %{?with_text:BuildRequires: ncurses-ext-devel} | |
75 | %if %{without gnutls} | |
76 | BuildRequires: nspr-devel | |
77 | BuildRequires: nss-devel | |
78 | %endif | |
79 | BuildRequires: perl-devel | |
80 | BuildRequires: pkgconfig | |
81 | BuildRequires: python-modules >= 1:2.4 | |
82 | BuildRequires: rpm-perlprov | |
83 | BuildRequires: rpm-pythonprov | |
84 | BuildRequires: rpmbuild(macros) >= 1.311 | |
85 | %{?with_silc:BuildRequires: silc-toolkit-devel >= 1.1} | |
86 | BuildRequires: startup-notification-devel >= 0.5 | |
87 | BuildRequires: tcl-devel | |
88 | BuildRequires: tk-devel | |
89 | %if %{with cap} | |
90 | BuildRequires: sqlite3-devel >= 3.3 | |
91 | %endif | |
92 | BuildRequires: xorg-lib-libSM-devel | |
93 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
94 | %if %{with doc} | |
95 | BuildRequires: doxygen | |
96 | BuildRequires: graphviz | |
97 | %endif | |
98 | %{?with_sasl:Requires(hint): cyrus-sasl-digest-md5} | |
99 | Requires(post,postun): gtk+2 | |
100 | Requires(post,preun): GConf2 >= 2.16.0 | |
101 | Requires: %{name}-libs = %{version}-%{release} | |
102 | Requires: hicolor-icon-theme | |
103 | Suggests: enchant-myspell | |
104 | Obsoletes: gaim | |
105 | Obsoletes: gaim-ui | |
106 | Obsoletes: gaim-ui-gtk | |
107 | # discontinued gaim plugins | |
108 | Obsoletes: gaim-encryption | |
109 | Obsoletes: gaim-plugin-tlen | |
110 | Obsoletes: gaim-plugin-xmms-remote | |
111 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
112 | ||
113 | %description | |
114 | Pidgin allows you to talk to anyone using AOL's Instant Messenger | |
115 | service (you can sign up at http://www.aim.aol.com). It uses the TOC | |
116 | version of the AOL protocol, so your buddy list is stored on AOL's | |
117 | servers and can be retrieved from anywhere. It contains many of the | |
118 | same features as AOL's IM client while at the same time incorporating | |
119 | many new features. Pidgin also contains a multiple connection feature | |
120 | which consists of protocol plugins. These plugins allow you to use | |
121 | pidgin to connect to other chat services such as Yahoo!, ICQ, MSN, | |
122 | Jabber, Napster, Zephyr, IRC and Gadu-Gadu. | |
123 | ||
124 | %description -l hu.UTF-8 | |
125 | A Pidgin-nel beszélhetsz bárkivel, aki az AOL Instant Messenger | |
126 | szolgáltatását használja (a http://www.aim.aol.com oldalon | |
127 | íratkozhatsz fel). Az AOL protokoll TOC verzióját használja, így a | |
128 | partnerlistád az AOL szerverein tárolják, így bárhonnan hozzáférhetsz. | |
129 | Sok szolgáltatását tartalmazza az AOL IM kliensének, sőt néhány új | |
130 | lehetőséget is tartalmaz. A Pidgin több kapcsolódási lehetőséggel | |
131 | rendelkezik, amely a pluginoknak köszönhető. Ezen pluginok | |
132 | segítségével a következő szerverekhez csatlakozhatsz: Yahoo!, ICQ, | |
133 | MSN, Jabber, Napster, Zephyr, IRC és Gadu-Gadu. | |
134 | ||
135 | %description -l pl.UTF-8 | |
136 | Pidgin pozwala na rozmowy z dowolną osobą używającą usługi AOL Instant | |
137 | Messenger (można się zarejestrować pod adresem | |
138 | http://www.aim.aol.com/). Program używa wersji TOC protokołu AOL więc | |
139 | Twoja lista kontaktów jest zapisana na serwerze AOL i może być | |
140 | przesłana gdziekolwiek. Pidgin zawiera wiele udogodnień dostępnych w | |
141 | kliencie AOL IM jak również dodaje własne. Pidgin umożliwia także | |
142 | dostęp do usług takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, | |
143 | IRC oraz Gadu-Gadu. | |
144 | ||
145 | %description -l pt_BR.UTF-8 | |
146 | Pidgin é um cliente para o AOL Instant Messenger (AIM) que usa o | |
147 | serviço tik/toc da AOL. É desenvolvido ativamente e suporta muitas das | |
148 | características do cliente da AOL, tendo uma interface similiar. | |
149 | Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!, | |
150 | MSN, Jabber e Napster. | |
151 | ||
152 | %description -l de.UTF-8 | |
153 | Pidgin ist ein Instant Messenger der von Mark Spencer ursprünglich für | |
154 | unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch | |
155 | auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen | |
156 | Plugins stark erweitert werden kann. | |
157 | ||
158 | %package libs | |
159 | Summary: Pidgin client library | |
160 | Summary(pl.UTF-8): Biblioteka klienta Pidgina | |
161 | Group: Libraries | |
162 | ||
163 | %description libs | |
164 | Pidgin client library. | |
165 | ||
166 | %description libs -l hu.UTF-8 | |
167 | Pidgin kliens könyvtár. | |
168 | ||
169 | %description libs -l pl.UTF-8 | |
170 | Biblioteka klienta Pidgina. | |
171 | ||
172 | %package devel | |
173 | Summary: Development files for Pidgin client library | |
174 | Summary(pl.UTF-8): Pliki programistyczne biblioteki klienta Pidgina | |
175 | Group: Development/Libraries | |
176 | Requires: %{name}-libs = %{version}-%{release} | |
177 | Requires: gtk+2-devel >= 2:2.10.6 | |
178 | Obsoletes: gaim-devel | |
179 | ||
180 | %description devel | |
181 | Development files for Pidgin. | |
182 | ||
183 | %description devel -l hu.UTF-8 | |
184 | Fejléc fájlok Pidginhez. | |
185 | ||
186 | %description devel -l pl.UTF-8 | |
187 | Pliki programistyczne biblioteki Pidgina. | |
188 | ||
189 | %package perl | |
190 | Summary: Pidgin files for Perl scripts | |
191 | Summary(hu.UTF-8): Pidgin fájlok Perl szkriptekhez | |
192 | Summary(pl.UTF-8): Pliki Pidgina dla skryptów w Perlu | |
193 | Group: Libraries | |
194 | Requires: %{name} = %{version}-%{release} | |
195 | Obsoletes: gaim-perl | |
196 | ||
197 | %description perl | |
198 | This package gives you ability to extend Pidgin functionality with | |
199 | Perl scripts. | |
200 | ||
201 | %description perl -l hu.UTF-8 | |
202 | Ezzel a csomaggal lehetőséged nyílik a Pidgin lehetőségeit bővíteni | |
203 | Perl szkriptekkel. | |
204 | ||
205 | %description perl -l pl.UTF-8 | |
206 | Ten pakiet daje możliwość rozszerzania funkcjonalności Pidgina za | |
207 | pomocą skryptów Perla. | |
208 | ||
209 | %package tcl | |
210 | Summary: Pidgin files for Tcl scripts | |
211 | Summary(hu.UTF-8): Pidgin fájlok Tcl szkriptekhez | |
212 | Summary(pl.UTF-8): Pliki Pidgina dla skryptów w Tcl-u | |
213 | Group: Libraries | |
214 | Requires: %{name} = %{version}-%{release} | |
215 | Obsoletes: gaim-tcl | |
216 | ||
217 | %description tcl | |
218 | This package gives you ability to extend Pidgin functionality with Tcl | |
219 | scripts. | |
220 | ||
221 | %description tcl -l hu.UTF-8 | |
222 | Ezzel a csomaggal lehetőséged nyílik a Pidgin lehetőségeit bővíteni | |
223 | Tcl szkriptekkel. | |
224 | ||
225 | %description tcl -l pl.UTF-8 | |
226 | Ten pakiet daje możliwość rozszerzania funkcjonalności Pidgina za | |
227 | pomocą skryptów w Tcl-u. | |
228 | ||
229 | %package plugin-evolution | |
230 | Summary: Plugin for Ximian Evolution integration | |
231 | Summary(hu.UTF-8): Plugin az Evolution-ba beépítéséhez | |
232 | Summary(pl.UTF-8): Wtyczka do integracji z Evolution | |
233 | Group: Libraries | |
234 | Requires: %{name} = %{version}-%{release} | |
235 | Obsoletes: gaim-plugin-evolution | |
236 | ||
237 | %description plugin-evolution | |
238 | Provides integration with Ximian Evolution. | |
239 | ||
240 | %description plugin-evolution -l hu.UTF-8 | |
241 | Plugin az Evolution-ba beépítéséhez. | |
242 | ||
243 | %description plugin-evolution -l pl.UTF-8 | |
244 | Wtyczka do integracji z Evolution. | |
245 | ||
246 | %package plugin-remote | |
247 | Summary: Pidgin Remote Control | |
248 | Summary(hu.UTF-8): Pidgin távoli irányítása | |
249 | Summary(pl.UTF-8): Zdalne sterowanie Pidginem | |
250 | Group: Libraries | |
251 | Requires: %{name} = %{version}-%{release} | |
252 | Obsoletes: gaim-plugin-remote | |
253 | ||
254 | %description plugin-remote | |
255 | This package gives Pidgin the ability to be remote-controlled through | |
256 | third-party applications or through the pidgin-remote tool. | |
257 | ||
258 | %description plugin-remote -l hu.UTF-8 | |
259 | Ezzel a csomaggal lehetőséged nyílik a Pidgint távolról irányítani | |
260 | külső alkalmazásokkal vagy a pidgin-remote eszközzel. | |
261 | ||
262 | %description plugin-remote -l pl.UTF-8 | |
263 | Ten pakiet daje możliwość zdalnego sterowania Pidginem przez inne | |
264 | aplikacje albo narzędzie pidgin-remote. | |
265 | ||
266 | %package doc | |
267 | Summary: Pidgin documentation for developers (HTML format) | |
268 | Summary(hu.UTF-8): Pidgin dokumentáció fejlesztőknek (HTML formában) | |
269 | Summary(pl.UTF-8): Dokumentacja Pidgina dla programistów (format HTML) | |
270 | Group: Documentation | |
271 | Obsoletes: gaim-doc | |
272 | ||
273 | %description doc | |
274 | Pidgin documentation for developers (HTML format). | |
275 | ||
276 | %description doc -l hu.UTF-8 | |
277 | Pidgin dokumentáció fejlesztőknek (HTML formátumban). | |
278 | ||
279 | %description doc -l pl.UTF-8 | |
280 | Dokumentacja Pidgina dla programistów (format HTML). | |
281 | ||
282 | %prep | |
283 | %setup -q | |
284 | %patch0 -p1 | |
285 | %patch1 -p1 | |
286 | %patch2 -p1 | |
287 | ||
288 | %build | |
289 | %if %{with dotnet} | |
290 | if [ ! -f /proc/cpuinfo ]; then | |
291 | echo >&2 "Mono requires /proc to be mounted." | |
292 | exit 1 | |
293 | fi | |
294 | %endif | |
295 | ||
296 | %{__intltoolize} | |
297 | %{__libtoolize} | |
298 | %{__aclocal} -I m4macros | |
299 | %{__autoheader} | |
300 | %{__autoconf} | |
301 | %{__automake} | |
302 | %configure \ | |
303 | %{!?with_gnutls:--enable-gnutls=no} \ | |
304 | %{?with_gnutls:--enable-nss=no} \ | |
305 | %{?with_doc:--enable-dot --enable-devhelp} \ | |
306 | %{!?with_silc:--with-silc-includes=not_existent_directory} \ | |
307 | --%{?with_cap:en}%{!?with_cap:dis}able-cap \ | |
308 | %{?with_sasl:--enable-cyrus-sasl} \ | |
309 | --%{?with_dbus:en}%{!?with_dbus:dis}able-dbus \ | |
310 | --%{?with_nm:en}%{!?with_nm:dis}able-nm \ | |
311 | --%{?with_evolution:en}%{!?with_evolution:dis}able-gevolution \ | |
312 | %{!?with_gtkspell:--disable-gtkspell} \ | |
313 | %{?with_dotnet:--enable-mono} \ | |
314 | --%{?with_text:en}%{!?with_text:dis}able-consoleui | |
315 | ||
316 | %{__make} | |
317 | %{?with_doc:%{__make} docs} | |
318 | ||
319 | %install | |
320 | rm -rf $RPM_BUILD_ROOT | |
321 | ||
322 | %{__make} install \ | |
323 | DESTDIR=$RPM_BUILD_ROOT | |
324 | ||
325 | rm -f $RPM_BUILD_ROOT%{_libdir}/finch/*.la | |
326 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnt/*.la | |
327 | rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/{,private}/*.la | |
328 | rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/*.la | |
329 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/{ca@valencia,ca_ES@valencian,my_MM} | |
330 | ||
331 | %find_lang %{name} --with-gnome | |
332 | rm -f $RPM_BUILD_ROOT{%{perl_archlib}/perllocal.pod,%{perl_vendorarch}/auto/Pidgin/{,GtkUI}/.packlist} | |
333 | rm -rf $RPM_BUILD_ROOT%{_datadir}/purple/ca-certs | |
334 | ||
335 | %if %{with dbus} | |
336 | rm $RPM_BUILD_ROOT%{_bindir}/purple-client-example | |
337 | %endif | |
338 | ||
339 | %clean | |
340 | rm -rf $RPM_BUILD_ROOT | |
341 | ||
342 | %post | |
343 | %gconf_schema_install purple.schemas | |
344 | %update_icon_cache hicolor | |
345 | ||
346 | %preun | |
347 | %gconf_schema_uninstall purple.schemas | |
348 | ||
349 | %postun | |
350 | %update_icon_cache hicolor | |
351 | ||
352 | %post libs -p /sbin/ldconfig | |
353 | %postun libs -p /sbin/ldconfig | |
354 | ||
355 | %files -f %{name}.lang | |
356 | %defattr(644,root,root,755) | |
357 | %doc AUTHORS ChangeLog{,.API} HACKING NEWS PLUGIN_HOWTO README* | |
358 | %attr(755,root,root) %{_bindir}/pidgin | |
359 | %dir %{_libdir}/pidgin | |
360 | %attr(755,root,root) %{_libdir}/purple-2/autoaccept.so | |
361 | %attr(755,root,root) %{_libdir}/purple-2/buddynote.so | |
362 | %if %{with cap} | |
363 | %attr(755,root,root) %{_libdir}/pidgin/cap.so | |
364 | %endif | |
365 | %if %{with dotnet} | |
366 | %attr(755,root,root) %{_libdir}/purple-2/*.dll | |
367 | %attr(755,root,root) %{_libdir}/purple-2/mono.so | |
368 | %endif | |
369 | %attr(755,root,root) %{_libdir}/pidgin/convcolors.so | |
370 | %attr(755,root,root) %{_libdir}/pidgin/extplacement.so | |
371 | %attr(755,root,root) %{_libdir}/pidgin/pidginrc.so | |
372 | %attr(755,root,root) %{_libdir}/pidgin/gestures.so | |
373 | %attr(755,root,root) %{_libdir}/pidgin/gtkbuddynote.so | |
374 | %attr(755,root,root) %{_libdir}/pidgin/history.so | |
375 | %attr(755,root,root) %{_libdir}/pidgin/iconaway.so | |
376 | %attr(755,root,root) %{_libdir}/pidgin/markerline.so | |
377 | %attr(755,root,root) %{_libdir}/pidgin/notify.so | |
378 | %attr(755,root,root) %{_libdir}/pidgin/relnot.so | |
379 | %attr(755,root,root) %{_libdir}/pidgin/spellchk.so | |
380 | %attr(755,root,root) %{_libdir}/pidgin/ticker.so | |
381 | %attr(755,root,root) %{_libdir}/pidgin/timestamp.so | |
382 | %attr(755,root,root) %{_libdir}/pidgin/timestamp_format.so | |
383 | %attr(755,root,root) %{_libdir}/pidgin/xmppconsole.so | |
384 | %attr(755,root,root) %{_libdir}/pidgin/sendbutton.so | |
385 | %{_libdir}/pidgin/themeedit.so | |
386 | %{_libdir}/pidgin/xmppdisco.so | |
387 | %if %{with text} | |
388 | %attr(755,root,root) %{_bindir}/finch | |
389 | %dir %{_libdir}/finch | |
390 | %attr(755,root,root) %{_libdir}/finch/gntclipboard.so | |
391 | %attr(755,root,root) %{_libdir}/finch/gntgf.so | |
392 | %attr(755,root,root) %{_libdir}/finch/gnthistory.so | |
393 | %attr(755,root,root) %{_libdir}/finch/gntlastlog.so | |
394 | %attr(755,root,root) %{_libdir}/finch/grouping.so | |
395 | %dir %{_libdir}/gnt | |
396 | %attr(755,root,root) %{_libdir}/gnt/*.so | |
397 | %attr(755,root,root) %{_libdir}/finch/gnttinyurl.so | |
398 | %endif | |
399 | %dir %{_libdir}/purple-2 | |
400 | %{?with_dbus:%attr(755,root,root) %{_libdir}/purple-2/dbus-example.so} | |
401 | %attr(755,root,root) %{_libdir}/purple-2/idle.so | |
402 | %attr(755,root,root) %{_libdir}/purple-2/joinpart.so | |
403 | %attr(755,root,root) %{_libdir}/purple-2/libaim.so | |
404 | %attr(755,root,root) %{_libdir}/purple-2/libbonjour.so | |
405 | %attr(755,root,root) %{_libdir}/purple-2/libgg.so | |
406 | %attr(755,root,root) %{_libdir}/purple-2/libicq.so | |
407 | %attr(755,root,root) %{_libdir}/purple-2/libirc.so | |
408 | %attr(755,root,root) %{_libdir}/purple-2/libjabber.so.* | |
409 | %attr(755,root,root) %{_libdir}/purple-2/libmsn.so | |
410 | %attr(755,root,root) %{_libdir}/purple-2/libmyspace.so | |
411 | %attr(755,root,root) %{_libdir}/purple-2/libnovell.so | |
412 | %attr(755,root,root) %{_libdir}/purple-2/liboscar.so.* | |
413 | %attr(755,root,root) %{_libdir}/purple-2/libqq.so | |
414 | %attr(755,root,root) %{_libdir}/purple-2/libjabber.so | |
415 | %attr(755,root,root) %{_libdir}/purple-2/liboscar.so | |
416 | ||
417 | %{?with_meanwhile:%attr(755,root,root) %{_libdir}/purple-2/libsametime.so} | |
418 | %{?with_silc:%attr(755,root,root) %{_libdir}/purple-2/libsilcpurple.so} | |
419 | %attr(755,root,root) %{_libdir}/purple-2/libsimple.so | |
420 | %attr(755,root,root) %{_libdir}/purple-2/libxmpp.so | |
421 | %attr(755,root,root) %{_libdir}/purple-2/libyahoo.so | |
422 | %attr(755,root,root) %{_libdir}/purple-2/libzephyr.so | |
423 | %{_libdir}/purple-2/libyahoojp.so | |
424 | %{_libdir}/purple-2/libymsg.so | |
425 | %{_libdir}/purple-2/libymsg.so.0 | |
426 | %{_libdir}/purple-2/libymsg.so.0.0.0 | |
427 | %attr(755,root,root) %{_libdir}/purple-2/log_reader.so | |
428 | %attr(755,root,root) %{_libdir}/purple-2/newline.so | |
429 | %attr(755,root,root) %{_libdir}/purple-2/offlinemsg.so | |
430 | %attr(755,root,root) %{_libdir}/purple-2/psychic.so | |
431 | %{?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-gnutls.so} | |
432 | %{!?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-nss.so} | |
433 | %attr(755,root,root) %{_libdir}/purple-2/ssl.so | |
434 | %attr(755,root,root) %{_libdir}/purple-2/statenotify.so | |
435 | %if %{with dbus} | |
436 | %attr(755,root,root) %{_bindir}/purple-url-handler | |
437 | %attr(755,root,root) %{_bindir}/purple-send | |
438 | %attr(755,root,root) %{_bindir}/purple-send-async | |
439 | %attr(755,root,root) %{_libdir}/pidgin/musicmessaging.so | |
440 | %endif | |
441 | %{_sysconfdir}/gconf/schemas/purple.schemas | |
442 | %{_datadir}/sounds/purple | |
443 | %{_mandir}/man?/* | |
444 | ||
445 | %{_desktopdir}/pidgin.desktop | |
446 | %{_pixmapsdir}/* | |
447 | %{_iconsdir}/hicolor/*/apps/pidgin.* | |
448 | ||
449 | %files libs | |
450 | %defattr(644,root,root,755) | |
451 | %attr(755,root,root) %{_libdir}/libpurple.so.*.*.* | |
452 | %attr(755,root,root) %ghost %{_libdir}/libpurple.so.0 | |
453 | %if %{with dbus} | |
454 | %attr(755,root,root) %{_libdir}/libpurple-client.so.*.*.* | |
455 | %attr(755,root,root) %ghost %{_libdir}/libpurple-client.so.0 | |
456 | %endif | |
457 | %if %{with text} | |
458 | %attr(755,root,root) %{_libdir}/libgnt.so.*.*.* | |
459 | %attr(755,root,root) %ghost %{_libdir}/libgnt.so.0 | |
460 | %endif | |
461 | ||
462 | %files devel | |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_libdir}/libpurple.so | |
465 | %{_libdir}/libpurple.la | |
466 | %{_includedir}/libpurple | |
467 | %{_includedir}/pidgin | |
468 | %{_pkgconfigdir}/pidgin.pc | |
469 | %{_pkgconfigdir}/purple.pc | |
470 | %{_aclocaldir}/purple.m4 | |
471 | %if %{with dbus} | |
472 | %attr(755,root,root) %{_libdir}/libpurple-client.so | |
473 | %{_libdir}/libpurple-client.la | |
474 | %endif | |
475 | %if %{with text} | |
476 | %attr(755,root,root) %{_libdir}/libgnt.so | |
477 | %{_libdir}/libgnt.la | |
478 | %{_includedir}/finch | |
479 | %{_includedir}/gnt | |
480 | %{_pkgconfigdir}/finch.pc | |
481 | %{_pkgconfigdir}/gnt.pc | |
482 | %endif | |
483 | ||
484 | %files perl | |
485 | %defattr(644,root,root,755) | |
486 | %attr(755,root,root) %{_libdir}/purple-2/perl.so | |
487 | %{_libdir}/pidgin/perl/*.pm | |
488 | %dir %{_libdir}/pidgin/perl/auto/Pidgin | |
489 | %{_libdir}/pidgin/perl/auto/Pidgin/*.bs | |
490 | %attr(755,root,root) %{_libdir}/pidgin/perl/auto/Pidgin/*.so | |
491 | %{_libdir}/purple-2/perl/*.pm | |
492 | %dir %{_libdir}/purple-2/perl/auto | |
493 | %dir %{_libdir}/purple-2/perl/auto/Purple | |
494 | %{_libdir}/purple-2/perl/auto/Purple/*.bs | |
495 | %{_libdir}/purple-2/perl/auto/Purple/*.ix | |
496 | %attr(755,root,root) %{_libdir}/purple-2/perl/auto/Purple/*.so | |
497 | ||
498 | %files tcl | |
499 | %defattr(644,root,root,755) | |
500 | %attr(755,root,root) %{_libdir}/purple-2/tcl.so | |
501 | ||
502 | %if %{with evolution} | |
503 | %files plugin-evolution | |
504 | %defattr(644,root,root,755) | |
505 | %attr(755,root,root) %{_libdir}/pidgin/gevolution.so | |
506 | %endif | |
507 | ||
508 | %if %{with dbus} | |
509 | %files plugin-remote | |
510 | %defattr(644,root,root,755) | |
511 | %attr(755,root,root) %{_bindir}/purple-remote | |
512 | %endif | |
513 | ||
514 | %if %{with doc} | |
515 | %files doc | |
516 | %defattr(644,root,root,755) | |
517 | %doc doc/html/*.{html,png,css} | |
518 | %endif |