2021-05-08 11:17:46 +08:00
|
|
|
Name: deepin-draw
|
2023-05-17 13:33:22 +08:00
|
|
|
Version: 5.10.6
|
2021-05-08 11:17:46 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: A lightweight drawing tool for Linux Deepin
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: https://github.com/linuxdeepin/%{name}
|
|
|
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2022-07-19 13:49:12 +08:00
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: freeimage-devel
|
|
|
|
|
BuildRequires: dtkcore-devel
|
|
|
|
|
BuildRequires: dtkwidget-devel
|
|
|
|
|
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
|
2021-05-08 11:17:46 +08:00
|
|
|
|
2023-05-17 13:33:22 +08:00
|
|
|
Requires: dde-qt5integration
|
|
|
|
|
Recommends: deepin-manual
|
|
|
|
|
|
2021-05-08 11:17:46 +08:00
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
|
|
|
|
export PATH=%{_qt5_bindir}:$PATH
|
|
|
|
|
mkdir build && pushd build
|
2022-07-19 13:49:12 +08:00
|
|
|
%cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=%{version} -DVERSION=%{version} ../
|
2021-05-08 11:17:46 +08:00
|
|
|
%make_build
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install -C build INSTALL_ROOT="%buildroot"
|
|
|
|
|
|
2022-07-19 13:49:12 +08:00
|
|
|
%check
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
2021-05-08 11:17:46 +08:00
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_datadir}/%{name}/
|
2022-07-19 13:49:12 +08:00
|
|
|
%{_datadir}/deepin-manual/manual-assets/application/%{name}/
|
2021-05-08 11:17:46 +08:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_datadir}/dbus-1/services/com.deepin.Draw.service
|
|
|
|
|
%{_datadir}/icons/deepin/apps/scalable/%{name}.svg
|
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
|
|
%{_datadir}/%{name}/translations/*.qm
|
2022-07-19 13:49:12 +08:00
|
|
|
%{_datadir}/application/x-ddf.xml
|
|
|
|
|
%{_datadir}/mime/packages/deepin-draw.xml
|
2021-05-08 11:17:46 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-05-17 13:33:22 +08:00
|
|
|
* Wed May 17 2023 leeffo <liweiganga@uniontech.com> - 5.10.6-1
|
|
|
|
|
- update to 5.10.6
|
|
|
|
|
|
2022-07-19 13:49:12 +08:00
|
|
|
* Tue Jul 19 2022 loong_C <loong_c@yeah.net> - 5.9.9-1
|
|
|
|
|
- update to 5.9.9
|
|
|
|
|
|
|
|
|
|
* Sat May 08 2021 weidong <weidong@uniontech.com> - 5.8.0.58-1
|
2021-05-08 11:17:46 +08:00
|
|
|
- Initial package.
|