This commit is contained in:
parent
bb6dbd889a
commit
652c1698df
44
pidgin.spec
44
pidgin.spec
@ -17,12 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _name Pidgin
|
%define _name Pidgin
|
||||||
|
%define sover 0
|
||||||
Name: pidgin
|
Name: pidgin
|
||||||
Version: 2.14.7
|
Version: 2.14.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Multiprotocol Instant Messaging Client
|
Summary: Multiprotocol Instant Messaging Client
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Networking/Instant Messenger
|
|
||||||
URL: https://pidgin.im/
|
URL: https://pidgin.im/
|
||||||
Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
|
Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
Source1: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2.asc
|
Source1: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2.asc
|
||||||
@ -81,6 +81,7 @@ BuildRequires: pkgconfig(x11)
|
|||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xscrnsaver)
|
BuildRequires: pkgconfig(xscrnsaver)
|
||||||
Requires: ca-certificates-mozilla
|
Requires: ca-certificates-mozilla
|
||||||
|
Requires: libpurple = %{version}
|
||||||
Requires: perl-base >= %{perl_version}
|
Requires: perl-base >= %{perl_version}
|
||||||
Recommends: gstreamer-plugins-good
|
Recommends: gstreamer-plugins-good
|
||||||
%if 0%{?suse_version} >= 1500 && !0%{?is_opensuse}
|
%if 0%{?suse_version} >= 1500 && !0%{?is_opensuse}
|
||||||
@ -98,7 +99,6 @@ support many more with plugins.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development Headers, Documentation, and Libraries for Pidgin
|
Summary: Development Headers, Documentation, and Libraries for Pidgin
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: libpurple-devel = %{version}
|
Requires: libpurple-devel = %{version}
|
||||||
Requires: pkgconfig(glib-2.0)
|
Requires: pkgconfig(glib-2.0)
|
||||||
@ -111,14 +111,13 @@ and plugins.
|
|||||||
|
|
||||||
%package -n libpurple
|
%package -n libpurple
|
||||||
Summary: GLib-based Instant Messenger Library
|
Summary: GLib-based Instant Messenger Library
|
||||||
Group: System/Libraries
|
|
||||||
Requires: ca-certificates-mozilla
|
Requires: ca-certificates-mozilla
|
||||||
Requires: libpurple0 = %{version}
|
|
||||||
Requires: libpurple-client0 = %{version}
|
|
||||||
# Not really required, but standard XMPP accounts require it, if compiled with SASL support.
|
# Not really required, but standard XMPP accounts require it, if compiled with SASL support.
|
||||||
Requires: cyrus-sasl-digestmd5
|
Requires: cyrus-sasl-digestmd5
|
||||||
Requires: cyrus-sasl-plain
|
Requires: cyrus-sasl-plain
|
||||||
|
Requires: libpurple%{sover} = %{version}
|
||||||
Requires: libpurple-branding
|
Requires: libpurple-branding
|
||||||
|
Requires: libpurple-client%{sover} = %{version}
|
||||||
Requires: perl >= %{perl_version}
|
Requires: perl >= %{perl_version}
|
||||||
# Needed for purple-url-handler.
|
# Needed for purple-url-handler.
|
||||||
Requires: python3-dbus-python
|
Requires: python3-dbus-python
|
||||||
@ -134,21 +133,19 @@ support many more with plugins.
|
|||||||
|
|
||||||
%lang_package -n libpurple
|
%lang_package -n libpurple
|
||||||
|
|
||||||
%package -n libpurple0
|
%package -n libpurple%{sover}
|
||||||
Summary: GLib-based Instant Messenger Library -- main library
|
Summary: GLib-based Instant Messenger Library
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libpurple0
|
%description -n libpurple%{sover}
|
||||||
libpurple is a library intended to be used by programmers seeking
|
libpurple is a library intended to be used by programmers seeking
|
||||||
to write an IM client that connects to many IM networks.
|
to write an IM client that connects to many IM networks.
|
||||||
|
|
||||||
This package provides the core libpurple library.
|
This package provides the core libpurple library.
|
||||||
|
|
||||||
%package -n libpurple-client0
|
%package -n libpurple-client%{sover}
|
||||||
Summary: GLib-based Instant Messenger Library -- main library
|
Summary: GLib-based Instant Messenger Library
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libpurple-client0
|
%description -n libpurple-client%{sover}
|
||||||
libpurple is a library intended to be used by programmers seeking
|
libpurple is a library intended to be used by programmers seeking
|
||||||
to write an IM client that connects to many IM networks.
|
to write an IM client that connects to many IM networks.
|
||||||
|
|
||||||
@ -156,7 +153,6 @@ This package provides the core libpurple client library.
|
|||||||
|
|
||||||
%package -n libpurple-branding-upstream
|
%package -n libpurple-branding-upstream
|
||||||
Summary: GLib-based Instant Messenger Library -- Upstream default configuration
|
Summary: GLib-based Instant Messenger Library -- Upstream default configuration
|
||||||
Group: System/Libraries
|
|
||||||
Requires: libpurple = %{version}
|
Requires: libpurple = %{version}
|
||||||
Supplements: (libpurple and branding-upstream)
|
Supplements: (libpurple and branding-upstream)
|
||||||
Conflicts: libpurple-branding
|
Conflicts: libpurple-branding
|
||||||
@ -178,7 +174,6 @@ This package provides the upstream default configuration for Pidgin.
|
|||||||
|
|
||||||
%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: Development/Libraries/C and C++
|
|
||||||
Requires: libpurple = %{version}
|
Requires: libpurple = %{version}
|
||||||
Requires: pkgconfig(glib-2.0)
|
Requires: pkgconfig(glib-2.0)
|
||||||
Requires: pkgconfig(libxml-2.0)
|
Requires: pkgconfig(libxml-2.0)
|
||||||
@ -191,7 +186,6 @@ client.
|
|||||||
|
|
||||||
%package -n libpurple-tcl
|
%package -n libpurple-tcl
|
||||||
Summary: TCL Plugin Support for Pidgin
|
Summary: TCL Plugin Support for Pidgin
|
||||||
Group: Productivity/Networking/Instant Messenger
|
|
||||||
Requires: libpurple = %{version}
|
Requires: libpurple = %{version}
|
||||||
Supplements: (libpurple and tcl)
|
Supplements: (libpurple and tcl)
|
||||||
|
|
||||||
@ -201,7 +195,6 @@ or use Pidgin plugins written in the TCL programming language.
|
|||||||
|
|
||||||
%package -n libpurple-plugin-sametime
|
%package -n libpurple-plugin-sametime
|
||||||
Summary: Sametime Plugin for Pidgin using the Meanwhile Library
|
Summary: Sametime Plugin for Pidgin using the Meanwhile Library
|
||||||
Group: Productivity/Networking/Instant Messenger
|
|
||||||
Requires: libpurple = %{version}
|
Requires: libpurple = %{version}
|
||||||
# libpurple-meanwhile was last used in openSUSE Leap 42.2.
|
# libpurple-meanwhile was last used in openSUSE Leap 42.2.
|
||||||
Provides: libpurple-meanwhile = %{version}
|
Provides: libpurple-meanwhile = %{version}
|
||||||
@ -212,7 +205,6 @@ IBM Sametime plugin for Pidgin using the Meanwhile library.
|
|||||||
|
|
||||||
%package -n finch
|
%package -n finch
|
||||||
Summary: Text-Based User Interface for Pidgin Instant Messaging Client
|
Summary: Text-Based User Interface for Pidgin Instant Messaging Client
|
||||||
Group: Productivity/Networking/Instant Messenger
|
|
||||||
Requires: libpurple = %{version}
|
Requires: libpurple = %{version}
|
||||||
|
|
||||||
%description -n finch
|
%description -n finch
|
||||||
@ -223,7 +215,6 @@ and text.
|
|||||||
|
|
||||||
%package -n finch-devel
|
%package -n finch-devel
|
||||||
Summary: Headers etc. for finch Stuffs
|
Summary: Headers etc. for finch Stuffs
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: finch = %{version}
|
Requires: finch = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libpurple-devel = %{version}
|
Requires: libpurple-devel = %{version}
|
||||||
@ -295,12 +286,19 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%post -n libpurple -p /sbin/ldconfig
|
%post -n libpurple -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libpurple -p /sbin/ldconfig
|
%postun -n libpurple -p /sbin/ldconfig
|
||||||
%post -n libpurple0 -p /sbin/ldconfig
|
|
||||||
%postun -n libpurple0 -p /sbin/ldconfig
|
%post -n libpurple%{sover} -p /sbin/ldconfig
|
||||||
%post -n libpurple-client0 -p /sbin/ldconfig
|
|
||||||
%postun -n libpurple-client0 -p /sbin/ldconfig
|
%postun -n libpurple%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libpurple-client%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libpurple-client%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n finch -p /sbin/ldconfig
|
%post -n finch -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n finch -p /sbin/ldconfig
|
%postun -n finch -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user