Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37735468
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 

%define _fdidir %_datadir/hal/fdi/policy/20thirdparty

Name: ntfs-3g
Version: 1.2506
Release: alt2.M41.1

Serial: 2

Summary: third generation Linux NTFS driver
Summary(ru_RU.UTF-8): Драйвер NTFS третьего поколения
URL: http://www.ntfs-3g.org/
Group: System/Kernel and hardware
License: GPL2

Source0: %name-%version.tgz
Source1: ntfs-3g.fdi
#Patch0:  ntfs-3g-oldfuse.patch

Packager: Alexey Sidorov <alexsid at altlinux.ru>

Requires: lib%name = %serial:%version-%release libfuse >= 2.7.3

# Automatically added by buildreq on Mon Oct 29 2007

BuildRequires: gcc-c++ libfuse-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
Summary(ru_RU.UTF-8): Динамические версии библиотек для %name
Group: System/Libraries

%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
Summary(ru_RU.UTF-8): Файлы разработчика приложений, использующих %name
Group: Development/C

%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.

%package -n lib%name-devel-static
Summary: Static libraries for %name
Summary(ru_RU.UTF-8): Статические версии библиотек для %name
Group: Development/C
PreReq: lib%name-devel = %serial:%version-%release

%description -n lib%name-devel-static
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 development libraries required for packaging
statically linked %name-based software.

%prep
%setup -q -n %name-%version
#patch0 -p1

%build
%autoreconf
#export FLAGS="%optflags -DNDEBUG -DNO_DEBUG -D_GNU_SOURCE $__STDC_VERSION__ "
%configure --disable-ldconfig --sbindir=/sbin --with-fuse=external
%make_build

%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_fdidir
install -m644 %SOURCE1 %buildroot%_fdidir/20-storage-ntfs-3g.fdi

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%doc AUTHORS CREDITS ChangeLog NEWS README
/sbin/mount.ntfs-3g
%_bindir/*
%_man8dir/*
%_fdidir/*.fdi

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

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

%files -n lib%name-devel-static
%_libdir/lib*.a

%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