|
|
@ -1,35 +1,39 @@
|
|
|
|
# Pass --with externalfuse to compile against system fuse lib
|
|
|
|
# Pass --with externalfuse to compile against system fuse lib
|
|
|
|
# Default is internal fuse-lite.
|
|
|
|
# Default is internal fuse-lite.
|
|
|
|
%global with_externalfuse %{?_with_externalfuse:1}%{!?_with_externalfuse:0}
|
|
|
|
%bcond_with externalfuse
|
|
|
|
|
|
|
|
|
|
|
|
# For release candidates
|
|
|
|
# For release candidates
|
|
|
|
# %%global subver -RC
|
|
|
|
# %%global subver -RC
|
|
|
|
|
|
|
|
|
|
|
|
Name: ntfs-3g
|
|
|
|
Name: ntfs-3g
|
|
|
|
Summary: Linux NTFS userspace driver
|
|
|
|
Epoch: 2
|
|
|
|
Version: 2021.8.22
|
|
|
|
Version: 2021.8.22
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
|
|
|
Summary: Linux NTFS userspace driver
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
Source0: http://tuxera.com/opensource/%{name}_ntfsprogs-%{version}%{?subver}.tgz
|
|
|
|
|
|
|
|
URL: https://www.tuxera.com/company/open-source/
|
|
|
|
URL: https://www.tuxera.com/company/open-source/
|
|
|
|
|
|
|
|
Source0: http://tuxera.com/opensource/%{name}_ntfsprogs-%{version}%{?subver}.tgz
|
|
|
|
|
|
|
|
Patch0: ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
%if %{with_externalfuse}
|
|
|
|
# ntfs-3g BuildRequires
|
|
|
|
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
|
|
|
|
%if %{with externalfuse}
|
|
|
|
BuildRequires: fuse-devel
|
|
|
|
BuildRequires: fuse-devel
|
|
|
|
Requires: fuse
|
|
|
|
Requires: fuse
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
Recommends: ntfs-3g-system-compression
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: libtool, libattr-devel
|
|
|
|
|
|
|
|
# ntfsprogs BuildRequires
|
|
|
|
# ntfsprogs BuildRequires
|
|
|
|
BuildRequires: libconfig-devel, libgcrypt-devel, gnutls-devel, libuuid-devel
|
|
|
|
BuildRequires: libconfig-devel
|
|
|
|
Epoch: 2
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: ntfsprogs-fuse = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: ntfsprogs-fuse = %{epoch}:%{version}-%{release}
|
|
|
|
Obsoletes: ntfsprogs-fuse
|
|
|
|
Obsoletes: ntfsprogs-fuse < %{epoch}:%{version}-%{release}
|
|
|
|
Provides: fuse-ntfs-3g = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: fuse-ntfs-3g = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%if 0%{?fedora}
|
|
|
|
# For library split out
|
|
|
|
Recommends: ntfs-3g-system-compression
|
|
|
|
Patch0: ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
NTFS-3G is a stable, open source, GPL licensed, POSIX, read/write NTFS
|
|
|
|
NTFS-3G is a stable, open source, GPL licensed, POSIX, read/write NTFS
|
|
|
@ -51,7 +55,6 @@ Libraries for applications to use ntfs-3g functionality.
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files and libraries for ntfs-3g
|
|
|
|
Summary: Development files and libraries for ntfs-3g
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
Provides: ntfsprogs-devel = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: ntfsprogs-devel = %{epoch}:%{version}-%{release}
|
|
|
|
# ntfsprogs-2.0.0-17 was never built. 2.0.0-16 was the last build for that
|
|
|
|
# ntfsprogs-2.0.0-17 was never built. 2.0.0-16 was the last build for that
|
|
|
|
# standalone package.
|
|
|
|
# standalone package.
|
|
|
@ -66,7 +69,7 @@ Summary: NTFS filesystem libraries and utilities
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
# We don't really provide this. This code is dead and buried now.
|
|
|
|
# We don't really provide this. This code is dead and buried now.
|
|
|
|
Provides: ntfsprogs-gnomevfs = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: ntfsprogs-gnomevfs = %{epoch}:%{version}-%{release}
|
|
|
|
Obsoletes: ntfsprogs-gnomevfs
|
|
|
|
Obsoletes: ntfsprogs-gnomevfs < %{epoch}:%{version}-%{release}
|
|
|
|
# Needed to fix multilib issue
|
|
|
|
# Needed to fix multilib issue
|
|
|
|
# ntfsprogs-2.0.0-17 was never built. 2.0.0-16 was the last build for that
|
|
|
|
# ntfsprogs-2.0.0-17 was never built. 2.0.0-16 was the last build for that
|
|
|
|
# standalone package.
|
|
|
|
# standalone package.
|
|
|
@ -82,11 +85,11 @@ included utilities see man 8 ntfsprogs after installation).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
|
|
|
|
CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static \
|
|
|
|
--disable-ldconfig \
|
|
|
|
--disable-ldconfig \
|
|
|
|
%if 0%{?_with_externalfuse:1}
|
|
|
|
%if %{with externalfuse}
|
|
|
|
--with-fuse=external \
|
|
|
|
--with-fuse=external \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
--exec-prefix=/ \
|
|
|
|
--exec-prefix=/ \
|
|
|
@ -101,7 +104,7 @@ CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install LIBTOOL=%{_bindir}/libtool
|
|
|
|
%make_install LIBTOOL=%{_bindir}/libtool
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.a
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_sbindir}/mount.ntfs-3g
|
|
|
|
rm -rf %{buildroot}/%{_sbindir}/mount.ntfs-3g
|
|
|
@ -188,6 +191,9 @@ rm -rf %{buildroot}%{_defaultdocdir}/%{name}/README
|
|
|
|
%exclude %{_mandir}/man8/ntfs-3g*
|
|
|
|
%exclude %{_mandir}/man8/ntfs-3g*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Sep 15 2021 Neal Gompa <ngompa@datto.com> - 2:2021.8.22-4
|
|
|
|
|
|
|
|
- Restyle the spec for legibility
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 13 2021 Richard W.M. Jones <rjones@redhat.com> - 2:2021.8.22-3
|
|
|
|
* Mon Sep 13 2021 Richard W.M. Jones <rjones@redhat.com> - 2:2021.8.22-3
|
|
|
|
- Remove unused ntfsprogs/boot.c replacement
|
|
|
|
- Remove unused ntfsprogs/boot.c replacement
|
|
|
|
|
|
|
|
|
|
|
|