forked from pool/pidgin
Accepting request 137836 from GNOME:Apps
Resubmit... (forwarded request 137835 from vuntz) OBS-URL: https://build.opensuse.org/request/show/137836 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin?expand=0&rev=92
This commit is contained in:
parent
8e9dfa211f
commit
e8a3f51ded
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 9 10:05:59 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Introduce with_evolution defines, which enables/disables the
|
||||
evolution plugin conditionally (only available on openSUSE<=12.2)
|
||||
as pidgin does not yet support GNOME 3.6 (pidgin.im#15353)
|
||||
+ if with_evolution is not defined (false/0):
|
||||
- evolution-data-server BuildRequires is being skipped
|
||||
- Do not pass --with-gevolution to configure.
|
||||
- Do not build the -evolution sub package
|
||||
- Obsolete pidgin-evolution from the main package.
|
||||
- Pass --disable-vv to configure, as farstream 0.2 support is not
|
||||
avaialble yet.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 8 22:26:05 UTC 2012 - christoph.miebach@web.de
|
||||
|
||||
|
18
pidgin.spec
18
pidgin.spec
@ -22,12 +22,15 @@
|
||||
%define with_mono 0
|
||||
%endif
|
||||
|
||||
%define with_evolution 0%{?suse_version} <= 1220
|
||||
|
||||
Name: pidgin
|
||||
Summary: Multiprotocol Instant Messaging Client
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/Instant Messenger
|
||||
Version: 2.10.6
|
||||
Release: 0
|
||||
# FIXME: Remove unconditional --disable-vv parameter from configure once pidgin is ported to farstream 0.2
|
||||
Url: http://www.pidgin.im/
|
||||
Source: http://downloads.sourceforge.net/project/pidgin/Pidgin/%{version}/%{name}-%{version}.tar.bz2
|
||||
Source1: pidgin-NLD-smiley-theme.tar.bz2
|
||||
@ -46,7 +49,9 @@ Patch15: pidgin-fix-perl-build.patch
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: doxygen
|
||||
%if %{?with_evolution}
|
||||
BuildRequires: evolution-data-server-devel
|
||||
%endif
|
||||
BuildRequires: libtool
|
||||
%if %suse_version > 1110 && %suse_version <= 1210
|
||||
BuildRequires: farsight2-devel
|
||||
@ -161,6 +166,10 @@ Obsoletes: gaim-applet
|
||||
# Was only in the Build Service after 10.2:
|
||||
Obsoletes: gaim-unstable < 2.0.0
|
||||
Provides: gaim
|
||||
%if ! %{with_evolution}
|
||||
# If we can't build evolution, let's obsolete it for clean installations.
|
||||
Obsoletes: %{name}-evolution <= %{version}
|
||||
%endif
|
||||
%if %suse_version <= 1021
|
||||
%define _prefix /opt/gnome
|
||||
%define _libdir %{_prefix}/%{_lib}
|
||||
@ -236,11 +245,13 @@ Group: Productivity/Networking/Instant Messenger
|
||||
Requires: libpurple = %{version}
|
||||
%endif
|
||||
|
||||
%if %with_evolution
|
||||
%package evolution
|
||||
Summary: Evolution integration plugin for Pidgin
|
||||
Group: Productivity/Networking/Instant Messenger
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: packageand(%{name}:evolution-data-server)
|
||||
%endif
|
||||
|
||||
%if %with_mono
|
||||
|
||||
@ -320,8 +331,10 @@ client.
|
||||
Lotus Sametime plugin for Pidgin using the Meanwhile library.
|
||||
%endif
|
||||
|
||||
%if %with_evolution
|
||||
%description evolution
|
||||
Evolution integration plugin for Pidgin
|
||||
%endif
|
||||
|
||||
%if %with_mono
|
||||
|
||||
@ -401,7 +414,9 @@ autoreconf -fi
|
||||
%else
|
||||
--disable-mono\
|
||||
%endif
|
||||
%if %with_evolution
|
||||
--enable-gevolution\
|
||||
%endif
|
||||
--enable-gstreamer\
|
||||
%if 0%{?building_for_sle_ge_11}
|
||||
--enable-gnome-keyring\
|
||||
@ -412,6 +427,7 @@ autoreconf -fi
|
||||
%if %suse_version < 1030
|
||||
--disable-meanwhile\
|
||||
%endif
|
||||
--disable-vv\
|
||||
--with-tclconfig=%{_libdir}\
|
||||
--with-tkconfig=%{_libdir}\
|
||||
--with-system-ssl-certs=/etc/ssl/certs
|
||||
@ -518,9 +534,11 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -maxdepth 1 -xtype f -print | \
|
||||
%{_libdir}/pkgconfig/pidgin.pc
|
||||
%doc %{_mandir}/man3/Pidgin.*
|
||||
|
||||
%if %with_evolution
|
||||
%files evolution
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/pidgin/gevolution.so
|
||||
%endif
|
||||
|
||||
%files -n libpurple -f %{name}-%{version}-purpleplugins
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user