1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
%define pkgrelease 1
%if 0%{?openeuler}
%define specrelease %{pkgrelease}
%else
## allow specrelease to have configurable %%{?dist} tag in other distribution
%define specrelease %{pkgrelease}%{?dist}
%endif
Name: deepin-boot-maker
Version: 5.6.14
Release: %{specrelease}
Summary: Simple tool to write system image files into CD/DVD, USB flash drive and other media.
License: GPLv3
URL: https://github.com/linuxdeepin/%{name}
Packager: LiuRui
Source0: %{name}_%{version}.orig.tar.xz
BuildRequires: python3
BuildRequires: qt5-devel
BuildRequires: xcb-util-devel
BuildRequires: mtdev-devel
BuildRequires: libXrender-devel
BuildRequires: glib2-devel
BuildRequires: fontconfig-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: startup-notification-devel
BuildRequires: dtkwidget-devel
BuildRequires: gtest-devel
BuildRequires: libXext-devel
%ifarch x86_64
Requires: syslinux
Requires: syslinux-nonlinux
%endif
Requires: p7zip
Requires: mtools
Requires: udisks2
Requires: genisoimage
%description
%{summary}.
%prep
%autosetup
%build
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
export PATH=%{_qt5_bindir}:$PATH
%qmake_qt5 DAPP_VERSION=%{version} DEFINES+="VERSION=%{version}"
%make_build
%install
%make_install INSTALL_ROOT="%buildroot"
%files
%doc README.md
%license LICENSE
%{_bindir}/*
%{_datadir}/*
/usr/lib/deepin-daemon/deepin-boot-maker-service
%changelog
|