2 # rpm package description file for building
3 # Copyright (C) 2002-2003 Jan Kratochvil <project-captive@jankratochvil.net>
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
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.
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
19 # Temporary cludge before full 'devel' package gets deployed
20 %define _unpackaged_files_terminate_build 0
22 Summary: Microsoft Windows platform filesystem access.
27 Group: System Environment/Base
28 Source: http://www.jankratochvil.net/project/captive/@PACKAGE@-@VERSION@.tar.gz
30 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
31 BuildRequires: ORBit2-devel
33 BuildRequires: openssl-devel
35 BuildRequires: gnome-vfs2-devel
37 BuildRequires: libxml2-devel
41 BuildRequires: glib2-devel
43 BuildRequires: readline-devel
45 BuildRequires: gcc >= 3.0
48 Existing binary Microsoft Windows file system drivers were exploited
49 for accessing drives with possibly proprietary file system data structures.
50 Open file system API is provided to access these file system drivers.
51 Microsoft Windows system components required by these drivers
52 were analyzed and successfuly emulated in the GNU/Linux operating system.
54 The implementation allows applications running under the GNU/Linux operating
55 system to access NTFS drives. File system driver compatibility with VFAT,
56 ISO9660 and EXT2 is also provided.
59 Summary: LUFS module for Microsoft Windows platform filesystem access.
60 Group: System Environment/Base
61 Requires: captive = %{PACKAGE_VERSION}
62 Requires: lufs >= 0.9.6-1captive
65 LUFS is a hybrid userspace filesystem framework.
67 Package provides LUFS filesystem module to access Microsoft Windows platform
68 filesystems such as NTFS.
71 #% Summary: Microsoft Windows platform filesystem access development support.
72 #% Group: Development/System
73 #% Requires: surprise = %{PACKAGE_VERSION}
76 #% Development package containing libraries for static linking together with
77 #% header files needed for any linking.
79 #% Microsoft Windows platform filesystem access.
86 # Never disable debug for captive, see FAQ
87 # "How to check valid input arguments? Invalid processing state assumptions?"
88 # FIXME: Use our own CFLAGS to prevent '-mcpu=i686' which up to gcc-20030214 gcc
89 # will ignore stack freeing of attribute((stdcall)) callees in caller functions code.
90 # Check at the final call of src/libcaptive/reactos/ntoskrnl/io/irp.c/IofCallDriver().
93 --enable-shared --disable-static \
95 --with-sandbox-setuid=@PACKAGE@ \
96 --with-sandbox-setgid=@PACKAGE@ \
97 --with-sandbox-chroot=%{_var}/lib/@PACKAGE@ \
102 make DESTDIR=$RPM_BUILD_ROOT install-strip
105 rm -rf $RPM_BUILD_ROOT
114 %defattr(-,root,root)
115 %doc README NEWS AUTHORS TODO
116 %{_libdir}/lib@PACKAGE@-@VERSION@.so
117 %{_libdir}/gnome-vfs-2.0/modules/lib@PACKAGE@-gnomevfs-@VERSION@.so
118 %{_libdir}/gnome-vfs-2.0/modules/lib@PACKAGE@-gnomevfs.so
119 %{_bindir}/@PACKAGE@-cmdline
120 %attr(4755,root,root) %{_sbindir}/@PACKAGE@-sandbox-server
121 %{_sysconfdir}/gnome-vfs-2.0/modules/@PACKAGE@.conf
122 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo
123 %attr(755,root,root) %{_var}/lib/@PACKAGE@
126 %defattr(-,root,root)
127 %{_libdir}/liblufs-@PACKAGE@fs-@VERSION@.so
128 %{_libdir}/liblufs-@PACKAGE@fs.so
131 # %defattr(-,root,root)
133 # /usr/include/@PACKAGE@
134 # /usr/share/aclocal/*
135 # %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.la
138 # ###for --disable-shared/(--enable-static-link disable):