Version: 1.0.2 -> 1.0.3cvs
[ntfsprogs-gnomevfs.git] / ntfsprogs-gnomevfs.spec.in
1 # $Id$
2 # rpm package description file for building
3 # Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 Summary: NTFS filesystem library GNOME virtual file-system interface
20 Name: @PACKAGE@
21 %define release 0
22 Version: @VERSION@
23 Release: %{release}
24 Group: System Environment/Base
25 Source: http://www.jankratochvil.net/project/captive/@PACKAGE@-@VERSION@.tar.gz
26 Copyright: GPL
27 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
28 BuildRequires: glib2-devel
29 Requires: glib2
30 BuildRequires: ntfsprogs-devel
31 Requires: ntfsprogs
32 BuildRequires: gnome-vfs2-devel
33 Requires: gnome-vfs2
34
35 %description
36 NTFS filesystem library provides mostly read/only access to NTFS disks.
37 The GNOME virtual file-system provides universal access to diffent filesystems.
38 This package enables GNOME virtual file-system clients to seamlessly
39 utilize NTFS filesystem library.
40
41 %prep
42 %setup
43
44 %build
45 %configure
46 make
47
48 %install
49 make DESTDIR=$RPM_BUILD_ROOT install-strip
50 rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-vfs-2.0/modules/liblibntfs-gnomevfs.la
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 /sbin/ldconfig
57
58 %postun
59 /sbin/ldconfig
60
61 %files
62 %defattr(-,root,root)
63 %doc README NEWS AUTHORS TODO
64 %{_libdir}/gnome-vfs-2.0/modules/liblibntfs-gnomevfs-@VERSION@.so
65 %{_libdir}/gnome-vfs-2.0/modules/liblibntfs-gnomevfs.so
66 %{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf