# $Id$ # rpm package description file for building # Copyright (C) 2003 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Summary: NTFS filesystem library GNOME virtual file-system interface Name: @PACKAGE@ %define release 0 Version: @VERSION@ Release: %{release} Group: System Environment/Base Source: http://www.jankratochvil.net/project/captive/@PACKAGE@-@VERSION@.tar.gz Copyright: GPL BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root BuildRequires: glib2-devel Requires: glib2 BuildRequires: ntfsprogs-devel Requires: ntfsprogs BuildRequires: gnome-vfs2-devel Requires: gnome-vfs2 %description NTFS filesystem library provides mostly read/only access to NTFS disks. The GNOME virtual file-system provides universal access to diffent filesystems. This package enables GNOME virtual file-system clients to seamlessly utilize NTFS filesystem library. %prep %setup %build %configure make %install make DESTDIR=$RPM_BUILD_ROOT install-strip rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-vfs-2.0/modules/liblibntfs-gnomevfs.la %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %doc README NEWS AUTHORS TODO %{_libdir}/gnome-vfs-2.0/modules/liblibntfs-gnomevfs-@VERSION@.so %{_libdir}/gnome-vfs-2.0/modules/liblibntfs-gnomevfs.so %{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf