gfs2-utils/gfs2-utils.spec

71 lines
1.9 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:54:26 +08:00
Name: gfs2-utils
Version: 3.4.1
2022-04-07 17:22:27 +08:00
Release: 2
Summary: Utilities for managing the global file system (GFS2
2019-12-14 18:54:26 +08:00
License: GPLv2+ and LGPLv2+
URL: https://pagure.io/gfs2-utils
Source0: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
2022-04-07 17:22:27 +08:00
# https://github.com/andyprice/gfs2-utils/commit/17fb470
Patch0: 0001-gfs2-edit-always-use-s-style-format-for-printf-style.patch
Patch1: 0002-fix-error-format-in-gfs2hex.patch
2019-12-14 18:54:26 +08:00
BuildRequires: ncurses-devel kernel-headers automake libtool zlib-devel gettext-devel
BuildRequires: bison flex libblkid-devel libuuid-devel check-devel bzip2-devel make
2019-12-14 18:54:26 +08:00
%description
The gfs2-utils package contains a number of utilities for creating, checking,
modifying, and correcting inconsistencies in GFS2 file systems.
%package_help
%prep
%autosetup -p1
2019-12-14 18:54:26 +08:00
%build
./autogen.sh
%configure
%make_build
%check
make check || { cat tests/testsuite.log; exit 1; }
%install
make -C gfs2 install DESTDIR=%{buildroot}
rm -f %{buildroot}/usr/sbin/gfs2_trace
rm -f %{buildroot}/usr/sbin/gfs2_lockcapture
rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8
rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8
2019-12-14 18:54:26 +08:00
%files
%license doc/COPYING.* doc/COPYRIGHT doc/README.licence
2019-12-14 18:54:26 +08:00
%{_sbindir}/gfs2*
%{_sbindir}/*.gfs2
%{_sbindir}/tunegfs2
%{_sbindir}/glocktop
%{_libexecdir}/gfs2_withdraw_helper
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules
2019-12-14 18:54:26 +08:00
%files help
%doc doc/*.txt doc/README.contributing
%{_mandir}/man8/*gfs2*
%{_mandir}/man8/glocktop*
2019-12-14 18:54:26 +08:00
%{_mandir}/man5/*
2019-12-14 18:54:26 +08:00
%changelog
2022-04-07 17:22:27 +08:00
* Thu Apr 07 2022 wangkai <wangkai@h-partners.com> - 3.4.1-2
- fix build error
* Mon Dec 27 2021 wangyangli <wangyangli@kylinos.cn> - 3.4.1-1
- upgrade to 3.4.1
2020-01-21 11:56:03 +08:00
* Tue Jan 21 2020 daiqianwen <daiqianwen@huawei.com> - 3.2.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: modify spec
2019-12-14 18:54:26 +08:00
* Sat Nov 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.2.0-4
- Package Init