]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - subpackages for | |
3 | # - huge deps (mono...) | |
4 | # - kerberos 4 with zephyr support? | |
5 | # - external zephyr? | |
6 | # http://packages.qa.debian.org/z/zephyr.html | |
7 | # - update pl descriptions | |
8 | # - restore e-d-s if http://developer.pidgin.im/ticket/10852 fixed | |
9 | # | |
10 | %bcond_without cap # without Contact Availability Prediction | |
11 | %bcond_without dbus # without D-BUS (for pidgin-remote and others) | |
12 | %bcond_without doc # do not generate and include documentation | |
13 | %bcond_with dotnet # build with mono support | |
14 | %bcond_with evolution # compile without the Pidgin-Evolution plugin | |
15 | %bcond_with gnutls # use GnuTLS instead of NSS | |
16 | %bcond_without gtkspell # without gtkspell support | |
17 | %bcond_without meanwhile # without meanwhile support | |
18 | %bcond_without sasl # disable SASL support | |
19 | %bcond_without text # don't build text UI (finch) | |
20 | %bcond_without silc # Build without SILC libraries | |
21 | %bcond_without nm # NetworkManager support (requires D-Bus) | |
22 | ||
23 | %if %{without dbus} | |
24 | %undefine with_nm | |
25 | %endif | |
26 | ||
27 | # plain i386 is not supported; mono uses cmpxchg/xadd which require i486 | |
28 | %ifarch i386 | |
29 | %undefine with_dotnet | |
30 | %endif | |
31 | ||
32 | %define gtk2_ver 2.10.6 | |
33 | %define glib2_ver 2.24.0 | |
34 | ||
35 | %include /usr/lib/rpm/macros.perl | |
36 | Summary: A Gtk+ based multiprotocol instant messaging client | |
37 | Summary(de.UTF-8): Pidgin ist ein Instant Messenger | |
38 | Summary(hu.UTF-8): Az AOL 'Instant Messenger'-ével kompatibilis kliens | |
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) | |
42 | Name: pidgin | |
43 | Version: 2.7.2 | |
44 | Release: 1 | |
45 | License: GPL v2+ | |
46 | Group: Applications/Communications | |
47 | Source0: http://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2 | |
48 | # Source0-md5: c23d85bb6a197dd841d1b5585148327d | |
49 | Patch0: %{name}-nolibs.patch | |
50 | Patch1: %{name}-dbus-dir.patch | |
51 | # Patch2: %{name}-libgadu.patch | |
52 | URL: http://www.pidgin.im/ | |
53 | BuildRequires: GConf2 | |
54 | BuildRequires: GConf2-devel >= 2.16.0 | |
55 | %{?with_nm:BuildRequires: NetworkManager-devel} | |
56 | BuildRequires: autoconf >= 2.50 | |
57 | BuildRequires: automake >= 1:1.9 | |
58 | BuildRequires: avahi-devel | |
59 | BuildRequires: avahi-glib-devel | |
60 | BuildRequires: check >= 0.9.4 | |
61 | %{?with_sasl:BuildRequires: cyrus-sasl-devel} | |
62 | %{?with_dbus:BuildRequires: dbus-glib-devel >= 0.71} | |
63 | %{?with_evolution:BuildRequires: evolution-data-server-devel >= 1.8.1} | |
64 | BuildRequires: farsight2-devel | |
65 | BuildRequires: gettext-devel | |
66 | BuildRequires: glib2-devel >= 1:%{glib2_ver} | |
67 | %{?with_gnutls:BuildRequires: gnutls-devel} | |
68 | BuildRequires: gstreamer-devel >= 0.10.10 | |
69 | BuildRequires: gtk+2-devel >= 2:%{gtk2_ver} | |
70 | %{?with_gtkspell:BuildRequires: gtkspell-devel >= 1:2.0.16-2} | |
71 | BuildRequires: intltool | |
72 | BuildRequires: libgadu-devel | |
73 | BuildRequires: libidn-devel | |
74 | BuildRequires: libtool | |
75 | BuildRequires: libxml2-devel >= 2.6.26 | |
76 | %{?with_meanwhile:BuildRequires: meanwhile-devel >= 1.0.0} | |
77 | %{?with_dotnet:BuildRequires: mono-csharp} | |
78 | %{?with_dotnet:BuildRequires: mono-devel} | |
79 | %{?with_text:BuildRequires: ncurses-ext-devel} | |
80 | %if %{without gnutls} | |
81 | BuildRequires: nspr-devel | |
82 | BuildRequires: nss-devel | |
83 | %endif | |
84 | BuildRequires: perl-devel | |
85 | BuildRequires: pkgconfig | |
86 | BuildRequires: python-modules >= 1:2.4 | |
87 | BuildRequires: rpm-perlprov | |
88 | BuildRequires: rpm-pythonprov | |
89 | BuildRequires: rpmbuild(macros) >= 1.311 | |
90 | %{?with_silc:BuildRequires: silc-toolkit-devel >= 1.1} | |
91 | BuildRequires: startup-notification-devel >= 0.5 | |
92 | BuildRequires: tcl-devel | |
93 | BuildRequires: tk-devel | |
94 | %if %{with cap} | |
95 | BuildRequires: sqlite3-devel >= 3.3 | |
96 | %endif | |
97 | BuildRequires: xorg-lib-libSM-devel | |
98 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
99 | %if %{with doc} | |
100 | BuildRequires: doxygen | |
101 | BuildRequires: graphviz | |
102 | %endif | |
103 | Requires(post,postun): gtk+2 | |
104 | Requires(post,preun): GConf2 >= 2.16.0 | |
105 | Requires: hicolor-icon-theme | |
106 | Requires: libpurple = %{version}-%{release} | |
107 | Requires: libpurple-protocol | |
108 | Suggests: enchant-myspell | |
109 | Obsoletes: gaim | |
110 | Obsoletes: gaim-ui | |
111 | Obsoletes: gaim-ui-gtk | |
112 | # discontinued gaim plugins | |
113 | Obsoletes: gaim-encryption | |
114 | Obsoletes: gaim-plugin-tlen | |
115 | Obsoletes: gaim-plugin-xmms-remote | |
116 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
117 | ||
118 | %description | |
119 | Pidgin allows you to talk to anyone using a variety of messaging | |
120 | protocols including AIM, MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu, | |
121 | ICQ, IRC, Novell Groupwise, QQ, Lotus Sametime, SILC, Simple and | |
122 | Zephyr. | |
123 | ||
124 | The protocol plugins are packaged as libpurple-protocol-foo. | |
125 | ||
126 | Pidgin supports many common features of other clients, as well as many | |
127 | unique features, such as perl scripting, TCL scripting and C plugins. | |
128 | ||
129 | Pidgin is not affiliated with or endorsed by America Online, Inc., | |
130 | Microsoft Corporation, Yahoo! Inc., or ICQ Inc. | |
131 | ||
132 | %description -l hu.UTF-8 | |
133 | A Pidgin-nel beszélhetsz bárkivel, aki az AOL Instant Messenger | |
134 | szolgáltatását használja (a http://www.aim.aol.com oldalon | |
135 | íratkozhatsz fel). Az AOL protokoll TOC verzióját használja, így a | |
136 | partnerlistád az AOL szerverein tárolják, így bárhonnan hozzáférhetsz. | |
137 | Sok szolgáltatását tartalmazza az AOL IM kliensének, sőt néhány új | |
138 | lehetőséget is tartalmaz. A Pidgin több kapcsolódási lehetőséggel | |
139 | rendelkezik, amely a pluginoknak köszönhető. Ezen pluginok | |
140 | segítségével a következő szerverekhez csatlakozhatsz: Yahoo!, ICQ, | |
141 | MSN, Jabber, Napster, Zephyr, IRC és Gadu-Gadu. | |
142 | ||
143 | A protokollokat a libpurple-protocol-foo csomagok szállítják. | |
144 | ||
145 | %description -l pl.UTF-8 | |
146 | Pidgin pozwala na rozmowy z dowolną osobą używającą usługi AOL Instant | |
147 | Messenger (można się zarejestrować pod adresem | |
148 | http://www.aim.aol.com/). Program używa wersji TOC protokołu AOL więc | |
149 | Twoja lista kontaktów jest zapisana na serwerze AOL i może być | |
150 | przesłana gdziekolwiek. Pidgin zawiera wiele udogodnień dostępnych w | |
151 | kliencie AOL IM jak również dodaje własne. Pidgin umożliwia także | |
152 | dostęp do usług takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, | |
153 | IRC oraz Gadu-Gadu. | |
154 | ||
155 | %description -l pt_BR.UTF-8 | |
156 | Pidgin é um cliente para o AOL Instant Messenger (AIM) que usa o | |
157 | serviço tik/toc da AOL. É desenvolvido ativamente e suporta muitas das | |
158 | características do cliente da AOL, tendo uma interface similiar. | |
159 | Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!, | |
160 | MSN, Jabber e Napster. | |
161 | ||
162 | %description -l de.UTF-8 | |
163 | Pidgin ist ein Instant Messenger der von Mark Spencer ursprünglich für | |
164 | unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch | |
165 | auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen | |
166 | Plugins stark erweitert werden kann. | |
167 | ||
168 | %package devel | |
169 | Summary: Development files for Pidgin client library | |
170 | Summary(pl.UTF-8): Pliki programistyczne biblioteki klienta Pidgina | |
171 | Group: Development/Libraries | |
172 | Requires: gtk+2-devel >= 2:%{gtk2_ver} | |
173 | Requires: libpurple-devel = %{version}-%{release} | |
174 | Obsoletes: gaim-devel | |
175 | ||
176 | %description devel | |
177 | Development files for Pidgin. | |
178 | ||
179 | %description devel -l hu.UTF-8 | |
180 | Fejléc fájlok Pidginhez. | |
181 | ||
182 | %description devel -l pl.UTF-8 | |
183 | Pliki programistyczne biblioteki Pidgina. | |
184 | ||
185 | %package -n libpurple | |
186 | Summary: libpurple library for IM clients like Pidgin and Finch | |
187 | Group: Applications/Networking | |
188 | %{?with_sasl:Requires: cyrus-sasl-digest-md5} | |
189 | %{?with_sasl:Requires: cyrus-sasl-plain} | |
190 | Requires: glib2 >= 1:%{glib2_ver} | |
191 | Obsoletes: libpurple-protocol-dir < 2.6.6-2 | |
192 | Obsoletes: pidgin-libs < 2.6.6-2 | |
193 | ||
194 | %description -n libpurple | |
195 | libpurple contains the core IM support for IM clients such as Pidgin | |
196 | and Finch. | |
197 | ||
198 | libpurple supports a variety of messaging protocols including AIM, | |
199 | MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu, ICQ, IRC, Novell Groupwise, | |
200 | QQ, Lotus Sametime, SILC, Simple and Zephyr. | |
201 | ||
202 | %package -n libpurple-devel | |
203 | Summary: Development headers, documentation, and libraries for libpurple | |
204 | Group: Applications/Networking | |
205 | Requires: libpurple = %{version}-%{release} | |
206 | %if %{with dbus} | |
207 | Requires: dbus-devel >= 0.60 | |
208 | %endif | |
209 | Requires: dbus-glib-devel >= 0.70 | |
210 | Obsoletes: pidgin-devel < 2.6.6-2 | |
211 | ||
212 | %description -n libpurple-devel | |
213 | The libpurple-devel package contains the header files, developer | |
214 | documentation, and libraries required for development of libpurple | |
215 | based instant messaging clients or plugins for any libpurple based | |
216 | client. | |
217 | ||
218 | %package -n libpurple-perl | |
219 | Summary: Perl scripting support for libpurple | |
220 | Group: Applications/Networking | |
221 | Requires: libpurple = %{version}-%{release} | |
222 | ||
223 | %description -n libpurple-perl | |
224 | Perl plugin loader for libpurple. This package will allow you to write | |
225 | or use libpurple plugins written in the Perl programming language. | |
226 | ||
227 | %package -n libpurple-tcl | |
228 | Summary: Tcl scripting support for libpurple | |
229 | Summary(hu.UTF-8): Pidgin fájlok Tcl szkriptekhez | |
230 | Summary(pl.UTF-8): Pliki Pidgina dla skryptów w Tcl-u | |
231 | Group: Libraries | |
232 | Requires: libpurple = %{version}-%{release} | |
233 | Obsoletes: gaim-tcl | |
234 | Obsoletes: pidgin-tcl | |
235 | ||
236 | %description -n libpurple-tcl | |
237 | Tcl plugin loader for libpurple. This package will allow you to write | |
238 | or use libpurple plugins written in the Tcl programming language. | |
239 | ||
240 | %description -n libpurple-tcl -l hu.UTF-8 | |
241 | Ezzel a csomaggal lehetőséged nyílik a Pidgin lehetőségeit bővíteni | |
242 | Tcl szkriptekkel. | |
243 | ||
244 | %description -n libpurple-tcl -l pl.UTF-8 | |
245 | Ten pakiet daje możliwość rozszerzania funkcjonalności Pidgina za | |
246 | pomocą skryptów w Tcl-u. | |
247 | ||
248 | %package -n finch | |
249 | Summary: A text-based user interface for Pidgin | |
250 | Group: Applications/Networking | |
251 | Requires: libpurple = %{version}-%{release} | |
252 | ||
253 | %description -n finch | |
254 | A text-based user interface for using libpurple. This can be run from | |
255 | a standard text console or from a terminal within X Windows. It uses | |
256 | ncurses and our homegrown gnt library for drawing windows and text. | |
257 | ||
258 | %package -n finch-devel | |
259 | Summary: Headers etc. for finch stuffs | |
260 | Group: Applications/Networking | |
261 | Requires: finch = %{version}-%{release} | |
262 | Requires: libpurple-devel = %{version}-%{release} | |
263 | Requires: ncurses-devel | |
264 | Requires: pkgconfig | |
265 | ||
266 | %description -n finch-devel | |
267 | The finch-devel package contains the header files, developer | |
268 | documentation, and libraries required for development of Finch scripts | |
269 | and plugins. | |
270 | ||
271 | %package perl | |
272 | Summary: Pidgin files for Perl scripts | |
273 | Summary(hu.UTF-8): Pidgin fájlok Perl szkriptekhez | |
274 | Summary(pl.UTF-8): Pliki Pidgina dla skryptów w Perlu | |
275 | Group: Libraries | |
276 | Requires: libpurple = %{version}-%{release} | |
277 | Requires: libpurple-perl = %{version}-%{release} | |
278 | Obsoletes: gaim-perl | |
279 | ||
280 | %description perl | |
281 | This package gives you ability to extend Pidgin functionality with | |
282 | Perl scripts. | |
283 | ||
284 | %description perl -l hu.UTF-8 | |
285 | Ezzel a csomaggal lehetőséged nyílik a Pidgin lehetőségeit bővíteni | |
286 | Perl szkriptekkel. | |
287 | ||
288 | %description perl -l pl.UTF-8 | |
289 | Ten pakiet daje możliwość rozszerzania funkcjonalności Pidgina za | |
290 | pomocą skryptów Perla. | |
291 | ||
292 | %package plugin-evolution | |
293 | Summary: Plugin for Ximian Evolution integration | |
294 | Summary(hu.UTF-8): Plugin az Evolution-ba beépítéséhez | |
295 | Summary(pl.UTF-8): Wtyczka do integracji z Evolution | |
296 | Group: Libraries | |
297 | Requires: %{name} = %{version}-%{release} | |
298 | Obsoletes: gaim-plugin-evolution | |
299 | ||
300 | %description plugin-evolution | |
301 | Provides integration with Ximian Evolution. | |
302 | ||
303 | %description plugin-evolution -l hu.UTF-8 | |
304 | Plugin az Evolution-ba beépítéséhez. | |
305 | ||
306 | %description plugin-evolution -l pl.UTF-8 | |
307 | Wtyczka do integracji z Evolution. | |
308 | ||
309 | %package plugin-remote | |
310 | Summary: Pidgin Remote Control | |
311 | Summary(hu.UTF-8): Pidgin távoli irányítása | |
312 | Summary(pl.UTF-8): Zdalne sterowanie Pidginem | |
313 | Group: Libraries | |
314 | Requires: %{name} = %{version}-%{release} | |
315 | Obsoletes: gaim-plugin-remote | |
316 | ||
317 | %description plugin-remote | |
318 | This package gives Pidgin the ability to be remote-controlled through | |
319 | third-party applications or through the pidgin-remote tool. | |
320 | ||
321 | %description plugin-remote -l hu.UTF-8 | |
322 | Ezzel a csomaggal lehetőséged nyílik a Pidgint távolról irányítani | |
323 | külső alkalmazásokkal vagy a pidgin-remote eszközzel. | |
324 | ||
325 | %description plugin-remote -l pl.UTF-8 | |
326 | Ten pakiet daje możliwość zdalnego sterowania Pidginem przez inne | |
327 | aplikacje albo narzędzie pidgin-remote. | |
328 | ||
329 | %package -n libpurple-protocol-oscar | |
330 | Summary: Oscar protocol (AIM/ICQ Networks) support for Purple | |
331 | Group: Applications/Communications | |
332 | Requires: libpurple = %{version}-%{release} | |
333 | Provides: libpurple-protocol | |
334 | Obsoletes: libpurple-protocol-aim | |
335 | Obsoletes: libpurple-protocol-icq | |
336 | ||
337 | %description -n libpurple-protocol-oscar | |
338 | Oscar protocol (AIM/ICQ Networks) support for Purple. | |
339 | ||
340 | %package -n libpurple-protocol-bonjour | |
341 | Summary: Bonjour Protocol Plugin | |
342 | Group: Applications/Communications | |
343 | Requires: libpurple = %{version}-%{release} | |
344 | Provides: libpurple-protocol | |
345 | ||
346 | %description -n libpurple-protocol-bonjour | |
347 | Bonjour Protocol Plugin. | |
348 | ||
349 | %package -n libpurple-protocol-gg | |
350 | Summary: Gadu-Gadu protocol plugin | |
351 | Group: Applications/Communications | |
352 | Requires: libpurple = %{version}-%{release} | |
353 | Provides: libpurple-protocol | |
354 | ||
355 | %description -n libpurple-protocol-gg | |
356 | Gadu-Gadu protocol plugin | |
357 | ||
358 | %package -n libpurple-protocol-groupwise | |
359 | Summary: Novell GroupWise Messenger Protocol Plugin | |
360 | Group: Applications/Communications | |
361 | Requires: libpurple = %{version}-%{release} | |
362 | Provides: libpurple-protocol | |
363 | ||
364 | %description -n libpurple-protocol-groupwise | |
365 | Novell GroupWise Messenger Protocol Plugin. | |
366 | ||
367 | %package -n libpurple-protocol-irc | |
368 | Summary: IRC Protocol Plugin | |
369 | Group: Applications/Communications | |
370 | Requires: libpurple = %{version}-%{release} | |
371 | Provides: libpurple-protocol | |
372 | ||
373 | %description -n libpurple-protocol-irc | |
374 | IRC Protocol Plugin. | |
375 | ||
376 | %package -n libpurple-protocol-msn | |
377 | Summary: MSN Protocol Plugin | |
378 | Group: Applications/Communications | |
379 | Requires: libpurple = %{version}-%{release} | |
380 | Provides: libpurple-protocol | |
381 | ||
382 | %description -n libpurple-protocol-msn | |
383 | MSN Protocol Plugin. | |
384 | ||
385 | %package -n libpurple-protocol-mxit | |
386 | Summary: MXit Protocol Plugin | |
387 | Group: Applications/Communications | |
388 | URL: http://www.mxitlifestyle.com/ | |
389 | Requires: libpurple = %{version}-%{release} | |
390 | Provides: libpurple-protocol | |
391 | Obsoletes: libpurple-protocol-mtix | |
392 | ||
393 | %description -n libpurple-protocol-mxit | |
394 | MXit Protocol Plugin. | |
395 | ||
396 | %package -n libpurple-protocol-myspace | |
397 | Summary: MySpaceIM Protocol Plugin | |
398 | Group: Applications/Communications | |
399 | URL: http://developer.pidgin.im/wiki/MySpaceIM | |
400 | Requires: libpurple = %{version}-%{release} | |
401 | Provides: libpurple-protocol | |
402 | ||
403 | %description -n libpurple-protocol-myspace | |
404 | MySpaceIM Protocol Plugin. | |
405 | ||
406 | %package -n libpurple-protocol-simple | |
407 | Summary: SIP/SIMPLE Protocol Plugin | |
408 | Group: Applications/Communications | |
409 | Requires: libpurple = %{version}-%{release} | |
410 | Provides: libpurple-protocol | |
411 | ||
412 | %description -n libpurple-protocol-simple | |
413 | SIP/SIMPLE Protocol Plugin. | |
414 | ||
415 | %package -n libpurple-protocol-qq | |
416 | Summary: QQ Protocol Plugin | |
417 | Group: Applications/Communications | |
418 | Requires: libpurple = %{version}-%{release} | |
419 | Provides: libpurple-protocol | |
420 | ||
421 | %description -n libpurple-protocol-qq | |
422 | QQ Protocol Plugin. | |
423 | ||
424 | %package -n libpurple-protocol-sametime | |
425 | Summary: Lotus Sametime Protocol Plugin | |
426 | Group: Applications/Communications | |
427 | URL: http://meanwhile.sourceforge.net/ | |
428 | Requires: libpurple = %{version}-%{release} | |
429 | Provides: libpurple-protocol | |
430 | ||
431 | %description -n libpurple-protocol-sametime | |
432 | Adds Lotus Sametime support to Purple using the Meanwhile library. | |
433 | ||
434 | %package -n libpurple-protocol-silc | |
435 | Summary: SILC Protocol Plugin | |
436 | Group: Applications/Communications | |
437 | URL: http://silcnet.org/ | |
438 | Requires: libpurple = %{version}-%{release} | |
439 | Provides: libpurple-protocol | |
440 | ||
441 | %description -n libpurple-protocol-silc | |
442 | Secure Internet Live Conferencing (SILC) Protocol | |
443 | ||
444 | %package -n libpurple-protocol-yahoo | |
445 | Summary: Yahoo! Protocol Plugin | |
446 | Group: Applications/Communications | |
447 | Requires: libpurple = %{version}-%{release} | |
448 | Provides: libpurple-protocol | |
449 | ||
450 | %description -n libpurple-protocol-yahoo | |
451 | Yahoo! and Yahoo! JAPAN Protocol Plugin. | |
452 | ||
453 | %package -n libpurple-protocol-xmpp | |
454 | Summary: XMPP Protocol Plugin (Jabber, GTalk) | |
455 | Group: Applications/Communications | |
456 | Requires: libpurple = %{version}-%{release} | |
457 | Provides: libpurple-protocol | |
458 | Obsoletes: libpurple-protocol-jabber | |
459 | ||
460 | %description -n libpurple-protocol-xmpp | |
461 | Extensible Messaging and Presence Protocol (XMPP) Protocol Plugin | |
462 | (e.g. Jabber, GTalk). | |
463 | ||
464 | %package -n libpurple-protocol-zephyr | |
465 | Summary: Zephyr Protocol Plugin | |
466 | Group: Applications/Communications | |
467 | Requires: libpurple = %{version}-%{release} | |
468 | Provides: libpurple-protocol | |
469 | ||
470 | %description -n libpurple-protocol-zephyr | |
471 | Zephyr Protocol Plugin. | |
472 | ||
473 | %package doc | |
474 | Summary: Pidgin documentation for developers (HTML format) | |
475 | Summary(hu.UTF-8): Pidgin dokumentáció fejlesztőknek (HTML formában) | |
476 | Summary(pl.UTF-8): Dokumentacja Pidgina dla programistów (format HTML) | |
477 | Group: Documentation | |
478 | Obsoletes: gaim-doc | |
479 | ||
480 | %description doc | |
481 | Pidgin documentation for developers (HTML format). | |
482 | ||
483 | %description doc -l hu.UTF-8 | |
484 | Pidgin dokumentáció fejlesztőknek (HTML formátumban). | |
485 | ||
486 | %description doc -l pl.UTF-8 | |
487 | Dokumentacja Pidgina dla programistów (format HTML). | |
488 | ||
489 | %prep | |
490 | %setup -q | |
491 | %patch0 -p1 | |
492 | %patch1 -p1 | |
493 | # %patch2 -p1 | |
494 | ||
495 | %build | |
496 | %if %{with dotnet} | |
497 | if [ ! -f /proc/cpuinfo ]; then | |
498 | echo >&2 "Mono requires /proc to be mounted." | |
499 | exit 1 | |
500 | fi | |
501 | %endif | |
502 | ||
503 | # %{__intltoolize} | |
504 | %{__libtoolize} | |
505 | %{__aclocal} -I m4macros | |
506 | %{__autoheader} | |
507 | %{__autoconf} | |
508 | %{__automake} | |
509 | %configure \ | |
510 | %{!?with_gnutls:--enable-gnutls=no} \ | |
511 | %{?with_gnutls:--enable-nss=no} \ | |
512 | %{?with_doc:--enable-dot --enable-devhelp} \ | |
513 | %{!?with_silc:--with-silc-includes=not_existent_directory} \ | |
514 | --%{?with_cap:en}%{!?with_cap:dis}able-cap \ | |
515 | %{?with_sasl:--enable-cyrus-sasl} \ | |
516 | --%{?with_dbus:en}%{!?with_dbus:dis}able-dbus \ | |
517 | --%{?with_nm:en}%{!?with_nm:dis}able-nm \ | |
518 | --%{?with_evolution:en}%{!?with_evolution:dis}able-gevolution \ | |
519 | %{!?with_gtkspell:--disable-gtkspell} \ | |
520 | %{?with_dotnet:--enable-mono} \ | |
521 | --%{?with_text:en}%{!?with_text:dis}able-consoleui | |
522 | ||
523 | %{__make} | |
524 | %{?with_doc:%{__make} docs} | |
525 | ||
526 | %install | |
527 | rm -rf $RPM_BUILD_ROOT | |
528 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/purple | |
529 | ||
530 | %{__make} install \ | |
531 | DESTDIR=$RPM_BUILD_ROOT | |
532 | ||
533 | rm -f $RPM_BUILD_ROOT%{_libdir}/finch/*.la | |
534 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnt/*.la | |
535 | rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/{,private}/*.la | |
536 | rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/*.la | |
537 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia | |
538 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/my{_MM,} | |
539 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/ms{_MY,} | |
540 | ||
541 | %find_lang %{name} --with-gnome | |
542 | rm -f $RPM_BUILD_ROOT{%{perl_archlib}/perllocal.pod,%{perl_vendorarch}/auto/Pidgin/{,GtkUI}/.packlist} | |
543 | rm -rf $RPM_BUILD_ROOT%{_datadir}/purple/ca-certs | |
544 | ||
545 | %if %{with dbus} | |
546 | rm $RPM_BUILD_ROOT%{_bindir}/purple-client-example | |
547 | rm $RPM_BUILD_ROOT%{_libdir}/purple-2/dbus-example.so | |
548 | %endif | |
549 | ||
550 | # resolve soname symlinks, affected plugins have rpath pointing there | |
551 | for a in $RPM_BUILD_ROOT%{_libdir}/purple-2/lib*.so.*.*.*; do | |
552 | soname=$(objdump -p $a | awk '/SONAME/{print $2}') | |
553 | mv $a $(dirname $a)/$soname | |
554 | rm ${a%.*.*.*} | |
555 | done | |
556 | rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/liboscar.so | |
557 | rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libjabber.so | |
558 | rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libymsg.so | |
559 | ||
560 | # no svg icons | |
561 | rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/pidgin.svg | |
562 | rm -r $RPM_BUILD_ROOT%{_pixmapsdir}/pidgin/*/scalable | |
563 | ||
564 | # rm windows icons | |
565 | rm $RPM_BUILD_ROOT%{_pixmapsdir}/pidgin/tray/*/*.ico | |
566 | ||
567 | %clean | |
568 | rm -rf $RPM_BUILD_ROOT | |
569 | ||
570 | %post | |
571 | %gconf_schema_install purple.schemas | |
572 | %update_icon_cache hicolor | |
573 | if [ "$1" = 1 ]; then | |
574 | %banner %{name} -e <<-EOF | |
575 | Please do not forget to install libpurple-protocols what do you need! | |
576 | EOF | |
577 | fi | |
578 | ||
579 | %preun | |
580 | %gconf_schema_uninstall purple.schemas | |
581 | ||
582 | %postun | |
583 | %update_icon_cache hicolor | |
584 | ||
585 | %post -n libpurple -p /sbin/ldconfig | |
586 | %postun -n libpurple -p /sbin/ldconfig | |
587 | ||
588 | %post -n finch -p /sbin/ldconfig | |
589 | %postun -n finch -p /sbin/ldconfig | |
590 | ||
591 | %files -f %{name}.lang | |
592 | %defattr(644,root,root,755) | |
593 | %doc AUTHORS ChangeLog{,.API} HACKING NEWS PLUGIN_HOWTO README* | |
594 | %attr(755,root,root) %{_bindir}/pidgin | |
595 | %dir %{_libdir}/pidgin | |
596 | %if %{with cap} | |
597 | %attr(755,root,root) %{_libdir}/pidgin/cap.so | |
598 | %endif | |
599 | %attr(755,root,root) %{_libdir}/pidgin/convcolors.so | |
600 | %attr(755,root,root) %{_libdir}/pidgin/extplacement.so | |
601 | %attr(755,root,root) %{_libdir}/pidgin/pidginrc.so | |
602 | %attr(755,root,root) %{_libdir}/pidgin/gestures.so | |
603 | %attr(755,root,root) %{_libdir}/pidgin/gtkbuddynote.so | |
604 | %attr(755,root,root) %{_libdir}/pidgin/history.so | |
605 | %attr(755,root,root) %{_libdir}/pidgin/iconaway.so | |
606 | %attr(755,root,root) %{_libdir}/pidgin/markerline.so | |
607 | %attr(755,root,root) %{_libdir}/pidgin/notify.so | |
608 | %attr(755,root,root) %{_libdir}/pidgin/relnot.so | |
609 | %attr(755,root,root) %{_libdir}/pidgin/spellchk.so | |
610 | %attr(755,root,root) %{_libdir}/pidgin/ticker.so | |
611 | %attr(755,root,root) %{_libdir}/pidgin/timestamp.so | |
612 | %attr(755,root,root) %{_libdir}/pidgin/timestamp_format.so | |
613 | %attr(755,root,root) %{_libdir}/pidgin/vvconfig.so | |
614 | %attr(755,root,root) %{_libdir}/pidgin/xmppconsole.so | |
615 | %attr(755,root,root) %{_libdir}/pidgin/sendbutton.so | |
616 | %attr(755,root,root) %{_libdir}/pidgin/themeedit.so | |
617 | %attr(755,root,root) %{_libdir}/pidgin/xmppdisco.so | |
618 | %if %{with dbus} | |
619 | %attr(755,root,root) %{_libdir}/pidgin/musicmessaging.so | |
620 | %endif | |
621 | %{_mandir}/man1/pidgin.1* | |
622 | ||
623 | %{_desktopdir}/pidgin.desktop | |
624 | %{_pixmapsdir}/pidgin | |
625 | %{_iconsdir}/hicolor/*/apps/pidgin.png | |
626 | ||
627 | %files -n libpurple | |
628 | %defattr(644,root,root,755) | |
629 | %doc libpurple/purple-notifications-example | |
630 | %dir %{_sysconfdir}/purple | |
631 | %{_sysconfdir}/gconf/schemas/purple.schemas | |
632 | %attr(755,root,root) %{_libdir}/libpurple.so.*.*.* | |
633 | %attr(755,root,root) %ghost %{_libdir}/libpurple.so.0 | |
634 | %if %{with dbus} | |
635 | %attr(755,root,root) %{_libdir}/libpurple-client.so.*.*.* | |
636 | %attr(755,root,root) %ghost %{_libdir}/libpurple-client.so.0 | |
637 | %endif | |
638 | %dir %{_libdir}/purple-2 | |
639 | %attr(755,root,root) %{_libdir}/purple-2/autoaccept.so | |
640 | %attr(755,root,root) %{_libdir}/purple-2/buddynote.so | |
641 | %attr(755,root,root) %{_libdir}/purple-2/idle.so | |
642 | %attr(755,root,root) %{_libdir}/purple-2/joinpart.so | |
643 | %attr(755,root,root) %{_libdir}/purple-2/log_reader.so | |
644 | %attr(755,root,root) %{_libdir}/purple-2/newline.so | |
645 | %attr(755,root,root) %{_libdir}/purple-2/offlinemsg.so | |
646 | %attr(755,root,root) %{_libdir}/purple-2/psychic.so | |
647 | %attr(755,root,root) %{_libdir}/purple-2/ssl.so | |
648 | %{?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-gnutls.so} | |
649 | %{!?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-nss.so} | |
650 | %attr(755,root,root) %{_libdir}/purple-2/statenotify.so | |
651 | %if %{with dotnet} | |
652 | %attr(755,root,root) %{_libdir}/purple-2/*.dll | |
653 | %attr(755,root,root) %{_libdir}/purple-2/mono.so | |
654 | %endif | |
655 | ||
656 | %{_datadir}/sounds/purple | |
657 | %{_datadir}/purple | |
658 | %if %{with dbus} | |
659 | %attr(755,root,root) %{_bindir}/purple-send | |
660 | %attr(755,root,root) %{_bindir}/purple-send-async | |
661 | %attr(755,root,root) %{_bindir}/purple-url-handler | |
662 | %endif | |
663 | ||
664 | %files -n libpurple-perl | |
665 | %defattr(644,root,root,755) | |
666 | %attr(755,root,root) %{_libdir}/purple-2/perl.so | |
667 | %dir %{_libdir}/purple-2/perl | |
668 | %{_libdir}/purple-2/perl/*.pm | |
669 | %dir %{_libdir}/purple-2/perl/auto | |
670 | %dir %{_libdir}/purple-2/perl/auto/Purple | |
671 | %{_libdir}/purple-2/perl/auto/Purple/*.bs | |
672 | %{_libdir}/purple-2/perl/auto/Purple/*.ix | |
673 | %attr(755,root,root) %{_libdir}/purple-2/perl/auto/Purple/*.so | |
674 | %{_mandir}/man3/Purple.3pm* | |
675 | ||
676 | %files -n libpurple-tcl | |
677 | %defattr(644,root,root,755) | |
678 | %attr(755,root,root) %{_libdir}/purple-2/tcl.so | |
679 | ||
680 | %files -n libpurple-devel | |
681 | %defattr(644,root,root,755) | |
682 | %{_aclocaldir}/purple.m4 | |
683 | %attr(755,root,root) %{_libdir}/libpurple.so | |
684 | %{_libdir}/libpurple.la | |
685 | %{_includedir}/libpurple | |
686 | %{_pkgconfigdir}/purple.pc | |
687 | %if %{with dbus} | |
688 | %attr(755,root,root) %{_libdir}/libpurple-client.so | |
689 | %{_libdir}/libpurple-client.la | |
690 | %endif | |
691 | ||
692 | %if %{with text} | |
693 | %files -n finch | |
694 | %defattr(644,root,root,755) | |
695 | %attr(755,root,root) %{_bindir}/finch | |
696 | %attr(755,root,root) %{_libdir}/libgnt.so.*.*.* | |
697 | %attr(755,root,root) %ghost %{_libdir}/libgnt.so.0 | |
698 | %dir %{_libdir}/finch | |
699 | %attr(755,root,root) %{_libdir}/finch/gntclipboard.so | |
700 | %attr(755,root,root) %{_libdir}/finch/gntgf.so | |
701 | %attr(755,root,root) %{_libdir}/finch/gnthistory.so | |
702 | %attr(755,root,root) %{_libdir}/finch/gntlastlog.so | |
703 | %attr(755,root,root) %{_libdir}/finch/gnttinyurl.so | |
704 | %attr(755,root,root) %{_libdir}/finch/grouping.so | |
705 | %dir %{_libdir}/gnt | |
706 | %attr(755,root,root) %{_libdir}/gnt/*.so | |
707 | %{_mandir}/man1/finch.* | |
708 | ||
709 | %files -n finch-devel | |
710 | %defattr(644,root,root,755) | |
711 | %{_includedir}/finch | |
712 | %{_includedir}/gnt | |
713 | %attr(755,root,root) %{_libdir}/libgnt.so | |
714 | %{_libdir}/libgnt.la | |
715 | %{_pkgconfigdir}/finch.pc | |
716 | %{_pkgconfigdir}/gnt.pc | |
717 | %endif | |
718 | ||
719 | %files devel | |
720 | %defattr(644,root,root,755) | |
721 | %{_includedir}/pidgin | |
722 | %{_pkgconfigdir}/pidgin.pc | |
723 | ||
724 | %files perl | |
725 | %defattr(644,root,root,755) | |
726 | %dir %{_libdir}/pidgin/perl | |
727 | %{_libdir}/pidgin/perl/*.pm | |
728 | %dir %{_libdir}/pidgin/perl/auto | |
729 | %dir %{_libdir}/pidgin/perl/auto/Pidgin | |
730 | %{_libdir}/pidgin/perl/auto/Pidgin/*.bs | |
731 | %attr(755,root,root) %{_libdir}/pidgin/perl/auto/Pidgin/*.so | |
732 | %{_mandir}/man3/Pidgin.3pm* | |
733 | ||
734 | %if %{with evolution} | |
735 | %files plugin-evolution | |
736 | %defattr(644,root,root,755) | |
737 | %attr(755,root,root) %{_libdir}/pidgin/gevolution.so | |
738 | %endif | |
739 | ||
740 | %if %{with dbus} | |
741 | %files plugin-remote | |
742 | %defattr(644,root,root,755) | |
743 | %attr(755,root,root) %{_bindir}/purple-remote | |
744 | %endif | |
745 | ||
746 | %files -n libpurple-protocol-oscar | |
747 | %defattr(644,root,root,755) | |
748 | %attr(755,root,root) %{_libdir}/purple-2/libicq.so | |
749 | %attr(755,root,root) %{_libdir}/purple-2/libaim.so | |
750 | # shared library for aim/icq protocols | |
751 | %attr(755,root,root) %{_libdir}/purple-2/liboscar.so.0 | |
752 | ||
753 | %files -n libpurple-protocol-bonjour | |
754 | %defattr(644,root,root,755) | |
755 | %attr(755,root,root) %{_libdir}/purple-2/libbonjour.so | |
756 | ||
757 | %files -n libpurple-protocol-gg | |
758 | %defattr(644,root,root,755) | |
759 | %attr(755,root,root) %{_libdir}/purple-2/libgg.so | |
760 | ||
761 | %files -n libpurple-protocol-groupwise | |
762 | %defattr(644,root,root,755) | |
763 | %attr(755,root,root) %{_libdir}/purple-2/libnovell.so | |
764 | ||
765 | %files -n libpurple-protocol-irc | |
766 | %defattr(644,root,root,755) | |
767 | %attr(755,root,root) %{_libdir}/purple-2/libirc.so | |
768 | ||
769 | %files -n libpurple-protocol-msn | |
770 | %defattr(644,root,root,755) | |
771 | %attr(755,root,root) %{_libdir}/purple-2/libmsn.so | |
772 | ||
773 | %files -n libpurple-protocol-myspace | |
774 | %defattr(644,root,root,755) | |
775 | %doc libpurple/protocols/myspace/README | |
776 | %attr(755,root,root) %{_libdir}/purple-2/libmyspace.so | |
777 | ||
778 | %files -n libpurple-protocol-mxit | |
779 | %defattr(644,root,root,755) | |
780 | %attr(755,root,root) %{_libdir}/purple-2/libmxit.so | |
781 | ||
782 | %files -n libpurple-protocol-simple | |
783 | %defattr(644,root,root,755) | |
784 | %attr(755,root,root) %{_libdir}/purple-2/libsimple.so | |
785 | ||
786 | %files -n libpurple-protocol-qq | |
787 | %defattr(644,root,root,755) | |
788 | %attr(755,root,root) %{_libdir}/purple-2/libqq.so | |
789 | ||
790 | %if %{with silc} | |
791 | %files -n libpurple-protocol-silc | |
792 | %defattr(644,root,root,755) | |
793 | %attr(755,root,root) %{_libdir}/purple-2/libsilcpurple.so | |
794 | %endif | |
795 | ||
796 | %if %{with meanwhile} | |
797 | %files -n libpurple-protocol-sametime | |
798 | %defattr(644,root,root,755) | |
799 | %attr(755,root,root) %{_libdir}/purple-2/libsametime.so | |
800 | %endif | |
801 | ||
802 | %files -n libpurple-protocol-xmpp | |
803 | %defattr(644,root,root,755) | |
804 | %attr(755,root,root) %{_libdir}/purple-2/libxmpp.so | |
805 | %attr(755,root,root) %{_libdir}/purple-2/libjabber.so.0 | |
806 | ||
807 | %files -n libpurple-protocol-zephyr | |
808 | %defattr(644,root,root,755) | |
809 | %attr(755,root,root) %{_libdir}/purple-2/libzephyr.so | |
810 | ||
811 | %files -n libpurple-protocol-yahoo | |
812 | %defattr(644,root,root,755) | |
813 | %attr(755,root,root) %{_libdir}/purple-2/libyahoo.so | |
814 | %attr(755,root,root) %{_libdir}/purple-2/libyahoojp.so | |
815 | %attr(755,root,root) %{_libdir}/purple-2/libymsg.so.0 | |
816 | ||
817 | %if %{with doc} | |
818 | %files doc | |
819 | %defattr(644,root,root,755) | |
820 | %doc doc/html/*.{html,png,css} | |
821 | %endif |