project init
This commit is contained in:
parent
f2e1afc66d
commit
87d7b8f895
BIN
dde-device-formatter-0.0.1.1.tar.gz
Normal file
BIN
dde-device-formatter-0.0.1.1.tar.gz
Normal file
Binary file not shown.
45
dde-device-formatter.spec
Normal file
45
dde-device-formatter.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
%bcond_with check
|
||||||
|
|
||||||
|
%global with_debug 1
|
||||||
|
%if 0%{?with_debug}
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: dde-device-formatter
|
||||||
|
Version: 0.0.1.1
|
||||||
|
Release: 1
|
||||||
|
Summary: A simple graphical interface for creating file system in a block device.
|
||||||
|
License: GPLv3+
|
||||||
|
URL: https://github.com/linuxdeepin/dde-device-formatter
|
||||||
|
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: dtkwidget-devel dtkgui-devel dtkcore-devel dde-qt-dbus-factory-devel deepin-gettext-tools
|
||||||
|
BuildRequires: udisks2-qt5 udisks2-qt5-devel qt5-linguist qt5-qtbase-devel qt5-qtx11extras-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
A simple graphical interface for creating file system in a block device.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH=$PATH:/usr/lib64/qt5/bin
|
||||||
|
mkdir build && cd build
|
||||||
|
%{_libdir}/qt5/bin/qmake ..
|
||||||
|
%{__make}
|
||||||
|
|
||||||
|
%install
|
||||||
|
pushd %{_builddir}/%{name}-%{version}/build
|
||||||
|
%make_install INSTALL_ROOT=%{buildroot}
|
||||||
|
popd
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/%{name}/*
|
||||||
|
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 0.0.1.1-1
|
||||||
|
- Initial package build
|
||||||
4
dde-device-formatter.yaml
Normal file
4
dde-device-formatter.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: linuxdeepin/dde-device-formatter
|
||||||
|
tag_prefix: ^
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user