File ntfsprogs.spec of Package ntfsprogs

# spec file for package ntfsprogs (Version 1.13.1)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           ntfsprogs
BuildRequires:  gnutls-devel libgcrypt-devel lzma pkgconfig
License:        GPLv2+
Group:          System/Filesystems
Requires:       gnutls
AutoReqProv:    on
Version:        1.13.1
Release:        108
Summary:        NTFS filesystem libraries and utilities
Source:         %name-%version.tar.lzma
Patch:          %{name}-%{version}-rename-MS_.diff
Patch1:         %{name}-%{version}-vistahotfix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The Linux-NTFS project ( 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

    Anton Altaparmakov
    Matthew J. Fanto
    Richard Russon
    Szakacsits Szabolcs

%package devel
License:        GPLv2+
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).

    Anton Altaparmakov
    Matthew J. Fanto
    Richard Russon
    Szakacsits Szabolcs

lzma -dc %{SOURCE0} | tar x --recursive-unlink -f -
%setup -q -D -T
%patch -p1
%patch1 -p0

PKG_CONFIG=pkg-config \
%configure \
  --disable-gnome-vfs \


echo >test.fs
ntfsprogs/mkntfs -q -F test.fs 3000
rm test.fs
make -C libntfs clean
./configure --enable-test
make test


%post   -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files devel
%exclude %_libdir/libntfs.a
%exclude %_libdir/

openSUSE Build Service is sponsored by