Репозитории ALT
5.1: | 2.0.0-alt6 |
4.1: | 2.0.0-alt2 |
4.0: | 1.13.1-alt2.0 |
+backports: | 2.0.0-alt0.M40.1 |
3.0: | 1.11.0-alt2.1 |
Группа :: Система/Ядро и оборудование
Пакет: ntfsprogs
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define soversion 10
%def_enable gnome_vfs
Name: ntfsprogs
Version: 2.0.0
Release: alt0.M40.1
Summary: NTFS filesystem utilities
License: GPL
Group: System/Kernel and hardware
Url: http://linux-ntfs.org/
Source0: %name-%version.tar.gz
Patch0: %name-1.13.1-link-fix.patch
Patch2: %name-1.13.1-pld-stdarg_h-required.patch
Patch3: %name-2.0.0-alt-ntfsmount-old-fuse.patch
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
BuildPreReq: gcc-c++ libfuse-devel >= 2.6.1 libuuid-devel pkgconfig
# crypto
BuildPreReq: libgnutls-devel >= 1.4.4 libgcrypt-devel >= 1.2.2 libconfig-devel
%if_enabled gnome_vfs
BuildPreReq: glib2-devel gnome-vfs2-devel
%endif
%description
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains the following utilities:
mkntfs : create an NTFS file system
ntfscat : print NTFS files and streams on the standard output
ntfsclone : efficiently clone, image, restore or rescue an NTFS
ntfscluster : identify files in a specified region of an NTFS volume
ntfscmp : compare two NTFS filesystems and tell the differences
ntfscp : copy file to an NTFS volume
ntfsfix : fix common errors and force Windows to check NTFS
ntfsinfo : dump a file's attributes
ntfslabel : display/change the label on an ntfs file system
ntfsls : list directory contents on an NTFS filesystem
ntfsresize : resize an NTFS filesystem without data loss
ntfsundelete : recover a deleted file from an NTFS volume
%package -n fuse-ntfs
Summary: NTFS FUSE mount module
Group: System/Kernel and hardware
Conflicts: ntfsprogs = 1.11.0-alt1
%description -n fuse-ntfs
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains NTFS FUSE mount module and ntfsmount helper.
%package -n libntfs%soversion
Summary: NTFS filesystem libraries
Group: System/Libraries
Provides: libntfs = %version-%release
%description -n libntfs%soversion
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains NTFS filesystem libraries.
%package -n libntfs-devel
Summary: NTFS filesystem header files
Group: Development/C
Requires: libntfs%soversion = %version-%release
%description -n libntfs-devel
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains NTFS filesystem header files.
%if_enabled gnome_vfs
%package -n libntfs-gnomevfs
Summary: GNOME VFS plugin to access NTFS volumes
Group: System/Libraries
Requires: libntfs%soversion = %version-%release
%description -n libntfs-gnomevfs
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains module to access NTFS volumes from within GNOME
VFS framework.
%package -n libntfs-gnomevfs-devel
Summary: Headers and development files for libntfs-gnomevfs
Group: Development/GNOME and GTK+
Requires: libntfs-gnomevfs = %version-%release
Requires: libntfs-devel = %version-%release
%description -n libntfs-gnomevfs-devel
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains development files for NTFS module for GNOME VFS.
%endif # gnome_vfs
%prep
%setup
%patch0 -p1
%patch2 -p1
%patch3 -p1
%__autoreconf
%build
%configure \
--disable-static \
%if_enabled gnome_vfs
--enable-gnome-vfs
%else
--disable-gnome-vfs
%endif
%make_build
%install
%make_install install DESTDIR=%buildroot
rm -f doc/Makefile*
%post -n libntfs%soversion -p %post_ldconfig
%postun -n libntfs%soversion -p %postun_ldconfig
%files
%_bindir/ntfscat
%_bindir/ntfscluster
%_bindir/ntfscmp
%_bindir/ntfsfix
%_bindir/ntfsinfo
%_bindir/ntfsls
%_sbindir/mkntfs
%_sbindir/ntfsclone
%_sbindir/ntfscp
%_sbindir/ntfslabel
%_sbindir/ntfsresize
%_sbindir/ntfsundelete
/sbin/mkfs.ntfs
%_man8dir/libntfs.*
%_man8dir/mkfs.ntfs.*
%_man8dir/mkntfs.*
%_man8dir/ntfscat.*
%_man8dir/ntfscmp.*
%_man8dir/ntfsclone.*
%_man8dir/ntfscluster.*
%_man8dir/ntfscp.*
%_man8dir/ntfsfix.*
%_man8dir/ntfsinfo.*
%_man8dir/ntfslabel.*
%_man8dir/ntfsls.*
%_man8dir/ntfsprogs.*
%_man8dir/ntfsresize.*
%_man8dir/ntfsundelete.*
%doc AUTHORS CREDITS ChangeLog NEWS README TODO.* doc/
%files -n libntfs%soversion
%_libdir/libntfs.so.*
%files -n fuse-ntfs
%_bindir/ntfsmount
/sbin/mount.fuse.ntfs
/sbin/mount.ntfs-fuse
%_man8dir/ntfsmount.*
%_man8dir/mount.fuse.ntfs.*
%_man8dir/mount.ntfs-fuse.*
%files -n libntfs-devel
%_libdir/libntfs.so
%dir %_includedir/ntfs
%_includedir/ntfs/*.h
%exclude %_includedir/ntfs/gnome-vfs*.h
%if_enabled gnome_vfs
%files -n libntfs-gnomevfs
%config %_sysconfdir/gnome-vfs-2.0/modules/libntfs.conf
%_libdir/gnome-vfs-2.0/modules/libntfs-gnomevfs.so*
%_libdir/gnome-vfs-2.0/modules/libntfs-gnomevfs.la
%_man8dir/libntfs-gnomevfs*
%files -n libntfs-gnomevfs-devel
%_includedir/ntfs/gnome-vfs*.h
%endif # gnome_vfs
%changelog
…
Полный changelog можно просмотреть здесь
%define soversion 10
%def_enable gnome_vfs
Name: ntfsprogs
Version: 2.0.0
Release: alt0.M40.1
Summary: NTFS filesystem utilities
License: GPL
Group: System/Kernel and hardware
Url: http://linux-ntfs.org/
Source0: %name-%version.tar.gz
Patch0: %name-1.13.1-link-fix.patch
Patch2: %name-1.13.1-pld-stdarg_h-required.patch
Patch3: %name-2.0.0-alt-ntfsmount-old-fuse.patch
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
BuildPreReq: gcc-c++ libfuse-devel >= 2.6.1 libuuid-devel pkgconfig
# crypto
BuildPreReq: libgnutls-devel >= 1.4.4 libgcrypt-devel >= 1.2.2 libconfig-devel
%if_enabled gnome_vfs
BuildPreReq: glib2-devel gnome-vfs2-devel
%endif
%description
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains the following utilities:
mkntfs : create an NTFS file system
ntfscat : print NTFS files and streams on the standard output
ntfsclone : efficiently clone, image, restore or rescue an NTFS
ntfscluster : identify files in a specified region of an NTFS volume
ntfscmp : compare two NTFS filesystems and tell the differences
ntfscp : copy file to an NTFS volume
ntfsfix : fix common errors and force Windows to check NTFS
ntfsinfo : dump a file's attributes
ntfslabel : display/change the label on an ntfs file system
ntfsls : list directory contents on an NTFS filesystem
ntfsresize : resize an NTFS filesystem without data loss
ntfsundelete : recover a deleted file from an NTFS volume
%package -n fuse-ntfs
Summary: NTFS FUSE mount module
Group: System/Kernel and hardware
Conflicts: ntfsprogs = 1.11.0-alt1
%description -n fuse-ntfs
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains NTFS FUSE mount module and ntfsmount helper.
%package -n libntfs%soversion
Summary: NTFS filesystem libraries
Group: System/Libraries
Provides: libntfs = %version-%release
%description -n libntfs%soversion
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains NTFS filesystem libraries.
%package -n libntfs-devel
Summary: NTFS filesystem header files
Group: Development/C
Requires: libntfs%soversion = %version-%release
%description -n libntfs-devel
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains NTFS filesystem header files.
%if_enabled gnome_vfs
%package -n libntfs-gnomevfs
Summary: GNOME VFS plugin to access NTFS volumes
Group: System/Libraries
Requires: libntfs%soversion = %version-%release
%description -n libntfs-gnomevfs
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains module to access NTFS volumes from within GNOME
VFS framework.
%package -n libntfs-gnomevfs-devel
Summary: Headers and development files for libntfs-gnomevfs
Group: Development/GNOME and GTK+
Requires: libntfs-gnomevfs = %version-%release
Requires: libntfs-devel = %version-%release
%description -n libntfs-gnomevfs-devel
The goals of the Linux-NTFS project are to develop reliable and full
feature access to NTFS by the Linux kernel driver, and by a user space
filesystem (ntfsmount), and to provide a wide collection of NTFS
utilities (ntfsprogs) and a developer's library (libntfs) for other
GPLed programs.
This package contains development files for NTFS module for GNOME VFS.
%endif # gnome_vfs
%prep
%setup
%patch0 -p1
%patch2 -p1
%patch3 -p1
%__autoreconf
%build
%configure \
--disable-static \
%if_enabled gnome_vfs
--enable-gnome-vfs
%else
--disable-gnome-vfs
%endif
%make_build
%install
%make_install install DESTDIR=%buildroot
rm -f doc/Makefile*
%post -n libntfs%soversion -p %post_ldconfig
%postun -n libntfs%soversion -p %postun_ldconfig
%files
%_bindir/ntfscat
%_bindir/ntfscluster
%_bindir/ntfscmp
%_bindir/ntfsfix
%_bindir/ntfsinfo
%_bindir/ntfsls
%_sbindir/mkntfs
%_sbindir/ntfsclone
%_sbindir/ntfscp
%_sbindir/ntfslabel
%_sbindir/ntfsresize
%_sbindir/ntfsundelete
/sbin/mkfs.ntfs
%_man8dir/libntfs.*
%_man8dir/mkfs.ntfs.*
%_man8dir/mkntfs.*
%_man8dir/ntfscat.*
%_man8dir/ntfscmp.*
%_man8dir/ntfsclone.*
%_man8dir/ntfscluster.*
%_man8dir/ntfscp.*
%_man8dir/ntfsfix.*
%_man8dir/ntfsinfo.*
%_man8dir/ntfslabel.*
%_man8dir/ntfsls.*
%_man8dir/ntfsprogs.*
%_man8dir/ntfsresize.*
%_man8dir/ntfsundelete.*
%doc AUTHORS CREDITS ChangeLog NEWS README TODO.* doc/
%files -n libntfs%soversion
%_libdir/libntfs.so.*
%files -n fuse-ntfs
%_bindir/ntfsmount
/sbin/mount.fuse.ntfs
/sbin/mount.ntfs-fuse
%_man8dir/ntfsmount.*
%_man8dir/mount.fuse.ntfs.*
%_man8dir/mount.ntfs-fuse.*
%files -n libntfs-devel
%_libdir/libntfs.so
%dir %_includedir/ntfs
%_includedir/ntfs/*.h
%exclude %_includedir/ntfs/gnome-vfs*.h
%if_enabled gnome_vfs
%files -n libntfs-gnomevfs
%config %_sysconfdir/gnome-vfs-2.0/modules/libntfs.conf
%_libdir/gnome-vfs-2.0/modules/libntfs-gnomevfs.so*
%_libdir/gnome-vfs-2.0/modules/libntfs-gnomevfs.la
%_man8dir/libntfs-gnomevfs*
%files -n libntfs-gnomevfs-devel
%_includedir/ntfs/gnome-vfs*.h
%endif # gnome_vfs
%changelog
…
Полный changelog можно просмотреть здесь