2024-01-05 18:28:35 +01:00
|
|
|
Name: thin-provisioning-tools
|
2024-01-05 18:28:36 +01:00
|
|
|
Version: 1.0.0
|
2024-01-05 18:28:35 +01:00
|
|
|
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
|
2024-01-05 18:28:36 +01:00
|
|
|
Patch0: thin-provisioning-tools-1.0.0-fix-u64-on-32bit.patch
|
2024-01-05 18:28:35 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 18:28:36 +01:00
|
|
|
BuildRequires: rustc
|
2024-01-05 18:28:35 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 18:28:36 +01:00
|
|
|
%ifarch arm %{ix86}
|
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2024-01-05 18:28:35 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 18:28:36 +01:00
|
|
|
cargo build --release
|
2024-01-05 18:28:35 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 18:28:36 +01:00
|
|
|
|
|
|
|
%makeinstall \
|
|
|
|
STRIP=/bin/true \
|
|
|
|
DESTDIR=%{buildroot}%{_prefix} \
|
|
|
|
BINDIR=%{buildroot}%{_sbindir} \
|
|
|
|
DATADIR=%{buildroot}%{_datadir}
|
2024-01-05 18:28:35 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:28:36 +01:00
|
|
|
%{_sbindir}/cache_*
|
|
|
|
%{_sbindir}/era_*
|
2024-01-05 18:28:35 +01:00
|
|
|
%{_sbindir}/pdata_tools
|
2024-01-05 18:28:36 +01:00
|
|
|
%{_sbindir}/thin_*
|
|
|
|
%{_mandir}/man8/cache_*.8*
|
|
|
|
%{_mandir}/man8/era_*.8*
|
|
|
|
%{_mandir}/man8/thin_*.8*
|
2024-01-05 18:28:35 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:28:36 +01:00
|
|
|
* Sun Jan 29 2023 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:28:35 +01:00
|
|
|
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:28:35 +01:00
|
|
|
* Sun Jun 09 2019 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:28:35 +01:00
|
|
|
* Sat Jun 01 2019 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:28:35 +01:00
|
|
|
* Tue May 07 2019 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:28:35 +01:00
|
|
|
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:28:35 +01:00
|
|
|
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.6-1mamba
|
|
|
|
- package created using the webbuild interface
|