2 # rpm package description file for building
3 # Copyright (C) 2002 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: Applications/System
28 Source: http://www.jankratochvil.net/sw/@PACKAGE@-@VERSION@.tar.gz
30 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
33 Microsoft Windows platform filesystem access.
37 #% Summary: Microsoft Windows platform filesystem access development support.
38 #% Group: Development/System
39 #% Requires: surprise = %{PACKAGE_VERSION}
42 #% Development package containing libraries for static linking together with
43 #% header files needed for any linking.
45 #% Microsoft Windows platform filesystem access.
52 # Never disable debug for captive, see FAQ
53 # "How to check valid input arguments? Invalid processing state assumptions?"
54 # FIXME: Use our own CFLAGS to prevent '-mcpu=i686' which up to gcc-20030214 gcc
55 # will ignore stack freeing of attribute((stdcall)) callees in caller functions code.
56 # Check at the final call of src/libcaptive/reactos/ntoskrnl/io/irp.c/IofCallDriver().
59 --enable-shared --disable-static \
64 make DESTDIR=$RPM_BUILD_ROOT install-strip
67 rm -rf $RPM_BUILD_ROOT
77 %doc README NEWS AUTHORS ChangeLog
78 %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs-@VERSION@.so
79 %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.so
80 %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.la
81 %{_libdir}/libcaptive-@VERSION@.so
82 %{_bindir}/captive-cmdline
83 %{_sysconfdir}/gnome-vfs-2.0/modules/captive.conf
84 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo
87 # %defattr(-,root,root)
89 # /usr/include/@PACKAGE@
90 # /usr/share/aclocal/*
93 # ###for --disable-shared/(--enable-static-link disable):