File exfatprogs.spec of Package exfatprogs.31393
#
# spec file for package exfatprogs
#
# Copyright (c) 2020 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: exfatprogs
Version: 1.0.4
Release: 0
Summary: Utilities for exFAT file system maintenance
License: GPL-2.0-or-later
URL: https://github.com/exfatprogs/exfatprogs
Source0: https://github.com/exfatprogs/exfatprogs/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: exfatprogs-libexfat-make-set_bit_le-64-bit-compatible.patch
Patch2: mkfs-fix-boot-sector-checksum-when-the-sector-size-i.patch
Patch3: 0001-fsck-repair-prevents-from-repairing-some-cases-witho.patch
Patch4: 0002-fsck-repair-restore-boot-region-from-backup-boot-reg.patch
Patch5: 0003-fsck-fix-return-value-of-check_inode.patch
Patch6: 0004-fsck-fix-return-value-of-read_boot_region.patch
Patch7: 0005-fsck-fix-an-error-message-in-read_boot_region.patch
Patch8: 0006-fsck-fix-error-messages-in-exfat_boot_region_check.patch
Patch9: 0007-fsck-add-a-option.patch
Patch10: 0008-fsck-fix-memory-leaks-in-restore_boot_region-error-p.patch
Patch11: 0009-fsck-use-BytesPerSectorShift-of-boot-sector-to-verif.patch
Patch12: fsck-fix-out-of-bounds-write-in-read_file_dentry_set.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
Conflicts: exfat-utils
Obsoletes: libexfat0 < %{version}
%description
A set of utilities for creating, checking, dumping and labelling exFAT file
system.
%package -n libexfat0
Summary: Utilities for exFAT file system maintenance
%description -n libexfat0
A set of utilities for creating, checking, dumping and labelling exFAT file
system.
This package contains the shared library.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
chmod -x COPYING
%build
autoreconf -fi
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc README.md
%{_mandir}/man8/fsck.exfat.8%{?ext_man}
%{_mandir}/man8/mkfs.exfat.8%{?ext_man}
%{_mandir}/man8/tune.exfat.8%{?ext_man}
%{_sbindir}/fsck.exfat
%{_sbindir}/mkfs.exfat
%{_sbindir}/tune.exfat
%changelog