2024-01-05 18:09:40 +01:00
|
|
|
Name: stratisd
|
2024-01-05 18:09:40 +01:00
|
|
|
Version: 3.4.1
|
2024-01-05 18:09:40 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 18:09:40 +01:00
|
|
|
Summary: Easy to use local storage management for Linux
|
|
|
|
Group: System/Management
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://stratis-storage.github.io
|
|
|
|
Source: https://github.com/stratis-storage/stratisd.git/v%{version}/stratisd-%{version}.tar.bz2
|
|
|
|
License: MPL 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: libblkid-devel
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: libcryptsetup-devel
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: libudev-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
%systemd_requires
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: rustc
|
2024-01-05 18:09:40 +01:00
|
|
|
BuildRequires: asciidoc
|
2024-01-05 18:09:40 +01:00
|
|
|
Requires: thin-provisioning-tools
|
2024-01-05 18:09:40 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Easy to use local storage management for Linux.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 18:09:40 +01:00
|
|
|
%setup -q
|
2024-01-05 18:09:40 +01:00
|
|
|
|
|
|
|
# Append '--release' to `cargo build` (line 24):
|
|
|
|
sed -i 's/cargo build --target/cargo build --release --target/' Makefile
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
#%ifarch x86_64 aarch64
|
|
|
|
#sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.service
|
|
|
|
#%endif
|
2024-01-05 18:09:40 +01:00
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
%build
|
2024-01-05 18:09:40 +01:00
|
|
|
%make build build-min
|
|
|
|
|
|
|
|
#%ifarch %{ix86}
|
|
|
|
# TARGET=i686-unknown-linux-gnu
|
|
|
|
#%endif
|
2024-01-05 18:09:40 +01:00
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
a2x -f manpage docs/stratisd.txt
|
2024-01-05 18:09:40 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 18:09:40 +01:00
|
|
|
%makeinstall \
|
2024-01-05 18:09:40 +01:00
|
|
|
PROFILEDIR=release \
|
2024-01-05 18:09:40 +01:00
|
|
|
LIBEXECDIR=%{_libexecdir}
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post stratisd.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun stratisd.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart stratisd.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:09:40 +01:00
|
|
|
%{_bindir}/stratis-*
|
|
|
|
%{_libexecdir}/stratisd*
|
|
|
|
%{_systemd_util_dir}/stratis-fstab-setup
|
|
|
|
%{_systemdgeneratordir}/stratis-*-generator
|
|
|
|
%{_unitdir}/stratis-fstab-setup@.service
|
|
|
|
%{_unitdir}/stratisd-min-postinitrd.service
|
2024-01-05 18:09:40 +01:00
|
|
|
%{_unitdir}/stratisd.service
|
2024-01-05 18:09:40 +01:00
|
|
|
%{_datadir}/dbus-1/system.d/stratisd.conf
|
2024-01-05 18:09:40 +01:00
|
|
|
%{_udevrulesdir}/61-stratisd.rules
|
|
|
|
%{_prefix}/lib/udev/stratis-str-cmp
|
|
|
|
%{_prefix}/lib/udev/stratis-base32-decode
|
2024-01-05 18:09:40 +01:00
|
|
|
%dir %{_prefix}/lib/dracut/modules.d/90stratis
|
|
|
|
%{_prefix}/lib/dracut/modules.d/90stratis/*
|
|
|
|
%dir %{_prefix}/lib/dracut/modules.d/90stratis-clevis
|
|
|
|
%{_prefix}/lib/dracut/modules.d/90stratis-clevis/*
|
2024-01-05 18:09:40 +01:00
|
|
|
%{_mandir}/man8/stratisd.8*
|
2024-01-05 18:09:40 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri Dec 02 2022 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 01 2022 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Thu Nov 24 2022 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Thu Sep 15 2022 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 02 2022 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Wed Jul 20 2022 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Wed Jul 13 2022 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Mon Feb 14 2022 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Wed Feb 09 2022 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri Dec 31 2021 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Mon Sep 13 2021 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- update to 2.3.0
|
|
|
|
|
|
|
|
* Mon Oct 05 2020 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri Jun 05 2020 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Sat Nov 23 2019 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri Nov 01 2019 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri Aug 30 2019 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri May 17 2019 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Tue Jan 29 2019 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
|
|
|
|
- require thin-provisioning-tools
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Fri Dec 21 2018 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Sun Nov 25 2018 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Tue Sep 25 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- update to 0.9.0
|
|
|
|
- install stratisd to libexecdir
|
|
|
|
|
2024-01-05 18:09:40 +01:00
|
|
|
* Sun Aug 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.5-1mamba
|
|
|
|
- package created using the webbuild interface
|