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