Update 0.0.1.6

This commit is contained in:
wei dong 2021-07-08 11:27:29 +08:00
parent 0ce8522615
commit e5d7fe93ea
3 changed files with 22 additions and 24 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,45 +1,43 @@
%bcond_with check
%global with_debug 1
%if 0%{?with_debug}
%global debug_package %{nil}
%endif
Name: dde-device-formatter Name: dde-device-formatter
Version: 0.0.1.1 Version: 0.0.1.6
Release: 1 Release: 1
Summary: A simple graphical interface for creating file system in a block device. Summary: A simple graphical interface for creating file system in a block device
License: GPLv3+ License: GPLv3+
URL: https://github.com/linuxdeepin/dde-device-formatter URL: https://github.com/linuxdeepin/dde-device-formatter
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: dtkwidget-devel dtkgui-devel dtkcore-devel dde-qt-dbus-factory-devel deepin-gettext-tools BuildRequires: dtkwidget-devel dtkgui-devel dtkcore-devel qt5-devel
BuildRequires: udisks2-qt5 udisks2-qt5-devel qt5-linguist qt5-qtbase-devel qt5-qtx11extras-devel BuildRequires: dtkwidget-devel
BuildRequires: dtkgui-devel
BuildRequires: udisks2-qt5-devel
BuildRequires: deepin-gettext-tools
%description %description
A simple graphical interface for creating file system in a block device. %{summary}.
%prep %prep
%autosetup %autosetup
%build %build
export PATH=$PATH:/usr/lib64/qt5/bin export PATH=%{_qt5_bindir}:$PATH
mkdir build && cd build mkdir build && pushd build
%{_libdir}/qt5/bin/qmake .. %qmake_qt5 ../ VERSION=%{version} LIB_INSTALL_DIR=%{_libdir} DEFINES+="VERSION=%{version}"
%{__make} %make_build
%install
pushd %{_builddir}/%{name}-%{version}/build
%make_install INSTALL_ROOT=%{buildroot}
popd popd
%install
%make_install -C build INSTALL_ROOT="%buildroot"
%files %files
%doc README.md
%license LICENSE
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name}/* %{_datadir}/%{name}/*
%doc README.md
%license LICENSE
%changelog %changelog
* Thu Jul 08 2021 weidong <weidong@uniontech.com> - 0.0.1.6-1
- Update 0.0.1.6
* Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 0.0.1.1-1 * Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 0.0.1.1-1
- Initial package build - Initial package build