Split the update-icon-cache sub-package from the main package

This commit is contained in:
liuyumeng 2021-11-03 10:41:16 +08:00
parent 3667c1ff46
commit f8d5d62974

View File

@ -14,7 +14,7 @@
#Basic Information #Basic Information
Name: gtk3 Name: gtk3
Version: 3.24.29 Version: 3.24.29
Release: 2 Release: 3
Summary: GTK+ graphical user interface library Summary: GTK+ graphical user interface library
License: LGPLv2+ License: LGPLv2+
URL: http://www.gtk.org URL: http://www.gtk.org
@ -73,6 +73,12 @@ Requires: gtk3 = %{version}-%{release}
%description immodule-xim %description immodule-xim
The gtk3-immodule-xim package contains XIM support for GTK+ 3. The gtk3-immodule-xim package contains XIM support for GTK+ 3.
%package -n gtk-update-icon-cache
Summary: Icon theme caching utility
%description -n gtk-update-icon-cache
GTK+ can use the cache files created by gtk-update-icon-cache to avoid alot of system call and disk seek overhead when the application starts.Since the format of the cache files allows them to be mmap()ed shared between multiple applications,the overall memory consumption is reduced as well.
%package devel %package devel
Summary: Development files for gtk+3 Summary: Development files for gtk+3
Requires: gtk3 = %{version}-%{release} Requires: gtk3 = %{version}-%{release}
@ -168,7 +174,6 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || :
%{_bindir}/broadwayd %{_bindir}/broadwayd
%{_bindir}/gtk-launch %{_bindir}/gtk-launch
%{_bindir}/gtk-query-immodules-3.0* %{_bindir}/gtk-query-immodules-3.0*
%{_bindir}/gtk-update-icon-cache
%{_libdir}/libgtk-3.so.* %{_libdir}/libgtk-3.so.*
%{_libdir}/libgdk-3.so.* %{_libdir}/libgdk-3.so.*
%{_libdir}/libgailutil-3.so.* %{_libdir}/libgailutil-3.so.*
@ -194,6 +199,10 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || :
%exclude %{_sysconfdir}/gtk-3.0/im-multipress.conf %exclude %{_sysconfdir}/gtk-3.0/im-multipress.conf
%endif %endif
%files -n gtk-update-icon-cache
%license COPYING
%{_bindir}/gtk-update-icon-cache
%if 0%{?enable_immodules_package} %if 0%{?enable_immodules_package}
%files immodules %files immodules
%config(noreplace) %{_sysconfdir}/gtk-3.0/im-multipress.conf %config(noreplace) %{_sysconfdir}/gtk-3.0/im-multipress.conf
@ -256,6 +265,9 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || :
%{_mandir}/man1/gtk3-widget-factory.1* %{_mandir}/man1/gtk3-widget-factory.1*
%changelog %changelog
* Wed Nov 03 2021 liuyumeng <liuyumeng5@huawei.com> - 3.24.29-3
- Split the update-icon-cache sub-package from the main package
* Wed Jun 23 2021 chenbo pan <panchenbo@uniontech.com> - 3.24.29-2 * Wed Jun 23 2021 chenbo pan <panchenbo@uniontech.com> - 3.24.29-2
- Fix virt-manager 'NoneType' object has no attribute 'conn' error - Fix virt-manager 'NoneType' object has no attribute 'conn' error