commit e15e4d375a2c3429ab08693998c187a762ccfa8e Author: MSVSphere Packaging Team Date: Fri Oct 25 19:50:06 2024 +0300 import vdo-8.3.0.71-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f09247c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/vdo-8.3.0.71.tar.gz diff --git a/.vdo.metadata b/.vdo.metadata new file mode 100644 index 0000000..04323d6 --- /dev/null +++ b/.vdo.metadata @@ -0,0 +1 @@ +f8ecdc612aa8608a94e96877e5670228ba729058 SOURCES/vdo-8.3.0.71.tar.gz diff --git a/SPECS/vdo.spec b/SPECS/vdo.spec new file mode 100755 index 0000000..8e2951f --- /dev/null +++ b/SPECS/vdo.spec @@ -0,0 +1,109 @@ +Summary: Management tools for Virtual Data Optimizer +Name: vdo +Version: 8.3.0.71 +Release: 1%{?dist} + +License: GPL-2.0-only +URL: https://github.com/dm-vdo/vdo +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +%if 0%{?fedora} +ExcludeArch: %{ix86} +%endif +BuildRequires: device-mapper-devel +BuildRequires: device-mapper-event-devel +BuildRequires: gcc +BuildRequires: libblkid-devel +BuildRequires: libuuid-devel +BuildRequires: make +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif +BuildRequires: zlib-devel + +# Disable an automatic dependency due to a file in examples/monitor. +%global __requires_exclude perl +%if 0%{?rhel} +%global bash_completions_dir %{_datadir}/bash-completion/completions +%endif + +%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 support +Summary: Support tools for Virtual Data Optimizer +License: GPL-2.0-only + +Requires: libuuid >= 2.23 + +%description support +Virtual Data Optimizer (VDO) is a device mapper target that delivers +block-level deduplication, compression, and thin provisioning. + +This package provides the user-space support tools for VDO. + +%prep +%autosetup -p1 + +%build +%make_build VDO_VERSION=%{version} + +%install +%make_install INSTALLOWNER= name=%{name} bindir=%{_bindir} \ + mandir=%{_mandir} defaultdocdir=%{_defaultdocdir} libexecdir=%{_libexecdir} \ + presetdir=%{_presetdir} python3_sitelib=/%{python3_sitelib} \ + sysconfdir=%{_sysconfdir} unitdir=%{_unitdir} + +%files +%license COPYING +%{_bindir}/vdoforcerebuild +%{_bindir}/vdoformat +%{_bindir}/vdostats +%{bash_completions_dir}/vdostats +%dir %{_defaultdocdir}/%{name} +%dir %{_defaultdocdir}/%{name}/examples +%dir %{_defaultdocdir}/%{name}/examples/monitor +%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_logicalSpace.pl +%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_physicalSpace.pl +%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_savingPercent.pl +%{_mandir}/man8/vdoforcerebuild.8* +%{_mandir}/man8/vdoformat.8* +%{_mandir}/man8/vdostats.8* + +%files support +%license COPYING +%{_bindir}/adaptlvm +%{_bindir}/vdoaudit +%{_bindir}/vdodebugmetadata +%{_bindir}/vdodumpblockmap +%{_bindir}/vdodumpmetadata +%{_bindir}/vdolistmetadata +%{_bindir}/vdoreadonly +%{_bindir}/vdorecover +%{_mandir}/man8/adaptlvm.8* +%{_mandir}/man8/vdoaudit.8* +%{_mandir}/man8/vdodebugmetadata.8* +%{_mandir}/man8/vdodumpblockmap.8* +%{_mandir}/man8/vdodumpmetadata.8* +%{_mandir}/man8/vdolistmetadata.8* +%{_mandir}/man8/vdoreadonly.8* +%{_mandir}/man8/vdorecover.8* + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 8.3.0.71-1 +- Rebuilt for MSVSphere 10 + +* Fri Jun 28 2024 - Susan LeGendre-McGhee - 8.3.0.71-1 +- Import package files from Fedora and update spec for RHEL. +- Resolves: RHELPLAN-170321 + +* Fri Jun 07 2024 - Susan LeGendre-McGhee - 8.3.0.71-1 +- Update to 8.3.0.71 (#2290537) +- Modify build command to ensure the version is reported correctly + +* Thu May 09 2024 - Susan LeGendre-McGhee - 8.3.0.70-1 +- Initial package +