Name: deepin-draw Version: 5.8.0.19 Release: 1%{?dist} Summary: A lightweight drawing tool for Linux Deepin License: GPLv3 URL: https://github.com/linuxdeepin/deepin-draw Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: freeimage-devel BuildRequires: pkgconfig(dtkwidget) >= 2.0.6 BuildRequires: pkgconfig(dtkwm) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(xcb-aux) BuildRequires: pkgconfig(Qt5) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: qt5-linguist Requires: deepin-notifications Requires: deepin-qt5integration %description A lightweight drawing tool for Linux Deepin. %prep %setup -q sed -i '/include /i #include ' frame/cgraphicsview.h sed -i '/include /a #include ' widgets/ciconbutton.cpp %build export PATH=%{_qt5_bindir}:$PATH %qmake_qt5 PREFIX=%{_prefix} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||: %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/mime/packages/%{name}.xml %changelog * Tue Jan 28 2020 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 20 2018 mosquito - 1.0.0-1 - Initial package build