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 http://bugs.opensuse.org/
#
# 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
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: 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).
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
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