Witam.
Patch dodaje do speca warunkowe budowanie z gnome-vfs i gconf (domyślnie
wyłączone).
--
mrk
Index: bmp.spec
===================================================================
RCS file: /cvsroot/SPECS/bmp.spec,v
retrieving revision 1.40
diff -u -r1.40 bmp.spec
--- bmp.spec 20 Dec 2004 12:46:01 -0000 1.40
+++ bmp.spec 21 Mar 2005 22:03:04 -0000
@@ -1,9 +1,13 @@
# $Revision: 1.40 $, $Date: 2004/12/20 12:46:01 $
+# Conditional build
+%bcond_with gconf # build with gconf support
+%bcond_with vfs # build with VFS support
+
Summary: Sound player with the WinAmp GUI, for Unix-based systems for GTK+2
Summary(pl): Odtwarzacz dźwięku z interfejsem WinAmpa dla GTK+2
Name: bmp
Version: 0.9.7
-Release: 2
+Release: 2.1
Epoch: 1
License: GPL
Group: Applications/Sound
@@ -23,6 +27,12 @@
BuildRequires: home-etc-devel
BuildRequires: libvorbis-devel >= 1:1.0
BuildRequires: libglade2-devel >= 2.0.0
+%if %{with gconf}
+BuildRequires: GConf2-devel >= 2.4.0
+%endif
+%if %{with vfs}
+BuildRequires: gnome-vfs2-devel >= 2.4.0
+%endif
BuildRequires: pkgconfig
BuildConflicts: beep-media-player-libs
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
@@ -196,6 +206,12 @@
%endif
%else
--disable-simd \
+%endif
+%if %{with vfs}
+ --enable-gnome-vfs \
+%endif
+%if %{with gconf}
+ --enable-gconf \
%endif
--enable-shared \
--enable-static
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl