## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: deepin-draw Version: 5.10.6 Release: %autorelease 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 Patch0: 0001-Fix-MimeTypeDir.patch 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 BuildRequires: desktop-file-utils BuildRequires: cmake BuildRequires: make Requires: deepin-notifications Requires: deepin-qt5integration Recommends: deepin-manual %description A lightweight drawing tool for Linux Deepin. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/dbus-1/services/*.service %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/icons/deepin/ %{_datadir}/mime/packages/%{name}.xml %{_datadir}/mime/application/x-ddf.xml %{_datadir}/deepin-manual/ %changelog * Mon Aug 22 2022 Robin Lee 5.10.6-1 - New release 5.10.6 * Thu Jul 21 2022 Fedora Release Engineering 5.8.0.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 5.8.0.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 07 2021 Robin Lee 5.8.0.22-1 - New release 5.8.0.22 * Wed Jul 21 2021 Fedora Release Engineering - 5.8.0.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 5.8.0.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 12 2020 Robin Lee - 5.8.0.20-1 - new upstream release: 5.8.0.20 * Mon Jul 27 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * 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