File ntfsprogs.spec of Package ntfsprogs
#
# spec file for package ntfsprogs (Version 1.13.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ntfsprogs
BuildRequires: gnutls-devel libgcrypt-devel lzma pkgconfig
License: GPL v2 or later
Group: System/Filesystems
Requires: gnutls
AutoReqProv: on
Version: 1.13.1
Release: 76
Summary: NTFS filesystem libraries and utilities
Url: http://www.linux-ntfs.org/
Source: %name-%version.tar.lzma
Patch: %{name}-%{version}-rename-MS_.diff
Patch1: %{name}-%{version}-vistahotfix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Linux-NTFS project (http://linux-ntfs.sf.net/) aims to bring full
support for the NTFS filesystem to the Linux operating system. The
ntfsprogs package currently consists of a static library and utilities
such as mkntfs, ntfscat, ntfsls, ntfsresize, and ntfsundelete (for a
full list of included utilities see man 8 ntfsprogs after
installation).
Authors:
--------
Anton Altaparmakov
Matthew J. Fanto
Richard Russon
Szakacsits Szabolcs
%package devel
License: GPL v2 or later
Summary: Development package for using libntfs from other programs
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
This package includes the header files and libraries needed to link
software with the NTFS library (libntfs).
Authors:
--------
Anton Altaparmakov
Matthew J. Fanto
Richard Russon
Szakacsits Szabolcs
%prep
lzma -dc %{SOURCE0} | tar x --recursive-unlink -f -
%setup -q -D -T
%patch -p1
%patch1 -p0
%build
autoreconf -i -f
PKG_CONFIG=pkg-config \
%configure \
--disable-gnome-vfs \
--disable-fuse-module
%install
make install DESTDIR=$RPM_BUILD_ROOT
%check
echo >test.fs
ntfsprogs/mkntfs -q -F test.fs 3000
rm test.fs
make -C libntfs clean
./configure --enable-test
make test
%files
%defattr(-,root,root)
%doc README ChangeLog COPYING NEWS
/usr/bin/ntfscat
/usr/bin/ntfscluster
/usr/bin/ntfsfix
/usr/bin/ntfsinfo
/usr/bin/ntfsls
/usr/bin/ntfscmp
/usr/sbin/*
/sbin/mkfs.ntfs
/%{_libdir}/libntfs.so.*
%{_mandir}/man8/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files devel
%defattr(-,root,root)
/usr/include/ntfs
%exclude %_libdir/libntfs.a
%exclude %_libdir/libntfs.la
%_libdir/libntfs.so
%changelog
* Tue May 06 2008 bk@suse.de
- Remove ntfsprogs-fuse which is obsoleted by update of ntfs-3g
- Add a small %%check section including the ntfsprogs self-test
- Remove static library files from devel package as they are not used
- Repack sources to use lzma, fix rpmlint warnings, spec file cleanup
- Extract lzma tarball manually for linking this from old repositories
* Tue Mar 11 2008 bk@suse.de
- Downgrade to the package from 10.3 until upstream is useable again
* Thu Jan 10 2008 adrian@suse.de
- update to version 2.0
From official changelog:
* ntfsmount (and libntfs) now has full basic read/write support.
* Cryptographic code is now integrated into libntfs, thus ntfscat
and ntfsmount now can read encrypted files. See "man 8 libntfs"
for details.
* ntfsresize (and the entirety of ntfsprogs/libntfs in fact) now
have full support for Windows Vista.
* ntfsprogs and libntfs are now entirely endian safe and more over
now we have checks that automatically reports endian errors.
* mkntfs now creates a DCE compliant GUID for the volume and does
a few other things to be more compliant with Windows Vista.
- remove obsolete patches
* Tue Nov 28 2006 cadaha@suse.de
- vista resizing hotfix (#218948)
* Tue Nov 28 2006 cadaha@suse.de
- update to 1.13.1
* Tue Mar 28 2006 adrian@suse.de
- move ntfsmount into own sub package
* Mon Mar 27 2006 adrian@suse.de
- build also ntfsmount for fuse (#117665)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Aug 24 2005 cadaha@suse.de
- update to version 1.11.2 (#112725)
* Thu Jul 28 2005 cadaha@suse.de
- update to version 1.11.1
* Wed Oct 13 2004 adrian@suse.de
- update to version 1.9.4
* Tue Jul 06 2004 adrian@suse.de
- update to version 1.9.2
* Thu Mar 11 2004 cadaha@suse.de
- update from beta snapshot to stable version 1.9.0
- remove bswap patch (merged upstream)
- remove disable-gnome-vfs patch, use a configure switch instead
* Wed Mar 10 2004 meissner@suse.de
- If we do not have constant bswap macros supplied by glibc,
define our own. (ppc, ppc64)
* Sat Mar 06 2004 adrian@suse.de
- update to special snapshot from Anton (200403061808)
* Sat Mar 06 2004 adrian@suse.de
- update to pre 1.9 snapshot (200403052319)
* Wed Mar 03 2004 adrian@suse.de
- update to version 1.8.5
* Mon Dec 08 2003 adrian@suse.de
- update to version 1.8.0
* Thu Oct 30 2003 adrian@suse.de
- fix typo in error message (#28560)
* Tue Oct 14 2003 meissner@suse.de
- autoreconf -i -f
* Tue Oct 07 2003 ro@suse.de
- fix build with current includes (SCSI_DISK_MAJOR not defined)
* Mon Jun 16 2003 coolo@suse.de
- fix build on lib64
- removed spacing again
* Mon Jun 16 2003 coolo@suse.de
- package directories
* Mon May 26 2003 adrian@suse.de
- split -devel package for development files
- use head -n
* Sat Feb 15 2003 adrian@suse.de
- update to version 1.7.1
* urgent bugfixes
* Sun Feb 09 2003 adrian@suse.de
- fix build for lib64
* Fri Jan 31 2003 adrian@suse.de
- initial package of version 1.7.0beta