Author: sparky                       Date: Mon Jan 16 00:12:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed gnome vfs and few other things
- TODO: utility is not using CFLAGS nor CXXFLAGS

---- Files affected:
SPECS:
   lufs.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/lufs.spec
diff -u SPECS/lufs.spec:1.29 SPECS/lufs.spec:1.30
--- SPECS/lufs.spec:1.29        Sun Jan 15 17:51:55 2006
+++ SPECS/lufs.spec     Mon Jan 16 01:12:41 2006
@@ -6,6 +6,7 @@
 %bcond_without smp             # don't build SMP module
 %bcond_without userspace       # don't build userspace module
 %bcond_with    verbose         # verbose build (V=1)
+%bcond_without gvfs            # no gnome vfs support
 #
 # TODO:                - longer descriptions
 #              - optional support for: wavfs, cefs, cardfs
@@ -25,9 +26,16 @@
 Patch1:                %{name}-am.patch
 Patch2:                %{name}-no_buildtime_ssh.patch
 URL:           http://lufs.sourceforge.net/lufs/
+%if %{with userspace}
 BuildRequires: autoconf
 BuildRequires: automake
+%if %{with gvfs}
+BuildRequires: gnome-libs-devel
+BuildRequires: gnome-vfs-devel
+%endif
 BuildRequires: libtool
+BuildRequires: libstdc++-devel
+%endif
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:     kernel-module-build >= 2.6.7}
 BuildRequires: rpmbuild(macros) >= 1.153
@@ -90,6 +98,10 @@
 
 %build
 %if %{with userspace}
+CPPFLAGS="$CPPFLAGS -I/usr/include/libart-2.0"; export CPPFLAGS
+%if %{without gvfs}
+sed '/opt_fs=/s/gvfs//' -i configure.in
+%endif
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -196,6 +208,9 @@
 #
 %attr(755,root,root) %{_libdir}/liblufs-ftpfs.so.*.*.*
 %attr(755,root,root) %{_libdir}/liblufs-gnetfs.so.*.*.*
+%if %{with gvfs}
+%attr(755,root,root) %{_libdir}/liblufs-gvfs.so.*.*.*
+%endif
 %attr(755,root,root) %{_libdir}/liblufs-localfs.so.*.*.*
 %attr(755,root,root) %{_libdir}/liblufs-locasefs.so.*.*.*
 %attr(755,root,root) %{_libdir}/liblufs-sshfs.so.*.*.*
@@ -209,6 +224,9 @@
 %attr(755,root,root) %{_libdir}/liblufs-ftpfs.so
 %{_libdir}/liblufs-gnetfs.la
 %attr(755,root,root) %{_libdir}/liblufs-gnetfs.so
+%if %{with gvfs}
+%{_libdir}/liblufs-gvfs.la
+%endif
 %{_libdir}/liblufs-localfs.la
 %attr(755,root,root) %{_libdir}/liblufs-localfs.so
 %{_libdir}/liblufs-locasefs.la
@@ -240,6 +258,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2006/01/16 00:12:41  sparky
+- fixed gnome vfs and few other things
+- TODO: utility is not using CFLAGS nor CXXFLAGS
+
 Revision 1.29  2006/01/15 16:51:55  sparky
 - prepared for ac: rel 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lufs.spec?r1=1.29&r2=1.30&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to