# Build fully statically.
-# /usr/local/devel-static is required to contain static libraries.
+# /usr/local/staticbuild is required to contain static libraries.
%define static 1
Version: @VERSION@
Release: %{release}
Group: System Environment/Base
-Packager: Jan Kratochvil <project-captive@jankratochvil.net>
+Packager: Jan Kratochvil <lace@jankratochvil.net>
Source: http://www.jankratochvil.net/project/captive/dist/@PACKAGE@-@VERSION@.tar.gz
License: GPL
BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
BuildRequires: ORBit2-devel
-# Due to --with-orbit-line=link
+# >= 2.7.0 due to --with-orbit-line=link
+# >= 2.8.3 due to Mandrake-9.2 bugreport.
%if ! %{static}
-Requires: ORBit2 >= 2.7.0
+Requires: ORBit2 >= 2.8.3
%endif
BuildRequires: openssl-devel
%if ! %{static}
The implementation allows applications running under the GNU/Linux operating
system to access NTFS drives. File system driver compatibility with VFAT,
ISO9660 and EXT2 is also provided.
+
+http://www.jankratochvil.net/project/captive/
%if %{static}
This packaging is a standalone static version, no other packages are needed.
%endif
# 'define' of rpm(1) does not accept line-continuation backslashes ('\').
%if %{static}
+export CPPFLAGS="-I/usr/local/staticbuild/include/gnome-vfs-module-2.0"
%configure \
--disable-shared --enable-static \
--enable-standalone \