Accepting request 862348 from GNOME:Next
- Rename libgtk-4-0 to libgtk-4-1: the library changed soname with version 4.0.0. - Obsolete libgtk-4-0 > 4 by libgtk-4.1: this is a bit a special hack, but we know that versions < 4 were indeed libgtk-4-.so.0, and starting from version 4, it shold have been renamed. OBS-URL: https://build.opensuse.org/request/show/862348 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=58
This commit is contained in:
parent
0a25a2a4d7
commit
95c25dcd11
@ -1,5 +1,5 @@
|
|||||||
gtk4-devel
|
gtk4-devel
|
||||||
requires -gtk4-<targettype>
|
requires -gtk4-<targettype>
|
||||||
requires "libgtk-4-0-<targettype> = <version>"
|
requires "libgtk-4-1-<targettype> = <version>"
|
||||||
libgtk-4-0
|
libgtk-4-1
|
||||||
provides "gtk4-<targettype> = <version>"
|
provides "gtk4-<targettype> = <version>"
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 11 14:11:26 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Rename libgtk-4-0 to libgtk-4-1: the library changed soname with
|
||||||
|
version 4.0.0.
|
||||||
|
- Obsolete libgtk-4-0 > 4 by libgtk-4.1: this is a bit a special
|
||||||
|
hack, but we know that versions < 4 were indeed libgtk-4-.so.0,
|
||||||
|
and starting from version 4, it shold have been renamed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 9 11:44:20 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
Sat Jan 9 11:44:20 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
19
gtk4.spec
19
gtk4.spec
@ -92,7 +92,7 @@ GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|||||||
Offering a complete set of widgets, GTK+ is suitable for projects
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
||||||
ranging from small one-off projects to complete application suites.
|
ranging from small one-off projects to complete application suites.
|
||||||
|
|
||||||
%package -n libgtk-4-0
|
%package -n libgtk-4-1
|
||||||
Summary: The GTK+ toolkit library (version 4)
|
Summary: The GTK+ toolkit library (version 4)
|
||||||
# gtk4-data is currently not being built, might be an upstream oversight though
|
# gtk4-data is currently not being built, might be an upstream oversight though
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -117,10 +117,13 @@ Obsoletes: %{name}-immodule-thai
|
|||||||
Obsoletes: %{name}-immodule-tigrigna
|
Obsoletes: %{name}-immodule-tigrigna
|
||||||
Obsoletes: %{name}-immodule-vietnamese
|
Obsoletes: %{name}-immodule-vietnamese
|
||||||
Obsoletes: %{name}-immodule-xim
|
Obsoletes: %{name}-immodule-xim
|
||||||
|
# with version 4.0.0, the soname was actually changed to libgtk-4.so.1
|
||||||
|
# but the package was nor correctly renamed
|
||||||
|
Obsoletes: libgtk-4-0 >= 4
|
||||||
# Provide main package to make the lang subpackage installable
|
# Provide main package to make the lang subpackage installable
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
|
|
||||||
%description -n libgtk-4-0
|
%description -n libgtk-4-1
|
||||||
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
||||||
Offering a complete set of widgets, GTK+ is suitable for projects
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
||||||
ranging from small one-off projects to complete application suites.
|
ranging from small one-off projects to complete application suites.
|
||||||
@ -159,8 +162,8 @@ ranging from small one-off projects to complete application suites.
|
|||||||
%package branding-upstream
|
%package branding-upstream
|
||||||
Summary: Upstream theme configuration for the GTK+ toolkit library v4
|
Summary: Upstream theme configuration for the GTK+ toolkit library v4
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libgtk-4-0 = %{version}
|
Requires: libgtk-4-1 = %{version}
|
||||||
Supplements: (libgtk-4-0 and branding-upstream)
|
Supplements: (libgtk-4-1 and branding-upstream)
|
||||||
Conflicts: %{name}-branding
|
Conflicts: %{name}-branding
|
||||||
Provides: %{name}-branding = %{version}
|
Provides: %{name}-branding = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -181,7 +184,7 @@ icon themes.
|
|||||||
Summary: Development files for the GTK+ toolkit library v4
|
Summary: Development files for the GTK+ toolkit library v4
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: gettext-its-%{name} >= %{version}
|
Requires: gettext-its-%{name} >= %{version}
|
||||||
Requires: libgtk-4-0 = %{version}
|
Requires: libgtk-4-1 = %{version}
|
||||||
Requires: typelib-1_0-Gtk-4_0 = %{version}
|
Requires: typelib-1_0-Gtk-4_0 = %{version}
|
||||||
Requires: vulkan-devel
|
Requires: vulkan-devel
|
||||||
|
|
||||||
@ -249,10 +252,10 @@ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm
|
|||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
%fdupes %{buildroot}%{_libdir}
|
%fdupes %{buildroot}%{_libdir}
|
||||||
|
|
||||||
%post -n libgtk-4-0 -p /sbin/ldconfig
|
%post -n libgtk-4-1 -p /sbin/ldconfig
|
||||||
%postun -n libgtk-4-0 -p /sbin/ldconfig
|
%postun -n libgtk-4-1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libgtk-4-0
|
%files -n libgtk-4-1
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS
|
%doc AUTHORS NEWS
|
||||||
%dir %{_libdir}/gtk-4.0
|
%dir %{_libdir}/gtk-4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user