vdo/vdo.spec

87 lines
2.7 KiB
RPMSpec
Raw Normal View History

2020-02-18 11:27:01 +08:00
Name: vdo
2024-02-27 09:26:34 +08:00
Version: 8.2.2.2
2024-09-27 11:06:50 +08:00
Release: 3
2020-02-18 11:27:01 +08:00
Summary: Management tools for Virtual Data Optimizer
License: GPLv2
URL: http://github.com/dm-vdo/vdo
2022-05-20 10:53:21 +08:00
Source0: https://github.com/dm-vdo/vdo/archive/refs/tags/%{version}.tar.gz
2024-02-27 09:26:34 +08:00
Patch0001: 0001-Add-loongarch64-support.patch
Patch0002: 0002-fix_dmeventd_linking.patch
Patch0003: 0003-RISC-V-support.patch
2024-09-27 10:47:57 +08:00
Patch0004: 0004-clang-support.patch
2020-02-18 11:27:01 +08:00
BuildRequires: gcc libuuid-devel device-mapper-devel device-mapper-event-devel
BuildRequires: zlib-devel libblkid-devel
%ifarch "%{valgrind_arches}"
BuildRequires: valgrind-devel
%endif
2020-02-18 11:27:01 +08:00
%{?systemd_requires}
2024-02-27 09:26:34 +08:00
Requires: libuuid >= 2.23 kmod-kvdo >= 6.2 util-linux >= 2.32.1
2020-02-18 11:27:01 +08:00
Provides: kvdo-kmod-common = %{version}
%define __requires_exclude perl
%description
Virtual Data Optimizer (VDO) is a device mapper target that delivers
block-level deduplication, compression, and thin provisioning.
This package provides the user-space management tools for VDO.
%package_help
%prep
2024-02-27 09:26:34 +08:00
%autosetup -n %{name}-%{version} -p1
2020-02-18 11:27:01 +08:00
%build
%make_build
%install
%make_install DESTDIR=%{buildroot} INSTALLOWNER= bindir=%{_bindir} \
2024-02-27 09:26:34 +08:00
defaultdocdir=%{_defaultdocdir} name=%{name} mandir=%{_mandir} \
unitdir=%{_unitdir} presetdir=%{_presetdir} sysconfdir=%{_sysconfdir}
2020-02-18 11:27:01 +08:00
%files
%defattr(-,root,root)
%dir %{_defaultdocdir}/%{name}
%doc CONTRIBUTORS.txt README.md
2024-02-27 09:26:34 +08:00
%dir %{_defaultdocdir}/%{name}/examples
2020-02-18 11:27:01 +08:00
%doc %{_defaultdocdir}/%{name}/examples/*
%license %{_defaultdocdir}/%{name}/COPYING
%{_bindir}/*
2024-02-27 09:26:34 +08:00
%dir %{_sysconfdir}/bash_completion.d
%{_sysconfdir}/bash_completion.d/vdostats
2020-02-18 11:27:01 +08:00
%files help
%defattr(-,root,root)
%{_mandir}/man8/*
%changelog
2024-09-27 11:06:50 +08:00
* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 8.2.2.2-3
- Fix add if else to support clang
* Sun Apr 28 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 8.2.2.2-2
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
2024-02-27 09:26:34 +08:00
* Tue Feb 27 2024 liyanan <liyanan61@h-partners.com> - 8.2.2.2-1
- Upgrade to 8.2.2.2
* Wed Aug 16 2023 huxintao <806908118@qq.com> - 6.2.9.7-1
- Upgrade to 6.2.9.7
2023-03-17 16:42:17 +08:00
* Fri Mar 17 2023 laokz <zhangkai@iscas.ac.cn> - 6.2.6.14-3
- Add RISC-V support (Patch by YukariChiba<i@0x7f.cc>)
- Source of fence commands: RISC-V ISA Spec from riscv.org
- Remove -Wcast-align flag, since it causes error in RISC-V gcc
- Remove error-prone patch isolation macro
2023-03-07 11:27:17 +08:00
* Tue Mar 7 2023 doupengda <doupengda@loongson.cn> - 6.2.6.14-2
- Add loongarch64 support
2022-05-20 10:53:21 +08:00
* Fri May 20 2022 houyingchao <houyingchao@h-partners.com> - 6.2.6.14-1
- Upgrade to 6.2.6.14
* Fri Jun 5 2020 leiju<leiju4@huawei.com> - 6.2.0.298-13
- Fix null string and misaligned pointers
2020-02-18 11:27:01 +08:00
* Tue Feb 18 2019 cangyi<cangyi@huawei.com> - 6.2.0.298-12
- Package init