Blame SPECS/vdo.spec

b27167
%global commit           0bbe70862b691da346536a1dd3e75be47a3514eb
b27167
%global gittag           8.1.1.360
b27167
%global shortcommit      %(c=%{commit}; echo ${c:0:7})
b27167
b27167
%define spec_release 1
b27167
Summary: Management tools for Virtual Data Optimizer
b27167
Name: vdo
b27167
Version: %{gittag}
b27167
Release: %{spec_release}%{?dist}
b27167
License: GPLv2
b27167
Source0: https://github.com/dm-vdo/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
b27167
Patch0:  fix_dmeventd_linking.patch
b27167
URL: http://github.com/dm-vdo/vdo
b27167
# Requires: libuuid >= 2.23
b27167
Requires: kmod-kvdo >= 6.2
b27167
# Requires: util-linux >= 2.32.1-7
b27167
Provides: kvdo-kmod-common = %{version}
b27167
ExcludeArch: s390
b27167
ExcludeArch: ppc
b27167
ExcludeArch: ppc64
b27167
ExcludeArch: i686
b27167
BuildRequires: gcc
b27167
BuildRequires: libblkid-devel
b27167
BuildRequires: libuuid-devel
b27167
BuildRequires: device-mapper-devel
b27167
BuildRequires: device-mapper-event-devel
b27167
%ifarch %{valgrind_arches}
b27167
BuildRequires: valgrind-devel
b27167
%endif
b27167
BuildRequires: zlib-devel
b27167
b27167
# Disable an automatic dependency due to a file in examples/monitor.
b27167
%define __requires_exclude perl
b27167
b27167
%description
b27167
Virtual Data Optimizer (VDO) is a device mapper target that delivers
b27167
block-level deduplication, compression, and thin provisioning.
b27167
b27167
This package provides the user-space management tools for VDO.
b27167
b27167
%prep
b27167
%setup -q -n %{name}-%{commit}
b27167
%patch0 -p1
b27167
b27167
%build
b27167
make
b27167
b27167
%install
b27167
make install DESTDIR=$RPM_BUILD_ROOT INSTALLOWNER= bindir=%{_bindir} \
b27167
  defaultdocdir=%{_defaultdocdir} name=%{name} mandir=%{_mandir} \
b27167
  sysconfdir=%{_sysconfdir}
b27167
b27167
%files
b27167
#defattr(-,root,root)
b27167
%{_bindir}/vdostats
b27167
%{_bindir}/vdodmeventd
b27167
%{_bindir}/vdodumpconfig
b27167
%{_bindir}/vdoforcerebuild
b27167
%{_bindir}/vdoformat
b27167
%{_bindir}/vdosetuuid
b27167
%dir %{_sysconfdir}/bash_completion.d
b27167
%{_sysconfdir}/bash_completion.d/vdostats
b27167
%dir %{_defaultdocdir}/%{name}
b27167
%license %{_defaultdocdir}/%{name}/COPYING
b27167
%dir %{_defaultdocdir}/%{name}/examples
b27167
%dir %{_defaultdocdir}/%{name}/examples/ansible
b27167
%doc %{_defaultdocdir}/%{name}/examples/ansible/README.txt
b27167
%doc %{_defaultdocdir}/%{name}/examples/ansible/test_vdocreate.yml
b27167
%doc %{_defaultdocdir}/%{name}/examples/ansible/test_vdocreate_alloptions.yml
b27167
%doc %{_defaultdocdir}/%{name}/examples/ansible/test_vdoremove.yml
b27167
%dir %{_defaultdocdir}/%{name}/examples/monitor
b27167
%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_logicalSpace.pl
b27167
%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_physicalSpace.pl
b27167
%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_savingPercent.pl
b27167
%{_mandir}/man8/vdostats.8.gz
b27167
%{_mandir}/man8/vdodmeventd.8.gz
b27167
%{_mandir}/man8/vdodumpconfig.8.gz
b27167
%{_mandir}/man8/vdoforcerebuild.8.gz
b27167
%{_mandir}/man8/vdoformat.8.gz
b27167
%{_mandir}/man8/vdosetuuid.8.gz
b27167
b27167
%package support
b27167
Summary: Support tools for Virtual Data Optimizer
b27167
License: GPLv2
b27167
Requires: libuuid >= 2.23
b27167
b27167
%description support
b27167
Virtual Data Optimizer (VDO) is a device mapper target that delivers
b27167
block-level deduplication, compression, and thin provisioning.
b27167
b27167
This package provides the user-space support tools for VDO.
b27167
b27167
%files support
b27167
%{_bindir}/adaptLVMVDO.sh
b27167
%{_bindir}/vdoaudit
b27167
%{_bindir}/vdodebugmetadata
b27167
%{_bindir}/vdodumpblockmap
b27167
%{_bindir}/vdodumpmetadata
b27167
%{_bindir}/vdolistmetadata
b27167
%{_bindir}/vdoreadonly
b27167
%{_bindir}/vdoregenerategeometry
b27167
%{_mandir}/man8/adaptlvm.8.gz
b27167
%{_mandir}/man8/vdoaudit.8.gz
b27167
%{_mandir}/man8/vdodebugmetadata.8.gz
b27167
%{_mandir}/man8/vdodumpblockmap.8.gz
b27167
%{_mandir}/man8/vdodumpmetadata.8.gz
b27167
%{_mandir}/man8/vdolistmetadata.8.gz
b27167
%{_mandir}/man8/vdoreadonly.8.gz
b27167
%{_mandir}/man8/vdoregenerategeometry.8.gz
b27167
b27167
%changelog
b27167
* Sat Feb 12 2022 - Andy Walsh <awalsh@redhat.com> - 8.1.1.360-1
b27167
- Fixed vdostats output issues.
b27167
- Resolves: rhbz#2004576
b27167
- Removed incorrect assumptions about major device numbers in vdostats.
b27167
- Resolves: rhbz#2045885
b27167
- Made improvements to the vdorecover script.
b27167
- Resolves: rhbz#2047543
b27167
- Added a tool to make LVMVDO pools read/write so that support and
b27167
  debugging tools may access them.
b27167
- Resolves: rhbz#2047543
b27167
b27167
* Sun Jan 23 2022 - Andy Walsh <awalsh@redhat.com> - 8.1.1.287-1
b27167
- Fixed off-by-one issue in vdostats.
b27167
- Resolves: rhbz#1999056
b27167
- Improved error handling and path validation in vdostats.
b27167
- Resolves: rhbz#2004576
b27167
b27167
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 8.1.0.316-1.1
b27167
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b27167
  Related: rhbz#1991688
b27167
b27167
* Sun Aug 08 2021 - Andy Walsh <awalsh@redhat.com> - 8.1.0.316-1
b27167
- Rebased to upstream candidate.
b27167
- Resolves: rhbz#1955374
b27167
- Removed all python based tools, and all management should now be done with
b27167
  LVM.
b27167
- Resolves: rhbz#1949159
b27167
- vdostats is now a C program
b27167
- Resolves: rhbz#1972302
b27167
b27167
* Thu Jul 29 2021 - Andy Walsh <awalsh@redhat.com> - 8.1.0.264-1
b27167
- Rebased to upstream candidate.
b27167
- Related: rhbz#1955374
b27167
b27167
* Tue May 04 2021 - Andy Walsh <awalsh@redhat.com> - 8.1.0.1-1
b27167
- Initial build for EL9
b27167
- Resolves: rhbz#1955374