Name: dtkwm Version: 2.0.6 Release: 1%{?dist} Summary: Deepin graphical user interface library License: GPLv3 URL: https://github.com/linuxdeepin/dtkwm Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: qt5-qtbase-static BuildRequires: pkgconfig(dtkcore) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-util) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) %description DtkWm is used to handle double screen for deepin desktop development. This package contains the shared libraries. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files and libraries for %{name}. %prep %setup -q %build %qmake_qt5 PREFIX=%{_prefix} LIB_INSTALL_DIR=%{_libdir} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README.md %license LICENSE %{_libdir}/*.so.* %files devel %{_includedir}/libdtk-*/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Mon Jan 22 2018 Jaroslav Stepanek - 2.0.6-1 - Update to 2.0.6 * Wed Jan 10 2018 Jaroslav Stepanek - 2.0.5-1 - Initial package build