%define debug_package %{nil} Name: qt5-ukui-platformtheme Version: 1.0.8 Release: 3 Summary: Qt5 QPA platform theme of UKUI License: LGPL-3.0+ GPL-3.0+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz BuildRequires: glib2-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: gsettings-qt-devel BuildRequires: pkgconf #BuildRequires: qt5-qmake BuildRequires: qt5-qtbase-devel #BuildRequires: qtbase5-dev-tools BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qttools-devel BuildRequires: qtchooser BuildRequires: kf5-kwayland-devel BuildRequires: libqtxdg-devel BuildRequires: qt5-qtbase-static Requires: libqt5-ukui-style1 Requires: qt5-styles-ukui Requires: glib2 %description qt5-ukui-platformtheme is official platform theme of UKUI desktop environment. It also provides the common metadatas for ukui-styles and platform theme using. The library provided many convenient API for changing a qt widgets style, such as buttons color, tabwidget animation, etc. . This package provides a qt5 qpa platform theme plugin. %package -n qt5-styles-ukui Summary: QStyle plugins provided by ukui License: LGPLv2+ Requires: libqt5-ukui-style1 %description -n qt5-styles-ukui qt5-ukui-platformtheme is official platform theme of UKUI desktop environment. It also provides the common metadatas for ukui-styles and platform theme using. The library provided many convenient API for changing a qt widgets style, such as buttons color, tabwidget animation, etc. . This package provides several qstyle plugins which as default styles in ukui. For now, fusion is the base style of ukui-styles. %package -n libqt5-ukui-style1 Summary: UKUI platform theme and styles' shared library License: LGPLv2+ Requires: glib2, qt5-qtbase, qt5-qtbase-gui, gsettings-qt Provides: libqt5-ukui-style %description -n libqt5-ukui-style1 qt5-ukui-platformtheme is official platform theme of UKUI desktop environment. It also provides the common metadatas for ukui-styles and platform theme using. The library provided many convenient API for changing a qt widgets style, such as buttons color, tabwidget animation, etc. . This package provides the shared libraries used by ukui platform theme and ukui-styles. %package -n libqt5-ukui-style-dev Summary: Development files of libqt5-ukui-style1 License: LGPLv2+ Requires: libqt5-ukui-style1 = %{version} Provides: libqt5-ukui-style %description -n libqt5-ukui-style-dev qt5-ukui-platformtheme is official platform theme of UKUI desktop environment. It also provides the common metadatas for ukui-styles and platform theme using. The library provided many convenient API for changing a qt widgets style, such as buttons color, tabwidget animation, etc. . This package provides the development files of libqt5-ukui-style1. %prep %setup -q %build mkdir build && cd build qmake-qt5 .. make %post glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null %install rm -rf $RPM_BUILD_ROOT cd %{_builddir}/%{name}-%{version}/build make INSTALL_ROOT=%{buildroot} install mkdir -p %{buildroot}/usr/include/qt5-ukui/ #cp -rf %{_builddir}/%{name}-%{version}/libqt5-ukui-style/*.h %{buildroot}/usr/include/qt5-ukui/ cp -rf %{_builddir}/%{name}-%{version}/libqt5-ukui-style/*/*.h %{buildroot}/usr/include/qt5-ukui/ cp -rf %{_builddir}/%{name}-%{version}/libqt5-ukui-style/*/*/*.h %{buildroot}/usr/include/qt5-ukui/ %clean rm -rf $RPM_BUILD_ROOT %files %doc debian/changelog debian/copyright %{_libdir}/qt5/plugins/platformthemes/*.so /opt/messagebox/bin/messagebox %files -n qt5-styles-ukui %{_libdir}/qt5/plugins/styles/*.so %files -n libqt5-ukui-style1 %{_libdir}/*.so.* %{_prefix}/share/glib-2.0/schemas/org.ukui.style.gschema.xml %files -n libqt5-ukui-style-dev %{_prefix}/include/qt5-ukui/* %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %changelog * Thu Apr 14 2022 pei-jiankang - 1.0.8-3 - modify qt5-ukui-platformtheme install error * Wed Mar 02 2022 tanyulong - 1.0.8-2 - rebuild * Tue Jan 25 2022 tanyulong - 1.0.8 - update version 1.0.8-1 * Mon Oct 26 2020 douyan - 1.0.5-1 - update to upstream version 1.0.4-1+1027.1 * Thu Jul 9 2020 douyan - 1.0.3-1 - Init package for openEuler