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