Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37501122
en ru br
ALT Linux repos
S:2022.10.3-alt1
5.0: 1.2506-alt3
4.1: 1.2506-alt2.M41.1
4.0: 1.2129-alt3.M40.1

Group :: System/Kernel and hardware
RPM: ntfs-3g

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: ntfs-3g
Version: 2022.10.3
Release: alt1
Epoch: 2
Summary: third generation Linux NTFS driver
URL: http://www.ntfs-3g.org/
Group: System/Kernel and hardware
License: GPLv2
Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: lib%name = %epoch:%version-%release
Provides: ntfsprogs = %epoch:%version-%release fuse-ntfs = %epoch:%version-%release
Obsoletes: ntfsprogs fuse-ntfs

Source0: %name-%version.tar
Patch0: %name-%version-%release.patch

BuildRequires: libattr-devel libfuse-devel libgcrypt-devel libgnutls-devel libuuid-devel

%description
The ntfs-3g driver is an open source, freely available read/write NTFS
driver, which provides safe and fast handling of the Windows XP, Windows
Server 2003, Windows 2000 and Windows Vista filesystems. Almost the full
POSIX filesystem functionality is supported, the major exceptions are
changing the file ownerships and the access rights.

This package contains utils for %name

%package -n lib%name
Summary: Shared libraries for %name
Group: System/Libraries
Provides: libntfs = %epoch:%version-%release

%description -n lib%name
The ntfs-3g driver is an open source, freely available read/write NTFS
driver, which provides safe and fast handling of the Windows XP, Windows
Server 2003, Windows 2000 and Windows Vista filesystems. Almost the full
POSIX filesystem functionality is supported, the major exceptions are
changing the file ownerships and the access rights.

This package contains shared libraries for %name

%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C
Requires: lib%name = %epoch:%version-%release
Provides: libntfs-devel = %epoch:%version-%release
Obsoletes: libntfs-devel

%description -n lib%name-devel
The ntfs-3g driver is an open source, freely available read/write NTFS
driver, which provides safe and fast handling of the Windows XP, Windows
Server 2003, Windows 2000 and Windows Vista filesystems. Almost the full
POSIX filesystem functionality is supported, the major exceptions are
changing the file ownerships and the access rights.

This package contains header files for %name

%prep
%setup -q
%patch0 -p1

%build
%autoreconf
%configure \
--sbindir=/sbin \
--bindir=/bin \
--with-fuse=external \
--enable-posix-acls \
--enable-crypto \
--enable-extras \
--disable-ldconfig \
--disable-static
%make_build

%install
%make DESTDIR=%buildroot install

ln -sf ../bin/ntfs-3g %buildroot/sbin/mount.ntfs

mkdir -p %buildroot/%_lib
for f in %buildroot%_libdir/lib*.so; do
t=$(readlink "$f")
ln -sf ../../%_lib/"$t" "$f"
done
mv %buildroot%_libdir/lib*.so.* %buildroot/%_lib/

%files
%doc README AUTHORS CREDITS ChangeLog NEWS
/sbin/*
/bin/*
%_man8dir/*

%files -n lib%name
/%_lib/lib*.so.*

%files -n lib%name-devel
%_includedir/ntfs-3g
%_libdir/lib*.so
%_pkgconfigdir/*.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin