]> git.pld-linux.org Git - packages/vice.git/commitdiff
- bcond_off_gnome
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 18 May 2001 16:13:50 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vice.spec -> 1.5

vice.spec

index 5028ceca0ddc069d194afe5963b33e56a7014adb..773eb9b239b3f71701c5afd286e747703b3b2095 100644 (file)
--- a/vice.spec
+++ b/vice.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# bcond_off_gnome - without GNOME support
+#
 Summary:       Commodore emulator
 Summary(pl):   Emulator Commodore
 Name:          vice
@@ -19,7 +23,7 @@ BuildRequires:        bison
 BuildRequires: esound-devel
 BuildRequires: flex
 BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
+%{!?bcond_off_gnome:BuildRequires:     gnome-libs-devel}
 BuildRequires: libpng-devel
 BuildRequires: readline-devel
 BuildRequires: texinfo
@@ -46,7 +50,7 @@ VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610).
 %patch0 -p1
 
 %build
-rm missing
+rm -f missing
 gettextize --copy --force
 aclocal
 autoconf
@@ -58,7 +62,7 @@ automake -a -c
        --with-x \
        --enable-fullscreen \
        --without-xaw3d \
-       --enable-gnomeui \
+       %{!?bcond_off_gnome:--enable-gnomeui} \
        --enable-nls \
        --without-included-gettext
 %{__make}
This page took 0.037335 seconds and 4 git commands to generate.