From fff70b08e1d7860efba950c9ff444c31fdc2717f7bd5239a00cf9f3b36eafe54 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 4 Dec 2009 15:07:44 +0000 Subject: [PATCH] Accepting request 25164 from GNOME:Factory Copy from GNOME:Factory/pidgin based on submit request 25164 from user sbrabec OBS-URL: https://build.opensuse.org/request/show/25164 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin?expand=0&rev=46 --- includes.patch | 10 +- pidgin-2.6.2.tar.bz2 | 3 - pidgin-2.6.3.tar.bz2 | 3 + pidgin-NLD-smiley-theme.tar.bz2 | 3 + pidgin-Tango-smiley-theme.tar.bz2 | 3 + pidgin-bnc550170-qq-2008only.patch | 41 ++++++++ pidgin-gnome-keyring.patch | 38 +++---- pidgin.changes | 33 ++++++ pidgin.spec | 161 ++++++++++++++++++++++++----- 9 files changed, 244 insertions(+), 51 deletions(-) delete mode 100644 pidgin-2.6.2.tar.bz2 create mode 100644 pidgin-2.6.3.tar.bz2 create mode 100644 pidgin-NLD-smiley-theme.tar.bz2 create mode 100644 pidgin-Tango-smiley-theme.tar.bz2 create mode 100644 pidgin-bnc550170-qq-2008only.patch diff --git a/includes.patch b/includes.patch index 3002b1b..9d2796f 100644 --- a/includes.patch +++ b/includes.patch @@ -1,7 +1,7 @@ -Index: pidgin-2.0.1/pidgin/plugins/gevolution/gevolution.c -================================================================================ ---- pidgin-2.1.0/pidgin/plugins/gevolution/gevolution.c -+++ pidgin-2.1.0/pidgin/plugins/gevolution/gevolution.c +Index: pidgin-2.6.3/pidgin/plugins/gevolution/gevolution.c +=================================================================== +--- pidgin-2.6.3.orig/pidgin/plugins/gevolution/gevolution.c ++++ pidgin-2.6.3/pidgin/plugins/gevolution/gevolution.c @@ -38,6 +38,8 @@ #include @@ -9,5 +9,5 @@ Index: pidgin-2.0.1/pidgin/plugins/gevolution/gevolution.c +/* #include */ +#include #include + /* TODO: bonobo is going away eventually, we'll need to find an alternative */ #include - diff --git a/pidgin-2.6.2.tar.bz2 b/pidgin-2.6.2.tar.bz2 deleted file mode 100644 index ff27497..0000000 --- a/pidgin-2.6.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acbadfd4d725e628ab8906f87438b26ebf86e67d219bbdcf07a9ccd18bdaafd6 -size 9093010 diff --git a/pidgin-2.6.3.tar.bz2 b/pidgin-2.6.3.tar.bz2 new file mode 100644 index 0000000..86ed97a --- /dev/null +++ b/pidgin-2.6.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0515a0add6b0b541160a5d13484f665964072ed331c3e59c65fb6086a070d2a1 +size 9093452 diff --git a/pidgin-NLD-smiley-theme.tar.bz2 b/pidgin-NLD-smiley-theme.tar.bz2 new file mode 100644 index 0000000..d587245 --- /dev/null +++ b/pidgin-NLD-smiley-theme.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b4f9e92f0e8ebc473e72a3cf8d8ae488fde177088ba61c1569f86093c9d5c6e +size 20019 diff --git a/pidgin-Tango-smiley-theme.tar.bz2 b/pidgin-Tango-smiley-theme.tar.bz2 new file mode 100644 index 0000000..c86a206 --- /dev/null +++ b/pidgin-Tango-smiley-theme.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3204686fdc32b330aedac3c7e5cd8ac45deedc4128f01cc1878c2ea93e47f4b8 +size 13938 diff --git a/pidgin-bnc550170-qq-2008only.patch b/pidgin-bnc550170-qq-2008only.patch new file mode 100644 index 0000000..08298d1 --- /dev/null +++ b/pidgin-bnc550170-qq-2008only.patch @@ -0,0 +1,41 @@ +Index: libpurple/protocols/qq/qq.c +=================================================================== +--- libpurple/protocols/qq/qq.c.orig ++++ libpurple/protocols/qq/qq.c +@@ -160,17 +160,8 @@ static void qq_login(PurpleAccount *acco + purple_debug_info("QQ", "Server list has %d\n", g_list_length(qd->servers)); + + version_str = purple_account_get_string(account, "client_version", NULL); +- qd->client_tag = QQ_CLIENT_0D55; /* set default as QQ2005 */ +- qd->client_version = 2005; +- if (version_str != NULL && strlen(version_str) != 0) { +- if (strcmp(version_str, "qq2007") == 0) { +- qd->client_tag = QQ_CLIENT_111D; +- qd->client_version = 2007; +- } else if (strcmp(version_str, "qq2008") == 0) { +- qd->client_tag = QQ_CLIENT_115B; +- qd->client_version = 2008; +- } +- } ++ qd->client_tag = QQ_CLIENT_115B; /* set default as QQ2008, no alternatives possible any more */ ++ qd->client_version = 2008; + + qd->is_show_notice = purple_account_get_bool(account, "show_notice", TRUE); + qd->is_show_news = purple_account_get_bool(account, "show_news", TRUE); +@@ -1115,16 +1106,6 @@ static void init_plugin(PurplePlugin *pl + prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); + + kvp = g_new0(PurpleKeyValuePair, 1); +- kvp->key = g_strdup(_("QQ2005")); +- kvp->value = g_strdup("qq2005"); +- version_kv_list = g_list_append(version_kv_list, kvp); +- +- kvp = g_new0(PurpleKeyValuePair, 1); +- kvp->key = g_strdup(_("QQ2007")); +- kvp->value = g_strdup("qq2007"); +- version_kv_list = g_list_append(version_kv_list, kvp); +- +- kvp = g_new0(PurpleKeyValuePair, 1); + kvp->key = g_strdup(_("QQ2008")); + kvp->value = g_strdup("qq2008"); + version_kv_list = g_list_append(version_kv_list, kvp); diff --git a/pidgin-gnome-keyring.patch b/pidgin-gnome-keyring.patch index 1d23b20..e309eec 100644 --- a/pidgin-gnome-keyring.patch +++ b/pidgin-gnome-keyring.patch @@ -1,8 +1,8 @@ -Index: pidgin-2.5.5/configure.ac +Index: pidgin-2.6.3/configure.ac =================================================================== ---- pidgin-2.5.5.orig/configure.ac -+++ pidgin-2.5.5/configure.ac -@@ -1744,6 +1744,20 @@ if test "x$enable_nss" != "xno"; then +--- pidgin-2.6.3.orig/configure.ac ++++ pidgin-2.6.3/configure.ac +@@ -1799,6 +1799,20 @@ if test "x$enable_nss" != "xno"; then [AC_HELP_STRING([--with-nss-libs=PREFIX], [specify location of Mozilla nss3 libs.])], [with_nss_libs="$withval"]) @@ -23,30 +23,30 @@ Index: pidgin-2.5.5/configure.ac if test -n "$with_nspr_includes" || test -n "$with_nspr_libs" || \ test -n "$with_nss_includes" || test -n "$with_nss_libs" || -Index: pidgin-2.5.5/libpurple/Makefile.am +Index: pidgin-2.6.3/libpurple/Makefile.am =================================================================== ---- pidgin-2.5.5.orig/libpurple/Makefile.am -+++ pidgin-2.5.5/libpurple/Makefile.am -@@ -247,6 +247,7 @@ libpurple_la_LIBADD = \ +--- pidgin-2.6.3.orig/libpurple/Makefile.am ++++ pidgin-2.6.3/libpurple/Makefile.am +@@ -291,6 +291,7 @@ libpurple_la_LIBADD = \ $(GLIB_LIBS) \ $(LIBXML_LIBS) \ $(NETWORKMANAGER_LIBS) \ + $(PURPLE_KEYRING_LIBS) \ $(INTLLIBS) \ - -lm - -@@ -259,6 +260,7 @@ AM_CPPFLAGS = \ + $(FARSIGHT_LIBS) \ + $(GSTREAMER_LIBS) \ +@@ -306,6 +307,7 @@ AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS) \ $(DBUS_CFLAGS) \ + $(PURPLE_KEYRING_CFLAGS) \ $(LIBXML_CFLAGS) \ - $(NETWORKMANAGER_CFLAGS) - -Index: pidgin-2.5.5/libpurple/account.c + $(FARSIGHT_CFLAGS) \ + $(GSTREAMER_CFLAGS) \ +Index: pidgin-2.6.3/libpurple/account.c =================================================================== ---- pidgin-2.5.5.orig/libpurple/account.c -+++ pidgin-2.5.5/libpurple/account.c +--- pidgin-2.6.3.orig/libpurple/account.c ++++ pidgin-2.6.3/libpurple/account.c @@ -49,6 +49,13 @@ typedef struct #define PURPLE_ACCOUNT_GET_PRIVATE(account) \ ((PurpleAccountPrivate *) (account->priv)) @@ -61,7 +61,7 @@ Index: pidgin-2.5.5/libpurple/account.c /* TODO: Should use PurpleValue instead of this? What about "ui"? */ typedef struct { -@@ -380,8 +387,13 @@ account_to_xmlnode(PurpleAccount *accoun +@@ -378,8 +385,13 @@ account_to_xmlnode(PurpleAccount *accoun if (purple_account_get_remember_password(account) && ((tmp = purple_account_get_password(account)) != NULL)) { @@ -75,7 +75,7 @@ Index: pidgin-2.5.5/libpurple/account.c } if ((tmp = purple_account_get_alias(account)) != NULL) -@@ -796,17 +808,30 @@ parse_account(xmlnode *node) +@@ -828,17 +840,30 @@ parse_account(xmlnode *node) } ret = purple_account_new(name, _purple_oscar_convert(name, protocol_id)); /* XXX: */ @@ -112,7 +112,7 @@ Index: pidgin-2.5.5/libpurple/account.c /* Read the alias */ child = xmlnode_get_child(node, "alias"); -@@ -2797,3 +2822,60 @@ purple_accounts_uninit(void) +@@ -2873,3 +2898,60 @@ purple_accounts_uninit(void) purple_signals_disconnect_by_handle(handle); purple_signals_unregister_by_instance(handle); } diff --git a/pidgin.changes b/pidgin.changes index 1202d38..4a1d77b 100644 --- a/pidgin.changes +++ b/pidgin.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Thu Nov 26 17:58:29 CET 2009 - sbrabec@suse.cz + +- Single spec for all SUSE products in all build systems. +- Updated to Pidgin 2.6.3: + * Fix a crash when performing DNS queries on Unixes that use the + blocking DNS lookups. + * Fixed incorrect Oscar memory access by a specially crafted SIM + IM client contacts message (bnc#548072, pidgin#10481, + CVE-2009-3615). + * Fix blocking and other privacy list problems. +- Migrate all QQ accounts to QQ2008 (bnc#550170). +- Update may include these security fixes: +- Fixed XMPP crash when receiving a message with a custom smiley + from a client that doesn't actually support custom smileys. + (bnc#536602, CVE-2009-3085) + http://www.pidgin.im/news/security/index.php?id=37 +- Fixed MSN remote denial of service via handwritten Ink message + (bnc#536602, pidgin#10159, CVE-2009-3084) + http://www.pidgin.im/news/security/index.php?id=38 +- Fixed MSN remote denial of service via an SLP invite message that + lacks certain required fields (bnc#536602, pidgin#10048, + CVE-2009-3083) + http://www.pidgin.im/news/security/index.php?id=39 +- Fixed IRC TOPIC message DoS (bnc#537214, IS-2009-001, + CVE-2009-2703, Bugtraq#36277). + http://www.pidgin.im/news/security/index.php?id=40 +- Fixed incorrect Oscar memory access by a specially crafted SIM IM + client contacts message (bnc#548072, pidgin#10481, + CVE-2009-3615). + http://www.pidgin.im/news/security/index.php?id=41 +- Re-added NLD artwork by Hans Petter Jansson (hpj@novell.com). + ------------------------------------------------------------------- Tue Oct 20 09:36:10 CEST 2009 - dimstar@opensuse.org diff --git a/pidgin.spec b/pidgin.spec index c6ac1f8..ec4db7d 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -1,5 +1,5 @@ # -# spec file for package pidgin (Version 2.6.2) +# spec file for package pidgin (Version 2.6.3) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,12 +20,14 @@ Name: pidgin Summary: GTK+-Based Multiprotocol Instant Messaging Client -Version: 2.6.2 -Release: 3 -License: GPL v2 or later +Version: 2.6.3 +Release: 1 +License: GPLv2+ Group: Productivity/Networking/Instant Messenger Url: http://www.pidgin.im/ Source: http://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2 +Source1: pidgin-NLD-smiley-theme.tar.bz2 +Source2: pidgin-Tango-smiley-theme.tar.bz2 Patch1: pidgin-gnome-keyring.patch # PATCH-NEEDS-REBASE Patch2: pidgin-nonblock-aim.patch @@ -40,45 +42,80 @@ Patch12: pidgin-dbus-invalid-gpointer.patch Patch13: pidgin-browser-default.patch # PATCH-FIX-UPSTREAM pidgin-bnc548072.patch bnc#548072 dimstar@opensuse.org -- Fix a crash on Oscar (icq) protocol. Patch14: pidgin-bnc548072.patch +Patch15: pidgin-bnc550170-qq-2008only.patch # Can use external libzephyr BuildRequires: cyrus-sasl-devel BuildRequires: dbus-1-devel BuildRequires: doxygen BuildRequires: evolution-data-server-devel +%if %suse_version > 1110 || 0%{?opensuse_bs_prj_GNOME_Factory} BuildRequires: farsight2-devel +%endif BuildRequires: gnome-keyring-devel +%if %suse_version < 1020 +BuildRequires: gnome-icon-theme +%endif BuildRequires: graphviz BuildRequires: gtk-doc BuildRequires: gtkspell-devel BuildRequires: intltool BuildRequires: libidn-devel +%if %suse_version > 1030 || 0%{?opensuse_bs_prj_GNOME_Factory} BuildRequires: libgadu-devel +%endif BuildRequires: libstdc++-devel BuildRequires: libxml2-devel BuildRequires: libxslt +%if %suse_version >= 1030 +# Versions in older SUSE products are too old: BuildRequires: meanwhile-devel +%endif BuildRequires: mono-devel BuildRequires: mozilla-nspr-devel BuildRequires: mozilla-nss-devel BuildRequires: ncurses-devel +%if %suse_version > 1020 BuildRequires: openssl-certs +%endif +%if %suse_version > 1030 +%if %suse_version < 1120 +# missing in silc-toolkit-devel: +BuildRequires: pam-devel +%endif +%endif BuildRequires: python BuildRequires: startup-notification-devel BuildRequires: tk-devel +%if %suse_version > 1110 BuildRequires: translation-update-upstream +%endif BuildRequires: update-desktop-files BuildRequires: NetworkManager-devel +%if %suse_version > 1030 || 0%{?opensuse_bs_prj_GNOME_Factory} BuildRequires: gstreamer-0_10-devel BuildRequires: gstreamer-0_10-plugins-base-devel +%else +BuildRequires: gstreamer010-devel +BuildRequires: gstreamer010-plugins-base-devel +%endif +%if %suse_version > 1020 BuildRequires: dbus-1-glib-devel BuildRequires: silc-toolkit-devel -BuildRequires: fdupes libnotify-devel -%if %suse_version > 1030 || 0%{?opensuse_bs} +%else +BuildRequires: dbus-1-devel dbus-1-glib +%endif +%if %suse_version > 1020 +BuildRequires: fdupes +%endif +BuildRequires: libnotify-devel +%if %suse_version > 1030 || 0%{?opensuse_bs_prj_GNOME_Factory} BuildRequires: libavahi-glib-devel %else -BuildRequires: avahi-devel +BuildRequires: avahi-devel avahi-glib %endif +%if %suse_version > 1030 Requires: libpurple-lang = %{version} +%endif Requires: openssl-certs Requires: perl-base = %{perl_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -89,6 +126,13 @@ Obsoletes: gaim-applet # Was only in the Build Service after 10.2: Obsoletes: gaim-unstable < 2.0.0 Provides: gaim +%if %suse_version <= 1021 +%define _prefix /opt/gnome +%define _libdir %{_prefix}/%{_lib} +%define _datadir %{_prefix}/share +%define _sysconfdir /etc%_prefix +BuildRequires: gconf2-rpm-macros +%endif %gconf_schemas_prereq %description @@ -105,26 +149,28 @@ Pidgin is not affiliated with or endorsed by America Online, Inc., Microsoft Corporation, Yahoo! Inc., or ICQ Inc. %package devel -License: GPL v2 or later +License: GPLv2+ #' Summary: Development Headers, Documentation, and Libraries for Pidgin Group: Productivity/Networking/Instant Messenger Requires: %{name} = %{version} glib2-devel gtk2-devel libpurple-devel = %{version} %package -n libpurple -License: GPL v2 or later +License: GPLv2+ Summary: Library for IM Clients Like Pidgin and Finch Group: Productivity/Networking/Instant Messenger # Not really required, but standard Jabber accounts require it, if compiled with SASL support. Requires: cyrus-sasl-digestmd5 cyrus-sasl-plain +%if %suse_version > 1030 Requires: libpurple-lang = %{version} +%endif # Needed for purple-url-handler: Requires: dbus-1-python Requires: perl = %{perl_version} Requires: openssl-certs %package -n libpurple-devel -License: GPL v2 or later +License: GPLv2+ Summary: Development Headers, Documentation, and Libraries for libpurple Group: Productivity/Networking/Instant Messenger Requires: libpurple = %{version} NetworkManager-devel NetworkManager-glib glib2-devel gnome-keyring-devel libxml2-devel @@ -133,28 +179,30 @@ Provides: gaim-devel = %{version} Obsoletes: gaim-devel <= 1.5.0 Provides: gaim-unstable-devel = %{version} Obsoletes: gaim-unstable-devel < 2.0.0 +%if %suse_version >= 1030 %package -n libpurple-meanwhile -License: GPL v2 or later +License: GPLv2+ Summary: Lotus Sametime Plugin for Pidgin Using the Meanwhile Library Group: Productivity/Networking/Instant Messenger Requires: libpurple = %{version} +%endif %package -n libpurple-mono -License: GPL v2 or later +License: GPLv2+ Summary: Mono .NET Plugin Support for Pidgin Group: Productivity/Networking/Instant Messenger Requires: libpurple = %{version} %package -n libpurple-tcl -License: GPL v2 or later +License: GPLv2+ Summary: TCL Plugin Support for Pidgin Group: Productivity/Networking/Instant Messenger Requires: libpurple = %{version} Supplements: packageand(libpurple:tcl) %package -n finch -License: GPL v2 or later +License: GPLv2+ Summary: Text-Based User Interface for Pidgin Instant Messaging Client Group: Productivity/Networking/Instant Messenger Requires: libpurple = %{version} @@ -162,7 +210,7 @@ Obsoletes: gaim-unstable-text < 2.0.0 Provides: gaim-unstable-text %package -n finch-devel -License: GPL v2 or later +License: GPLv2+ Summary: Headers etc. for finch Stuffs Group: Productivity/Networking/Instant Messenger Requires: finch = %{version} glib2-devel glibc-devel libpurple-devel = %{version} ncurses-devel @@ -188,8 +236,11 @@ documentation, and libraries required for development of libpurple based instant messaging clients or plugins for any libpurple based client. +%if %suse_version >= 1030 + %description -n libpurple-meanwhile Lotus Sametime plugin for Pidgin using the Meanwhile library. +%endif %description -n libpurple-mono Mono plugin loader for Pidgin. This package will allow you to write or @@ -209,10 +260,15 @@ The finch-devel package contains the header files, developer documentation, and libraries required for development of Finch scripts and plugins. +%if %suse_version > 1030 %lang_package -n libpurple +%endif + %prep -%setup -q +%setup -q -a1 -a2 +%if %suse_version > 1110 translation-update-upstream +%endif %patch1 -p1 # FIXME: Port this patch: #%patch2 -p1 @@ -223,6 +279,7 @@ translation-update-upstream %patch11 -p1 %patch12 %patch13 +%patch15 -p0 # Change Myanmar/Myanmar to Myanmar: rename my_MM my po/my_MM.* %{__sed} -i "/^ALL_LINGUAS/s/ my_MM / my /" configure.ac @@ -236,15 +293,25 @@ ACLOCAL="aclocal -I m4macros" autoreconf -f -i intltoolize --force %configure\ --disable-static\ +%if %suse_version < 1120 + --disable-vv\ +%endif --enable-plugins\ --enable-cyrus-sasl\ - --enable-dbus=yes\ - --enable-mono=yes\ - --enable-gstreamer=yes\ - --enable-gnome-keyring=yes\ - --enable-nm=yes\ - --enable-dbus=yes\ + --enable-dbus\ +%if %suse_version > 1010 + --enable-mono\ +%else + --disable-mono\ +%endif + --enable-gstreamer\ + --enable-gnome-keyring\ + --enable-nm\ + --enable-dbus\ --enable-devhelp\ +%if %suse_version < 1030 + --disable-meanwhile \ +%endif --with-tclconfig=%{_libdir}\ --with-tkconfig=%{_libdir}\ --with-system-ssl-certs=/etc/ssl/certs @@ -256,6 +323,8 @@ intltoolize --force %{makeinstall} %{perl_process_packlist} %suse_update_desktop_file -N Pidgin -G "Instant Messenger" %{name} +cp -a NLD $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/pidgin/emotes +cp -a Tango $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/pidgin/emotes %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/*/*.la %{__rm} -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod %{__rm} -f $RPM_BUILD_ROOT%{_prefix}/lib/perl*/*/perllocal.pod @@ -278,7 +347,12 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -maxdepth 1 -xtype f -print | \ %{__sed} "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-finchplugins %find_gconf_schemas %{__cat} %{name}.schemas_list %{name}-%{version}-pidginplugins >%{name}.lst +%if %suse_version <= 1030 +%{__cat} %{name}.lang >>%{name}-%{version}-purpleplugins +%endif +%if %suse_version > 1020 %fdupes $RPM_BUILD_ROOT +%endif %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -308,6 +382,11 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -maxdepth 1 -xtype f -print | \ %{_datadir}/applications/*.desktop %{_datadir}/sounds/purple %doc %{_mandir}/man1/pidgin.* +%if %suse_version < 1020 +/var/adm/perl-modules/pidgin +# man3 is not part of gnome-filesystem +%doc %dir %{_mandir}/man3 +%endif %files devel %defattr(-,root,root) @@ -315,8 +394,6 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -maxdepth 1 -xtype f -print | \ %{_libdir}/pkgconfig/pidgin.pc %doc %{_mandir}/man3/Pidgin.* -%files -n libpurple-lang -f %{name}.lang - %files -n libpurple -f %{name}-%{version}-purpleplugins %defattr(-, root, root) %doc libpurple/purple-notifications-example @@ -330,17 +407,49 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -maxdepth 1 -xtype f -print | \ %{_libdir}/libpurple-client.so.* %dir %{_libdir}/purple-2 %{_libdir}/purple-2/perl +%if %suse_version > 1030 + +%files -n libpurple-lang -f %{name}.lang +%endif +%if %suse_version < 1110 +# These locales are not yet included in respective products: +%defattr(-, root, root) +%dir %{_datadir}/locale/sr@latin +%dir %{_datadir}/locale/sr@latin/LC_MESSAGES +%endif +%if %suse_version < 1020 +%dir %{_datadir}/locale/be@latin +%dir %{_datadir}/locale/be@latin/LC_MESSAGES +%dir %{_datadir}/locale/ca@valencia +%dir %{_datadir}/locale/ca@valencia/LC_MESSAGES +%dir %{_datadir}/locale/my +%dir %{_datadir}/locale/my/LC_MESSAGES +%dir %{_datadir}/locale/oc +%dir %{_datadir}/locale/oc/LC_MESSAGES +%dir %{_datadir}/locale/ps +%dir %{_datadir}/locale/ps/LC_MESSAGES +%dir %{_datadir}/locale/si +%dir %{_datadir}/locale/si/LC_MESSAGES +%dir %{_datadir}/locale/sw +%dir %{_datadir}/locale/sw/LC_MESSAGES +%dir %{_datadir}/locale/ur +%dir %{_datadir}/locale/ur/LC_MESSAGES +%endif +%if %suse_version >= 1030 %files -n libpurple-meanwhile %defattr(-, root, root) %{_libdir}/purple-2/libsametime.* +%endif %ifnarch ppc64 +%if %suse_version > 1010 %files -n libpurple-mono %defattr(-, root, root) %{_libdir}/purple-2/mono.so %{_libdir}/purple-2/*.dll %endif +%endif %files -n libpurple-tcl %defattr(-, root, root) @@ -355,6 +464,10 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -maxdepth 1 -xtype f -print | \ %{_libdir}/libpurple-client.so %{_libdir}/pkgconfig/purple.pc %doc %{_mandir}/man3/Purple.* +%if %suse_version < 1020 +# man3 is not part of gnome-filesystem +%doc %dir %{_mandir}/man3 +%endif %files -n finch -f %{name}-%{version}-finchplugins %defattr(-, root, root)