Provide statical linking of GnomeVFS "libntfs" method for: --enable-standalone
[captive.git] / captive.spec.in
index 537a13f..6cabdbe 100644 (file)
@@ -39,9 +39,10 @@ Source: http://www.jankratochvil.net/project/captive/dist/@PACKAGE@-@VERSION@.ta
 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}
@@ -163,6 +164,7 @@ NTFS disks will become mount(8)able at directories: /mnt/captive-VOLUME_NAME
 %endif
 # 'define' of rpm(1) does not accept line-continuation backslashes ('\').
 %if %{static}
+export CPPFLAGS="-I/usr/local/devel-static/include/gnome-vfs-module-2.0"
 %configure \
                --disable-shared --enable-static \
                --enable-standalone \