Browse Source

pidgin updates

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 4 years ago
parent
commit
a4729c620a
  1. 4
      SPECS/pidgin-chime.spec
  2. 46
      SPECS/pidgin-sipe.spec
  3. 318
      SPECS/pidgin.spec
  4. 23
      SPECS/purple-skypeweb.spec

4
SPECS/pidgin-chime.spec

@ -1,8 +1,4 @@
%global pidginver 2.13.0 %global pidginver 2.13.0
%if 0%{?rhel} == 7
# Building 2.14.0 with the V/V bits on EPEL7 is non-trivial. IM only for now.
%global pidginver 2.10.11
%endif


%bcond_with evolution # without %bcond_with evolution # without



46
SPECS/pidgin-sipe.spec

@ -3,14 +3,13 @@ Summary: Pidgin protocol plugin to connect to MS Office Communicator
Version: 1.25.0 Version: 1.25.0
Release: 1%{?dist} Release: 1%{?dist}


Group: Applications/Communications License: GPL-2.0-or-later
License: GPLv2+
URL: http://sipe.sourceforge.net/ URL: http://sipe.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-%{version}/pidgin-sipe-%{version}.tar.bz2 Source0: https://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-%{version}/pidgin-sipe-%{version}.tar.bz2


BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(farstream-0.2) BuildRequires: pkgconfig(farstream-0.2)
#BuildRequires: pkgconfig(freerdp-shadow2) BuildRequires: pkgconfig(freerdp-shadow2)
BuildRequires: pkgconfig(gio-2.0) >= 2.18.0 BuildRequires: pkgconfig(gio-2.0) >= 2.18.0
BuildRequires: pkgconfig(glib-2.0) >= 2.18.0 BuildRequires: pkgconfig(glib-2.0) >= 2.18.0
BuildRequires: pkgconfig(gmodule-2.0) >= 2.18.0 BuildRequires: pkgconfig(gmodule-2.0) >= 2.18.0
@ -21,9 +20,10 @@ BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(nice) >= 0.1.0 BuildRequires: pkgconfig(nice) >= 0.1.0
BuildRequires: pkgconfig(nss) BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(purple) >= 2.8.0 BuildRequires: pkgconfig(purple) >= 2.8.0
#BuildRequires: appstream BuildRequires: appstream
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: flex
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: gssntlmssp-devel >= 0.5.0 BuildRequires: gssntlmssp-devel >= 0.5.0
@ -52,8 +52,7 @@ This package provides the icon set for Pidgin.


%package -n purple-sipe %package -n purple-sipe
Summary: Libpurple protocol plugin to connect to MS Office Communicator Summary: Libpurple protocol plugin to connect to MS Office Communicator
Group: Applications/Communications License: GPL-2.0-or-later
License: GPLv2+


Requires: gssntlmssp >= 0.5.0 Requires: gssntlmssp >= 0.5.0


@ -75,7 +74,11 @@ This package provides the protocol plugin for libpurple clients.
%setup -q %setup -q


%build %build
#autoreconf -f -i # steps copied from "autogen.sh" in upstream source tree
autopoint --force
AUTOPOINT="intltoolize --copy --force --automake" \
autoreconf --force --install

%configure \ %configure \
--with-krb5 \ --with-krb5 \
--enable-purple \ --enable-purple \
@ -93,8 +96,8 @@ rm -f \
%find_lang %{name} %find_lang %{name}




#%check %check
#make %{?_smp_mflags} check make %{?_smp_mflags} check






@ -110,6 +113,31 @@ rm -f \




%changelog %changelog
* Sat Oct 12 2019 Stefan Becker <chemobejk@gmail.com> - 1.25.0-1
- update to 1.25.0:
- provide idle start time for a buddy
- extract plain text from incoming RTF
- add BR flex
- copied latest build setup steps from upstream autogen.sh

* Thu Aug 29 2019 Stefan Becker <chemobejk@gmail.com> - 1.24.0-7
- add upstream patches for glib-2.0 >= 2.62.0 and gettext >= 0.20.0 FTBFS

* Tue Aug 20 2019 Simone Caronni <negativo17@gmail.com> - 1.24.0-6
- Rebuild for updated FreeRDP.

* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun May 19 2019 Simone Caronni <negativo17@gmail.com> - 1.24.0-4
- Rebuild for updated FreeRDP.

* Thu Feb 28 2019 Simone Caronni <negativo17@gmail.com> - 1.24.0-3
- Rebuild for FreeRDP update.

* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sat Nov 10 2018 Stefan Becker <chemobejk@gmail.com> - 1.24.0-1 * Sat Nov 10 2018 Stefan Becker <chemobejk@gmail.com> - 1.24.0-1
- update to 1.24.0: - update to 1.24.0:
- add support for Application Sharing Server - add support for Application Sharing Server

318
SPECS/pidgin.spec

@ -1,139 +1,45 @@
# OVERRIDE RHEL VERSION HERE, RHEL BUILDSYSTEM DOESN'T HAVE DIST TAG
#%%global rhel 4

# Define Variables that must exist
%{?!rhel:%global rhel 0}
%{?!fedora:%global fedora 0}

# Map RHEL to Fedora version
%if 0%{?rhel} == 7
%global fedora 19
%endif

# Define variables to use in conditionals # Define variables to use in conditionals
%global force_sound_aplay 0 %global force_sound_aplay 0
%global dbus_integration 0
%global gstreamer_integration 0
%global nm_integration 0
%global modular_x 0
%global dbus_glib_splt 0
%global bonjour_support 0
%global meanwhile_integration 0
%global use_gnome_open 0
%global perl_devel_separated 0
%global perl_embed_separated 0
%global api_docs 0
%global krb4_removed 0
%global nss_md2_disabled 0
%global vv_support 0
%global libidn_support 0
%global disable_evolution 0
%global split_evolution 0
%global use_system_certs 0
%global use_system_libgadu 0
%global build_only_libs 0
%global gstreamer_version 0.10
%global farstream_version 0.1

# RHEL4: Use ALSA aplay to output sounds because it lacks gstreamer
%if 0%{?fedora} < 5
%global force_sound_aplay 1
%endif
# RHEL4+ and FC5+: dbus, gstreamer, NetworkManager, modular X
%if 0%{?fedora} >= 5
%global dbus_integration 1 %global dbus_integration 1
%global gstreamer_integration 1 %global gstreamer_integration 1
%global nm_integration 1 %global nm_integration 1
%global nm_libnm_integration 1
%global modular_x 1 %global modular_x 1
%endif
# RHEL4+ and FC6+: dbus-glib split, bonjour, meanwhile
%if 0%{?fedora} >= 6
%global dbus_glib_splt 1 %global dbus_glib_splt 1
%global bonjour_support 1 %global bonjour_support 1
%global meanwhile_integration 1 %global meanwhile_integration 1
%endif
# RHEL4 and RHEL5: Use gnome-open instead of xdg-open (RHEL4 and RHEL5)
%if 0%{?fedora} <= 6
%global use_gnome_open 1 %global use_gnome_open 1
%endif
# F7+: Perl devel separated out
%if 0%{?fedora} >= 7
%global perl_devel_separated 1 %global perl_devel_separated 1
%endif
# F8+: Perl embed separated out, generate pidgin API documentation
%if 0%{?fedora} >= 8
%global perl_embed_separated 1 %global perl_embed_separated 1
%global api_docs 1 %global api_docs 1
%endif %global krb4_removed 1
# F10+: New NSS (3.12.3) disables weaker MD2 algorithm
%if 0%{?fedora} >= 10
%global nss_md2_disabled 1 %global nss_md2_disabled 1
%endif
# F11+: libidn for punycode domain support, voice and video support,
# use system SSL certificates
%if 0%{?fedora} >= 11
%global vv_support 1 %global vv_support 1
%global libidn_support 1 %global libidn_support 1
%global use_system_certs 1
%endif
# F12+: krb4 removed
%if 0%{?fedora} >= 12
%global krb4_removed 1
%endif
# F13+ Split Evolution plugin to separate package (#581144)
%if 0%{?fedora} >= 13
%global split_evolution 1
%endif
# F16+ Use system libgadu (#713888)
%if 0%{?fedora} >= 16
%global use_system_libgadu 1
%endif
# RHEL does not have libgadu
%if 0%{?rhel}
%global use_system_libgadu 0
%endif
%if 0%{?rhel} >= 7
%global api_docs 0
%endif
# F18+ Disable evolution integration (temporarily?)
# due to evolution-data-server 3.6 API changes
%if 0%{?fedora} >= 18
%global disable_evolution 1 %global disable_evolution 1
%global split_evolution 0 %global split_evolution 0
%endif %global use_system_certs 1
# F2+ Build against GStreamer 1.x %global use_system_libgadu 0
%if 0%{?fedora} >= 22 %global build_only_libs 0
%global gstreamer_version 1.0 %global gstreamer_version 1.0
%global farstream_version 0.2 %global farstream_version 0.2
%global gst1 1 %global gst1 1
%endif
# F29 doesn't support nm-glib anymore.
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%global nm_integration 0
%endif
# valgrind available only on selected arches
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
%global has_valgrind 1 %global has_valgrind 1
%endif


Name: pidgin Name: pidgin
Version: 2.13.0 Version: 2.14.1
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ and GPLv2 and MIT License: BSD and GPLv2+ and GPLv2 and LGPLv2+ and MIT
# GPLv2+ - libpurple, gnt, finch, pidgin, most prpls # GPLv2+ - libpurple, finch, pidgin, most prpls
# GPLv2 - novell prpls # GPLv2 - novell prpls
# MIT - Zephyr prpl # MIT - Zephyr prpl
Group: Applications/Internet
URL: http://pidgin.im/ URL: http://pidgin.im/
Source0: http://downloads.sourceforge.net/pidgin/pidgin-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/pidgin/pidgin-%{version}.tar.bz2
Obsoletes: gaim < 999:1 Obsoletes: gaim < 999:1
Provides: gaim = 999:1 Provides: gaim = 999:1


%if %{split_evolution}
Obsoletes: pidgin <= 2.7.1-1%{?dist} Obsoletes: pidgin <= 2.7.1-1%{?dist}
%else %if %{disable_evolution} Obsoletes: pidgin-evolution <= 2.10.6%{?dist}
Obsoletes: pidgin-evolution <= 2.10.6%{?dist}
%endif


## Fedora pidgin defaults ## Fedora pidgin defaults
# Only needs regenerating if Pidgin breaks backwards compatibility with prefs.xml # Only needs regenerating if Pidgin breaks backwards compatibility with prefs.xml
@ -153,15 +59,14 @@ Source1: purple-fedora-prefs.xml


## Patches 0-99: Fedora specific or upstream wont accept ## Patches 0-99: Fedora specific or upstream wont accept
Patch0: pidgin-NOT-UPSTREAM-2.5.2-rhel4-sound-migration.patch Patch0: pidgin-NOT-UPSTREAM-2.5.2-rhel4-sound-migration.patch
Patch1: pidgin-2.10.9-valgrind.patch Patch1: pidgin-2.14.1-valgrind.patch
Patch2: pidgin-2.10.11-purple-remote-python3.patch Patch3: pidgin-2.13.0-drop-aim.patch


## Patches 100+: To be Included in Future Upstream ## Patches 100+: To be Included in Future Upstream
Patch100: pidgin-2.10.1-fix-msn-ft-crashes.patch Patch100: pidgin-2.13.0-fix-msn-ft-crashes.patch
# upstream ticket https://developer.pidgin.im/ticket/16593 # upstream ticket https://developer.pidgin.im/ticket/16593
Patch102: pidgin-2.10.11-do-not-disable-wall.patch Patch102: pidgin-2.14.1-do-not-disable-wall.patch


BuildRoot: %{_tmppath}/%{name}-%{version}-root
Summary: A Gtk+ based multiprotocol instant messaging client Summary: A Gtk+ based multiprotocol instant messaging client


# Require Binary Compatible glib # Require Binary Compatible glib
@ -173,11 +78,6 @@ Requires: glib2 >= %{glib_ver}
# Require exact libpurple # Require exact libpurple
Requires: libpurple%{?_isa} = %{version}-%{release} Requires: libpurple%{?_isa} = %{version}-%{release}


Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
BuildRequires: GConf2

# Basic Library Requirements # Basic Library Requirements
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: libtool BuildRequires: libtool
@ -206,6 +106,7 @@ BuildRequires: intltool
BuildRequires: tcl-devel BuildRequires: tcl-devel
BuildRequires: tk-devel BuildRequires: tk-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libgnt-devel


%if ! %{krb4_removed} %if ! %{krb4_removed}
# krb5 needed for Zephyr (FC1+) # krb5 needed for Zephyr (FC1+)
@ -215,6 +116,7 @@ BuildRequires: krb5-devel
%if %{dbus_integration} %if %{dbus_integration}
BuildRequires: dbus-devel >= 0.60 BuildRequires: dbus-devel >= 0.60
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-devel
%endif %endif
# GStreamer integration (FC5+) # GStreamer integration (FC5+)
%if %{gstreamer_integration} %if %{gstreamer_integration}
@ -222,8 +124,12 @@ BuildRequires: pkgconfig(gstreamer-%{gstreamer_version})
%endif %endif
# NetworkManager integration (FC5+) # NetworkManager integration (FC5+)
%if %{nm_integration} %if %{nm_integration}
%if %{nm_libnm_integration}
BuildRequires: NetworkManager-libnm-devel >= 1.0.0
%else
BuildRequires: NetworkManager-glib-devel BuildRequires: NetworkManager-glib-devel
%endif %endif
%endif
# Modular X (FC5+) # Modular X (FC5+)
%if %{modular_x} %if %{modular_x}
BuildRequires: libSM-devel BuildRequires: libSM-devel
@ -295,10 +201,9 @@ BuildRequires: valgrind-devel
%description %description
Pidgin allows you to talk to anyone using a variety of messaging Pidgin allows you to talk to anyone using a variety of messaging
protocols including AIM, MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu, protocols including AIM, MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu,
ICQ, IRC, Novell Groupwise, QQ, Lotus Sametime, SILC, Simple and ICQ, IRC, Novell Groupwise, QQ, Lotus Sametime, Simple and Zephyr.
Zephyr. These protocols are implemented using a modular, easy to These protocols are implemented using a modular, easy to use design.
use design. To use a protocol, just add an account using the To use a protocol, just add an account using the account editor.
account editor.


Pidgin supports many common features of other clients, as well as many Pidgin supports many common features of other clients, as well as many
unique features, such as perl scripting, TCL scripting and C plugins. unique features, such as perl scripting, TCL scripting and C plugins.
@ -309,7 +214,6 @@ Microsoft Corporation, Yahoo! Inc., or ICQ Inc.
%if %{split_evolution} %if %{split_evolution}
%package evolution %package evolution
Summary: Pidgin Evolution integration plugin Summary: Pidgin Evolution integration plugin
Group: Applications/Internet
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Obsoletes: pidgin <= 2.7.1-1%{?dist} Obsoletes: pidgin <= 2.7.1-1%{?dist}


@ -321,7 +225,6 @@ This package contains the Evolution integration plugin for Pidgin.


%package devel %package devel
Summary: Development headers and libraries for pidgin Summary: Development headers and libraries for pidgin
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: libpurple-devel = %{version}-%{release} Requires: libpurple-devel = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
@ -337,7 +240,6 @@ and plugins.


%package perl %package perl
Summary: Perl scripting support for Pidgin Summary: Perl scripting support for Pidgin
Group: Applications/Internet
Requires: libpurple = %{version}-%{release} Requires: libpurple = %{version}-%{release}
Requires: libpurple-perl = %{version}-%{release} Requires: libpurple-perl = %{version}-%{release}


@ -348,7 +250,6 @@ use Pidgin plugins written in the Perl programming language.


%package -n libpurple %package -n libpurple
Summary: libpurple library for IM clients like Pidgin and Finch Summary: libpurple library for IM clients like Pidgin and Finch
Group: Applications/Internet
# Ensure elimination of gaim.i386 on x86_64 # Ensure elimination of gaim.i386 on x86_64
Obsoletes: gaim < 999:1 Obsoletes: gaim < 999:1
%if %{meanwhile_integration} %if %{meanwhile_integration}
@ -379,12 +280,11 @@ and Finch.


libpurple supports a variety of messaging protocols including AIM, MSN, libpurple supports a variety of messaging protocols including AIM, MSN,
Yahoo!, Jabber, Bonjour, Gadu-Gadu, ICQ, IRC, Novell Groupwise, QQ, Yahoo!, Jabber, Bonjour, Gadu-Gadu, ICQ, IRC, Novell Groupwise, QQ,
Lotus Sametime, SILC, Simple and Zephyr. Lotus Sametime, Simple and Zephyr.




%package -n libpurple-devel %package -n libpurple-devel
Summary: Development headers, documentation, and libraries for libpurple Summary: Development headers, documentation, and libraries for libpurple
Group: Applications/Internet
Requires: libpurple = %{version}-%{release} Requires: libpurple = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%if %{dbus_integration} %if %{dbus_integration}
@ -401,7 +301,6 @@ instant messaging clients or plugins for any libpurple based client.


%package -n libpurple-perl %package -n libpurple-perl
Summary: Perl scripting support for libpurple Summary: Perl scripting support for libpurple
Group: Applications/Internet
Requires: libpurple = %{version}-%{release} Requires: libpurple = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


@ -412,7 +311,6 @@ use libpurple plugins written in the Perl programming language.


%package -n libpurple-tcl %package -n libpurple-tcl
Summary: Tcl scripting support for libpurple Summary: Tcl scripting support for libpurple
Group: Applications/Internet
Requires: libpurple = %{version}-%{release} Requires: libpurple = %{version}-%{release}


%description -n libpurple-tcl %description -n libpurple-tcl
@ -422,7 +320,6 @@ use libpurple plugins written in the Tcl programming language.


%package -n finch %package -n finch
Summary: A text-based user interface for Pidgin Summary: A text-based user interface for Pidgin
Group: Applications/Internet
Requires: glib2 >= %{glib_ver} Requires: glib2 >= %{glib_ver}
Requires: libpurple = %{version}-%{release} Requires: libpurple = %{version}-%{release}


@ -435,7 +332,6 @@ and text.


%package -n finch-devel %package -n finch-devel
Summary: Headers etc. for finch stuffs Summary: Headers etc. for finch stuffs
Group: Applications/Internet
Requires: finch = %{version}-%{release} Requires: finch = %{version}-%{release}
Requires: libpurple-devel = %{version}-%{release} Requires: libpurple-devel = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
@ -449,7 +345,6 @@ and plugins.
%if %{api_docs} %if %{api_docs}
%package -n pidgin-docs %package -n pidgin-docs
Summary: API docs for pidgin and libpurple Summary: API docs for pidgin and libpurple
Group: Applications/Internet
Requires: pidgin = %{version}-%{release} Requires: pidgin = %{version}-%{release}
Provides: libpurple-docs = %{version}-%{release} Provides: libpurple-docs = %{version}-%{release}


@ -465,15 +360,15 @@ echo "FEDORA=%{fedora} RHEL=%{rhel}"
%if %{force_sound_aplay} %if %{force_sound_aplay}
%patch0 -p1 -b .aplay %patch0 -p1 -b .aplay
%endif %endif
%patch1 -p1 %patch1 -p1 -b .valgrind
%patch2 -p1 %patch3 -p1 -b .drop-aim


## Patches 100+: To be Included in Future Upstream ## Patches 100+: To be Included in Future Upstream


# http://pidgin.im/pipermail/devel/2011-November/010477.html # http://pidgin.im/pipermail/devel/2011-November/010477.html
%patch100 -p0 -R -b .ftcrash %patch100 -p1 -b .ftcrash
# https://developer.pidgin.im/ticket/16593 # https://developer.pidgin.im/ticket/16593
%patch102 -p1 %patch102 -p1 -b .do-not-disable-wall


# Our preferences # Our preferences
cp %{SOURCE1} prefs.xml cp %{SOURCE1} prefs.xml
@ -509,6 +404,9 @@ SWITCHES="--with-extraversion=%{release}"
%endif %endif
%if %{dbus_integration} %if %{dbus_integration}
SWITCHES="$SWITCHES --enable-dbus" SWITCHES="$SWITCHES --enable-dbus"
%if 0%{?fedora} >= 27
SWITCHES="$SWITCHES --with-python=%{__python3}"
%endif
%else %else
SWITCHES="$SWITCHES --disable-dbus" SWITCHES="$SWITCHES --disable-dbus"
%endif %endif
@ -549,11 +447,11 @@ autoreconf --force --install
--enable-tcl --enable-tk \ --enable-tcl --enable-tk \
--disable-schemas-install $SWITCHES --disable-schemas-install $SWITCHES


make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool


# one_time_password plugin, included upstream but not built by default # one_time_password plugin, included upstream but not built by default
cd libpurple/plugins/ cd libpurple/plugins/
make one_time_password.so LIBTOOL=/usr/bin/libtool make one_time_password.so V=1 LIBTOOL=/usr/bin/libtool
cd - cd -


%if %{api_docs} %if %{api_docs}
@ -613,61 +511,13 @@ ln -sf ../../doc/pidgin-docs/html/ \
$RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/pidgin $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/pidgin
%endif %endif


%if %{build_only_libs}
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/purple.schemas rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/purple.schemas
%endif


# Create list of plugins for __requires_exclude # Create list of plugins for __requires_exclude
find %{buildroot}/%{_libdir}/purple-2 -name \*.so\* -printf '%f|' | sed -e 's/|$//' > plugins.list find %{buildroot}/%{_libdir}/purple-2 -name \*.so\* -printf '%f|' | sed -e 's/|$//' > plugins.list


%if ! %{build_only_libs}
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/purple.schemas >/dev/null || :
killall -HUP gconfd-2 &> /dev/null || :
fi

%post
touch --no-create %{_datadir}/icons/hicolor || :
[ -x %{_bindir}/gtk-update-icon-cache ] && \
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || :
killall -HUP gconfd-2 &> /dev/null || :

%post -n finch -p /sbin/ldconfig
%endif

%post -n libpurple -p /sbin/ldconfig

%if ! %{build_only_libs}
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || :
killall -HUP gconfd-2 &> /dev/null || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor || :
[ -x %{_bindir}/gtk-update-icon-cache ] && \
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%postun -n finch -p /sbin/ldconfig
%endif

%postun -n libpurple -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%if ! %{build_only_libs} %if ! %{build_only_libs}
%files %files
%defattr(-,root,root,-)
%doc NEWS COPYING AUTHORS README ChangeLog doc/PERL-HOWTO.dox %doc NEWS COPYING AUTHORS README ChangeLog doc/PERL-HOWTO.dox
%{_bindir}/pidgin %{_bindir}/pidgin
%{_bindir}/gaim %{_bindir}/gaim
@ -681,27 +531,22 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pixmaps/pidgin/ %{_datadir}/pixmaps/pidgin/
%{_datadir}/icons/hicolor/*/apps/pidgin.* %{_datadir}/icons/hicolor/*/apps/pidgin.*
%{_datadir}/appdata/pidgin.appdata.xml %{_datadir}/appdata/pidgin.appdata.xml
%{_sysconfdir}/gconf/schemas/purple.schemas


%if %{split_evolution} %if %{split_evolution}
%files evolution %files evolution
%defattr(-,root,root,-)
%{_libdir}/pidgin/gevolution.so %{_libdir}/pidgin/gevolution.so
%endif %endif


%files perl %files perl
%defattr(-,root,root,-)
%{_mandir}/man3/Pidgin* %{_mandir}/man3/Pidgin*
%{_libdir}/pidgin/perl/ %{_libdir}/pidgin/perl/


%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/pidgin/ %{_includedir}/pidgin/
%{_libdir}/pkgconfig/pidgin.pc %{_libdir}/pkgconfig/pidgin.pc
%endif %endif


%files -f pidgin.lang -n libpurple %files -f pidgin.lang -n libpurple
%defattr(-,root,root,-)
%doc COPYING %doc COPYING
%{_libdir}/purple-2/ %{_libdir}/purple-2/
%exclude %{_libdir}/purple-2/perl %exclude %{_libdir}/purple-2/perl
@ -724,7 +569,6 @@ rm -rf $RPM_BUILD_ROOT
%exclude %{_libdir}/purple-2/perl/ %exclude %{_libdir}/purple-2/perl/


%files -n libpurple-devel %files -n libpurple-devel
%defattr(-,root,root,-)
%{_datadir}/aclocal/purple.m4 %{_datadir}/aclocal/purple.m4
%{_libdir}/libpurple.so %{_libdir}/libpurple.so
%{_includedir}/libpurple/ %{_includedir}/libpurple/
@ -734,45 +578,123 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif


%files -n libpurple-perl %files -n libpurple-perl
%defattr(-,root,root,-)
%{_mandir}/man3/Purple* %{_mandir}/man3/Purple*
%{_libdir}/purple-2/perl.so %{_libdir}/purple-2/perl.so
%{_libdir}/purple-2/perl/ %{_libdir}/purple-2/perl/


%files -n libpurple-tcl %files -n libpurple-tcl
%defattr(-,root,root,-)
%{_libdir}/purple-2/tcl.so %{_libdir}/purple-2/tcl.so


%if ! %{build_only_libs} %if ! %{build_only_libs}
%files -n finch %files -n finch
%defattr(-,root,root,-)
%{_bindir}/finch %{_bindir}/finch
%{_libdir}/finch/ %{_libdir}/finch/
%{_libdir}/gnt/
%{_libdir}/libgnt.so.*
%{_mandir}/man1/finch.* %{_mandir}/man1/finch.*


%files -n finch-devel %files -n finch-devel
%defattr(-,root,root,-)
%{_includedir}/finch/ %{_includedir}/finch/
%{_includedir}/gnt/
%{_libdir}/libgnt.so
%{_libdir}/pkgconfig/gnt.pc
%{_libdir}/pkgconfig/finch.pc %{_libdir}/pkgconfig/finch.pc
%endif %endif


%if %{api_docs} %if %{api_docs}
%files -n pidgin-docs %files -n pidgin-docs
%defattr(-,root,root,-)
%doc html %doc html
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%endif %endif


%changelog %changelog
* Mon Jul 20 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.1-1
- New version
Resolves: rhbz#1856866
- Dropped purple-remote-python3, python-3.8-fix patches (not needed)
- Dropped fix-build-against-nm-1.0 patch (upstreamed)
- Split libgnt to separate package

* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.13.0-21
- Perl 5.32 rebuild

* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.13.0-20
- Rebuilt for Python 3.9

* Mon May 4 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-19
- Fixed spec syntax error in the evolution integration conditional

* Wed Apr 22 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-18
- Dropped gconf

* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.13.0-16
- Rebuilt for Python 3.8

* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Thu Jul 04 2019 Stefan Becker <chemobejk@gmail.com> - 2.13.0-14
- add support for NetworkManager-libnm integration (#1726938)

* Fri Jun 07 2019 Debarshi Ray <rishi@fedoraproject.org> - 2.13.0-13
- Drop AIM support

* Tue Jun 04 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.13.0-12
- Perl 5.30 re-rebuild updated packages

* Tue Jun 4 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-11
- Fixed FTBFS with python-3.8
Resolves: rhbz#1716480
- Made build more verbose (V=1)
- De-fuzzified patches

* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.13.0-10
- Perl 5.30 rebuild

* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 2.13.0-8
- Rebuilt for libcrypt.so.2 (#1666033)

* Tue Oct 09 2018 Debarshi Ray <rishi@fedoraproject.org> - 2.13.0-7
- Honor %%{valgrind_arches}

* Tue Jul 31 2018 Debarshi Ray <rishi@fedoraproject.org> - 2.13.0-6
- Update License

* Mon Jul 30 2018 Debarshi Ray <rishi@fedoraproject.org> - 2.13.0-5
- Make python3-config available during the build

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.13.0-3
- Perl 5.28 rebuild

* Fri May 25 2018 Adam Jackson <ajax@redhat.com> - 2.13.0-2
- Rebuild for new libidn

* Mon Apr 16 2018 Björn Esser <besser82@fedoraproject.org> - 2.13.0-1 * Mon Apr 16 2018 Björn Esser <besser82@fedoraproject.org> - 2.13.0-1
- Update to 2.13.0 (#1553811) - Update to 2.13.0 (#1553811)
- Drop nm-glib on Fedora 29+ (#1530657) - Drop nm-glib on Fedora 29+ (#1530657)


* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.12.0-7
- Rebuilt for switch to libxcrypt

* Thu Dec 21 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.12.0-6
- Cleanup spec file conditionals

* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.12.0-3
- Perl 5.26 rebuild

* Wed Apr 26 2017 Debarshi Ray <rishi@fedoraproject.org> - 2.12.0-2 * Wed Apr 26 2017 Debarshi Ray <rishi@fedoraproject.org> - 2.12.0-2
- Avoid a use-after-free in an error path (#1445915) - Avoid a use-after-free in an error path (#1445915)



23
SPECS/purple-skypeweb.spec

@ -1,17 +1,13 @@
%global plugin_name skypeweb %global plugin_name skypeweb


%global commit0 5d29285f0f845ece94dc012371605a7f353b5d0c
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global date 20190520

Name: purple-%{plugin_name} Name: purple-%{plugin_name}
Version: 1.5 Version: 1.7
Release: 7.%{date}git%{shortcommit0}%{?dist} Release: 1%{?dist}
Summary: Adds support for Skype to Pidgin Summary: Adds support for Skype to Pidgin


License: GPLv3 License: GPLv3
URL: https://github.com/EionRobb/skype4pidgin URL: https://github.com/EionRobb/skype4pidgin
Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz


BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(purple) BuildRequires: pkgconfig(purple)
@ -36,15 +32,13 @@ Requires: pidgin
Adds pixmaps, icons and smileys for Skype protocol implemented by libskypeweb. Adds pixmaps, icons and smileys for Skype protocol implemented by libskypeweb.


%prep %prep
%autosetup -n skype4pidgin-%{commit0} %autosetup -n skype4pidgin-%{version}


# fix W: wrong-file-end-of-line-encoding # fix W: wrong-file-end-of-line-encoding
sed -i -e "s,\r,," %{plugin_name}/README.md sed -i -e "s,\r,," %{plugin_name}/README.md


%build %build
#%set_build_flags
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%make_build -C %{plugin_name} %make_build -C %{plugin_name}


%install %install
@ -60,6 +54,15 @@ export CXXFLAGS="%{optflags}"
%{_datadir}/pixmaps/pidgin/emotes/skype %{_datadir}/pixmaps/pidgin/emotes/skype


%changelog %changelog
* Wed Aug 26 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.7-1
- Updated to version 1.7.

* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jun 30 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.6-1
- Updated to version 1.6.

* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7.20190520git5d29285 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7.20190520git5d29285
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild



Loading…
Cancel
Save