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