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