dde-device-formatter/dde-device-formatter.spec

44 lines
1.0 KiB
RPMSpec
Raw Normal View History

2020-09-10 08:56:21 +08:00
Name: dde-device-formatter
2021-07-08 11:27:29 +08:00
Version: 0.0.1.6
2020-09-10 08:56:21 +08:00
Release: 1
2021-07-08 11:27:29 +08:00
Summary: A simple graphical interface for creating file system in a block device
2020-09-10 08:56:21 +08:00
License: GPLv3+
URL: https://github.com/linuxdeepin/dde-device-formatter
2021-07-08 11:27:29 +08:00
Source0: %{name}-%{version}.tar.gz
2020-09-10 08:56:21 +08:00
2021-07-08 11:27:29 +08:00
BuildRequires: dtkwidget-devel dtkgui-devel dtkcore-devel qt5-devel
BuildRequires: dtkwidget-devel
BuildRequires: dtkgui-devel
BuildRequires: udisks2-qt5-devel
BuildRequires: deepin-gettext-tools
2020-09-10 08:56:21 +08:00
%description
2021-07-08 11:27:29 +08:00
%{summary}.
2020-09-10 08:56:21 +08:00
%prep
%autosetup
%build
2021-07-08 11:27:29 +08:00
export PATH=%{_qt5_bindir}:$PATH
mkdir build && pushd build
%qmake_qt5 ../ VERSION=%{version} LIB_INSTALL_DIR=%{_libdir} DEFINES+="VERSION=%{version}"
%make_build
popd
2020-09-10 08:56:21 +08:00
%install
2021-07-08 11:27:29 +08:00
%make_install -C build INSTALL_ROOT="%buildroot"
2020-09-10 08:56:21 +08:00
2021-07-08 11:27:29 +08:00
%files
2020-09-10 08:56:21 +08:00
%doc README.md
%license LICENSE
2021-07-08 11:27:29 +08:00
%{_bindir}/%{name}
%{_datadir}/%{name}/*
2020-09-10 08:56:21 +08:00
%changelog
2021-07-08 11:27:29 +08:00
* Thu Jul 08 2021 weidong <weidong@uniontech.com> - 0.0.1.6-1
- Update 0.0.1.6
2020-09-10 08:56:21 +08:00
* Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 0.0.1.1-1
- Initial package build