thin-provisioning-tools/thin-provisioning-tools.spec
ZhiqiangLiu f5bca2593d thin-provisioning-tools: remove useless readme files
thin-provisioning-tools: remove useless readme files

Signed-off-by: Zhiqiang Liu <lzhq28@mail.ustc.edu.cn>
2020-07-05 11:59:35 +08:00

79 lines
2.1 KiB
RPMSpec

Name: thin-provisioning-tools
Version: 0.7.6
Release: 7
Summary: Tools for manipulating Device-mapper metadata
License: GPLv3+
URL: https://github.com/jthornber/thin-provisioning-tools
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
Patch0: 0000-device-mapper-persistent-data-avoid-strip.patch
Patch1: 0001-build-Fix-static-build-by-including-contrib-Makefile.patch
Patch2: 0002-restore_emitter-squash-a-strncpy-warning.patch
Patch3: 0003-run_set-fix-invalid-iterator-operations-113.patch
Patch4: 0004-space-map-disk-fix-the-search-range-117.patch
BuildRequires: autoconf, expat-devel
BuildRequires: libaio-devel, libstdc++-devel
BuildRequires: boost-devel, gcc-c++
Requires: expat
Provides: device-mapper-persistent-data
Obsoletes: device-mapper-persistent-data
%description
A suite of tools for manipulating the metadata of the dm-thin, dm-cache and dm-era device-mapper targets.
%package help
Summary: Including man files for thin-provisioning-tools
Requires: man
BuildArch: noarch
Provides: device-mapper-persistent-data-help
Obsoletes: device-mapper-persistent-data-help
%description help
This contains man files for the using of thin-provisioning-tools
%prep
%autosetup -n thin-provisioning-tools-%{version} -p1
echo %{version}-%{release} > VERSION
%build
autoconf
%configure --with-optimisation=
%make_build V=
%install
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
%files
%doc README.md
%license COPYING
%{_sbindir}/*
%exclude %{_sbindir}/thin_show_duplicates
%files help
%{_mandir}/man*/*
%changelog
* Sun Jul 5 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 0.7.6-7
- remove useless readme files.
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 0.7.6-6
- rebuild package
* Sat Jan 11 2020 wangjufeng<wangjufeng@huawei.com> - 0.7.6-5
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:correct changelog date
* Fri Jan 10 2020 wangjufeng<wangjufeng@huawei.com> - 0.7.6-4
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:rename the package
* Wed Sep 04 2019 wangjufeng<wangjufeng@huawei.com> - 0.7.6-3
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:openEuler Debranding