!1 Initial package.
From: @weidongkl Reviewed-by: @yeqinglong01 Signed-off-by: @yeqinglong01
This commit is contained in:
commit
b64504517c
BIN
deepin-draw-5.8.0.58.tar.gz
Normal file
BIN
deepin-draw-5.8.0.58.tar.gz
Normal file
Binary file not shown.
45
deepin-draw.spec
Normal file
45
deepin-draw.spec
Normal file
@ -0,0 +1,45 @@
|
||||
Name: deepin-draw
|
||||
Version: 5.8.0.58
|
||||
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
|
||||
|
||||
BuildRequires: gcc-c++ qt5-devel
|
||||
BuildRequires: dtkwidget-devel pkgconfig(dtkgui) pkgconfig(libexif)
|
||||
BuildRequires: dtkcore-devel freeimage-devel libXext-devel
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
mkdir build && pushd build
|
||||
%qmake_qt5 ../ VERSION=%{version} DEFINES+="VERSION=%{version}"
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_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
|
||||
%{_datadir}/mime/application/x-ddf.xml
|
||||
%{_datadir}/mime/packages/*.xml
|
||||
|
||||
%changelog
|
||||
* Sat May 08 2021 weidong <weidong@uniontech.com> - 5.8.0.58-1
|
||||
- Initial package.
|
||||
Loading…
x
Reference in New Issue
Block a user