commit
1d7c6b62ee
BIN
qt5-ukui-platformtheme-1.0.3.tar.gz
Normal file
BIN
qt5-ukui-platformtheme-1.0.3.tar.gz
Normal file
Binary file not shown.
128
qt5-ukui-platformtheme.spec
Normal file
128
qt5-ukui-platformtheme.spec
Normal file
@ -0,0 +1,128 @@
|
||||
%define debug_package %{nil}
|
||||
Name: qt5-ukui-platformtheme
|
||||
Version: 1.0.3
|
||||
Release: 1
|
||||
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
|
||||
|
||||
Requires: libqt5-ukui-style1
|
||||
Requires: qt5-styles-ukui
|
||||
|
||||
%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
|
||||
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
%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
|
||||
|
||||
%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
|
||||
#libqt5-ukui-style/*.h usr/include/qt5-ukui
|
||||
#libqt5-ukui-style/*/*.h usr/include/qt5-ukui
|
||||
#libqt5-ukui-style/*/*/*.h usr/include/qt5-ukui
|
||||
%{_prefix}/include/qt5-ukui/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.0.3-1
|
||||
- Init package for openEuler
|
||||
Loading…
x
Reference in New Issue
Block a user