xfsdump/xfsdump.spec
Zhiqiang Liu c5afa77617 xfsdump: update to 3.1.9
xfsdump: update to 3.1.9

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2020-07-29 16:39:41 +08:00

56 lines
1.3 KiB
RPMSpec

Name: xfsdump
Version: 3.1.9
Release: 1
Summary: Tools create and restore for the XFS filesystem
License: GPLv2
URL: http://xfs.org
Source0: http://kernel.org/pub/linux/utils/fs/xfs/%{name}/%{name}-%{version}.tar.xz
BuildRequires: libtool, gettext, gawk, git
BuildRequires: xfsprogs-devel, ncurses-devel, libuuid-devel, libattr-devel
Requires: xfsprogs, attr
%description
xfsdump tools create and restore backups of directory trees on XFS filesystems.
%package help
Summary: Including man files for xfsdump
Requires: man
%description help
This contains man files for the using of xfsdump.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
%configure
%make_build
%install
make DIST_ROOT=$RPM_BUILD_ROOT install
mv %{buildroot}/sbin/{xfsdump,xfsrestore} %{buildroot}/%{_sbindir}/
mkdir -p %{buildroot}/%{_sharedstatedir}/xfsdump/inventory
%find_lang %{name}
%files -f %{name}.lang
%license doc/COPYING
%doc README doc/CHANGES doc/README.xfsdump
%exclude %{_datadir}/doc/xfsdump/
%{_sbindir}/*
%{_sharedstatedir}/xfsdump/inventory
%files help
%{_mandir}/man*/*
%changelog
* Wed Jul 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 3.1.9-1
- update xfsdump version to 3.1.9-1
* Thu Oct 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.8-5
- Package init