Accepting request 927301 from home:EGDFree:branches:network:pidgin

- Extract libpurple.so.* and libpurple-client.so.* to own packages
  (boo#1191780).

OBS-URL: https://build.opensuse.org/request/show/927301
OBS-URL: https://build.opensuse.org/package/show/network:pidgin/pidgin?expand=0&rev=53
This commit is contained in:
Matej Cepl 2021-10-25 18:31:05 +00:00 committed by Git OBS Bridge
parent f271f15048
commit bb6dbd889a
2 changed files with 38 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 25 12:00:44 MSK 2021 - Andrey Karepin <egdfree@opensuse.org>
- Extract libpurple.so.* and libpurple-client.so.* to own packages
(boo#1191780).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 12 16:44:39 UTC 2021 - Lukas Müller <expeehaa@outlook.com> Tue Oct 12 16:44:39 UTC 2021 - Lukas Müller <expeehaa@outlook.com>

View File

@ -113,6 +113,8 @@ and plugins.
Summary: GLib-based Instant Messenger Library Summary: GLib-based Instant Messenger Library
Group: System/Libraries 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
@ -132,6 +134,26 @@ support many more with plugins.
%lang_package -n libpurple %lang_package -n libpurple
%package -n libpurple0
Summary: GLib-based Instant Messenger Library -- main library
Group: System/Libraries
%description -n libpurple0
libpurple is a library intended to be used by programmers seeking
to write an IM client that connects to many IM networks.
This package provides the core libpurple library.
%package -n libpurple-client0
Summary: GLib-based Instant Messenger Library -- main library
Group: System/Libraries
%description -n libpurple-client0
libpurple is a library intended to be used by programmers seeking
to write an IM client that connects to many IM networks.
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 Group: System/Libraries
@ -274,6 +296,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%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-client0 -p /sbin/ldconfig
%postun -n libpurple-client0 -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
@ -301,13 +327,17 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_bindir}/purple-send %{_bindir}/purple-send
%{_bindir}/purple-send-async %{_bindir}/purple-send-async
%{_bindir}/purple-url-handler %{_bindir}/purple-url-handler
%{_libdir}/libpurple.so.*
%{_libdir}/libpurple-client.so.*
%{_libdir}/purple-2/ %{_libdir}/purple-2/
%exclude %{_libdir}/purple-2/libjabber.so %exclude %{_libdir}/purple-2/libjabber.so
%exclude %{_libdir}/purple-2/libsametime.so %exclude %{_libdir}/purple-2/libsametime.so
%exclude %{_libdir}/purple-2/tcl.so %exclude %{_libdir}/purple-2/tcl.so
%files -n libpurple0
%{_libdir}/libpurple.so.*
%files -n libpurple-client0
%{_libdir}/libpurple-client.so.*
%files -n libpurple-lang -f %{name}.lang %files -n libpurple-lang -f %{name}.lang
%files -n libpurple-branding-upstream %files -n libpurple-branding-upstream