thin-provisioning-tools/thin-provisioning-tools.spec

110 lines
3.5 KiB
RPMSpec

Name: thin-provisioning-tools
Version: 1.0.11
Release: 1mamba
Summary: A suite of tools for manipulating the metadata of the dm-thin, dm-cache and dm-era device-mapper targets
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/jthornber/thin-provisioning-tools
Source: https://github.com/jthornber/thin-provisioning-tools.git/v%{version}/thin-provisioning-tools-%{version}.tar.bz2
Patch0: thin-provisioning-tools-1.0.0-fix-u64-on-32bit.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
## AUTOBUILDREQ-END
BuildRequires: rustc
%description
A suite of tools for manipulating the metadata of the dm-thin, dm-cache and dm-era device-mapper targets.
%debug_package
%prep
%setup -q
#%ifarch arm %{ix86}
#%patch0 -p1
#%endif
%build
cargo build --release
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
STRIP=/bin/true \
DESTDIR=%{buildroot}%{_prefix} \
BINDIR=%{buildroot}%{_sbindir} \
DATADIR=%{buildroot}%{_datadir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/cache_*
%{_sbindir}/era_*
%{_sbindir}/pdata_tools
%{_sbindir}/thin_*
%{_mandir}/man8/cache_*.8*
%{_mandir}/man8/era_*.8*
%{_mandir}/man8/thin_*.8*
%doc COPYING
%changelog
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 1.0.11-1mamba
- automatic version update by autodist
* Tue Jan 16 2024 Automatic Build System <autodist@openmamba.org> 1.0.10-1mamba
- automatic version update by autodist
* Sat Dec 09 2023 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist
* Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
- automatic version update by autodist
* Fri Nov 03 2023 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
- automatic version update by autodist
* Sat Aug 12 2023 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
- automatic version update by autodist
* Tue Jul 25 2023 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
- automatic version update by autodist
* Wed Apr 26 2023 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic version update by autodist
* Fri Mar 17 2023 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic version update by autodist
* Sat Feb 18 2023 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Tue Feb 14 2023 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Sun Jan 29 2023 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic version update by autodist
* Sun Jun 09 2019 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
- automatic version update by autodist
* Sat Jun 01 2019 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
- automatic version update by autodist
* Tue May 07 2019 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.6-1mamba
- package created using the webbuild interface