File ntfsprogs-plus.spec of Package ntfsprogs-plus

#
# spec file for package ntfsprogs-plus
#
# Copyright (c) 2025 Boian Berberov
#
# 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:           ntfsprogs-plus
Version:        1.0.0
Release:        0%{?dist}
Group:          System/Filesystems
Summary:        NTFS Plus filesystem userspace utilities
License:        GPL-2.0-or-later

URL:            https://github.com/ntfsprogs-plus/ntfsprogs-plus

Source0:        %{url}/archive/refs/tags/%{version}.tar.gz

BuildRequires:  autoconf                >= 2.59
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  libtool
BuildRequires:  pkgconfig

BuildRequires:  pkgconfig(libgcrypt)    >= 1.2.2
BuildRequires:  pkgconfig(hwinfo)
BuildRequires:  pkgconfig(gnutls)       >= 1.4.4
BuildRequires:  uuid-devel

Conflicts:      ntfsprogs
Conflicts:      ntfsprogs-extra

%description
NTFS Plus filesystem userspace utilities



%prep
%setup -q

%if 0%{?is_opensuse}
	%if %{suse_version} < 1600
touch README
	%endif
%endif



%build
autoreconf -fiv

%configure \
	--disable-debug \
	--enable-warnings \
	--disable-pedantic \
	--disable-ldscript \
	--disable-ldconfig \
	--disable-library \
	--enable-mtab \
	--enable-posix-acls \
	--enable-xattr-mappings \
	--enable-crypto \
	--with-uuid \
	--docdir=%{_defaultdocdir}/%{name} \
	%{nil}

%make_build



%install
%make_install



%files
%license COPYING COPYING.LIB
%{_bindir}/ntfscluster
%{_bindir}/ntfsinfo
%{_sbindir}/fsck.ntfs
%{_sbindir}/fsck.ntfsplus
%{_sbindir}/mkfs.ntfs
%{_sbindir}/mkfs.ntfsplus
%{_sbindir}/mkntfs
%{_sbindir}/ntfsck
%{_sbindir}/ntfsclone
%{_sbindir}/ntfslabel
%{_sbindir}/ntfsresize
%{_defaultdocdir}/%{name}/
%{_mandir}/man8/fsck.ntfs.8*
%{_mandir}/man8/mkfs.ntfs.8*
%{_mandir}/man8/mkntfs.8*
%{_mandir}/man8/ntfsck.8*
%{_mandir}/man8/ntfsclone.8*
%{_mandir}/man8/ntfscluster.8*
%{_mandir}/man8/ntfsinfo.8*
%{_mandir}/man8/ntfslabel.8*
%{_mandir}/man8/ntfsprogs-plus.8*
%{_mandir}/man8/ntfsresize.8*



%changelog

* Wed Dec 3 2025 Boian Berberov
- Added changelog for openSUSE Leap 16
openSUSE Build Service is sponsored by