46 lines
1.1 KiB
RPMSpec
46 lines
1.1 KiB
RPMSpec
%bcond_with check
|
|
|
|
%global with_debug 1
|
|
%if 0%{?with_debug}
|
|
%global debug_package %{nil}
|
|
%endif
|
|
|
|
Name: qt5dxcb-plugin
|
|
Version: 5.0.10
|
|
Release: 1
|
|
Summary: qt5dxcb-plugin is the Qt platform integration plugin for Deepin Desktop Environment
|
|
License: GPLv3+
|
|
URL: https://github.com/linuxdeepin/qt5platform-plugins
|
|
Source0: %{name}-%{version}.orig.tar.xz
|
|
|
|
BuildRequires: qt5-qtbase-devel libXi-devel xcb-util-renderutil-devel libSM-devel dbus-devel xcb-util-image-devel xcb-util-wm-devel xcb-util-keysyms-devel libxkbcommon-x11-devel mtdev-devel cairo-devel qt5-qtx11extras-devel qt5-qtx11extras git qt5-qtbase-static
|
|
|
|
%description
|
|
qt5dxcb-plugin is the Qt platform integration plugin for Deepin Desktop Environment
|
|
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
mkdir build && cd build
|
|
%{_libdir}/qt5/bin/qmake ..
|
|
%{__make}
|
|
|
|
%install
|
|
pushd %{_builddir}/%{name}-%{version}/build
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
popd
|
|
|
|
%files
|
|
%{_libdir}/qt5/plugins/platforms/libdxcb.so
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 5.0.10-1
|
|
- Initial release for OpenEuler
|