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