78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
Name: thin-provisioning-tools
|
|
Version: 0.8.5
|
|
Release: 1
|
|
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
|
|
Patch1: 0001-device-mapper-persistent-data-avoid-strip.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
|
|
* Wed July 15 2020 Liu Bo <liubo254@huawei.com> - 0.8.5-1
|
|
- upgrade package to 0.8.5
|
|
|
|
* 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
|