91 lines
2.6 KiB
RPMSpec
91 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package gfs2-utils
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gfs2-utils
|
|
Version: 3.5.1
|
|
Release: 0
|
|
Summary: Utilities for managing the global file system (GFS2)
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
|
Group: System/Filesystems
|
|
URL: https://pagure.io/gfs2-utils
|
|
Source: https://pagure.io/gfs2-utils/archive/%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: bison
|
|
BuildRequires: bzip2
|
|
BuildRequires: check
|
|
BuildRequires: flex
|
|
BuildRequires: gettext
|
|
BuildRequires: libblkid-devel
|
|
BuildRequires: libblkid1
|
|
BuildRequires: libbz2-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libuuid1
|
|
BuildRequires: make
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
# Upstream patches
|
|
Patch1: 0001-fsck.gfs2-Tighten-offset-check-in-check_eattr_entrie.patch
|
|
Patch2: 0002-fsck.gfs2-Fix-max-xattr-record-length-check.patch
|
|
Patch3: 0003-fsck.gfs2-Fix-xattr-offset-checks-in-p1_check_eattr_.patch
|
|
|
|
%description
|
|
The gfs2-utils package contains a number of utilities for creating,
|
|
checking, modifying, and correcting any inconsistencies in GFS2
|
|
file systems.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
#NOCONFIGURE=1
|
|
./autogen.sh
|
|
%configure
|
|
%make_build
|
|
|
|
%check
|
|
make check
|
|
|
|
%install
|
|
make -C gfs2 install DESTDIR=%{buildroot}
|
|
# Don't ship gfs2_{trace,lockcapture} in this package
|
|
rm -f %{buildroot}%{_sbindir}/gfs2_trace
|
|
rm -f %{buildroot}%{_sbindir}/gfs2_lockcapture
|
|
rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8
|
|
rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8
|
|
|
|
%files
|
|
%license doc/COPYING.*
|
|
%doc doc/COPYRIGHT doc/README.* doc/*.txt
|
|
%dir %{_prefix}/lib/udev
|
|
%dir %{_prefix}/lib/udev/rules.d
|
|
%{_sbindir}/fsck.gfs2
|
|
%{_sbindir}/glocktop
|
|
%{_sbindir}/mkfs.gfs2
|
|
%{_sbindir}/tunegfs2
|
|
%{_sbindir}/gfs2_*
|
|
%{_libexecdir}/gfs2_withdraw_helper
|
|
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules
|
|
%{_mandir}/man8/*gfs2*%{?ext_man}
|
|
%{_mandir}/man5/*
|
|
%{_mandir}/man8/glocktop.8%{?ext_man}
|
|
|
|
%changelog
|