]> git.pld-linux.org Git - packages/XaoS.git/commitdiff
- new-style bconds
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Jan 2004 18:57:49 +0000 (18:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    XaoS.spec -> 1.21

XaoS.spec

index f508812dc5b93007bc05eb8fc1519d873d51f478..25492bd72bd25ef7f31f4c5ce499806f9b6a7afc 100644 (file)
--- a/XaoS.spec
+++ b/XaoS.spec
@@ -1,13 +1,13 @@
 #
 # Conditional build:
 #
-# _without_aalib       - without aalib output support
-# _without_ggi         - without ggi output support
-# _without_ncurses     - without ncurses output support
-# _without_svga        - without svga output support
+%bcond_without aalib   # without aalib output support
+%bcond_without ggi     # without ggi output support
+%bcond_without ncurses # without ncurses output support
+%bcond_without svga    # without svga output support
 #
 %ifnarch %{ix86} alpha
-%define _without_svga 1
+%undefine with_svga
 %endif
 Summary:       A fast, portable real-time interactive fractal zoomer
 Summary(pl):   Szybki, przeno¶ny i interaktywny explorator fraktali
@@ -28,13 +28,13 @@ Patch3:             %{name}-svga-fix.patch
 Patch4:                %{name}-info.patch
 URL:           http://xaos.theory.org/
 BuildRequires: XFree86-devel
-%{!?_without_aalib:BuildRequires:              aalib-devel}
+%{?with_aalib:BuildRequires:           aalib-devel}
 BuildRequires: autoconf
 BuildRequires: automake
-%{!?_without_ggi:BuildRequires:                libggi-devel}
+%{?with_ggi:BuildRequires:             libggi-devel}
 BuildRequires: libpng-devel
-%{!?_without_ncurses:BuildRequires:    ncurses-devel}
-%{!?_without_svga:BuildRequires:       svgalib-devel}
+%{?with_ncurses:BuildRequires: ncurses-devel}
+%{?with_svga:BuildRequires:    svgalib-devel}
 BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -77,10 +77,10 @@ cp -f /usr/share/automake/config.* .
 %configure \
        --with-x \
        --with-x11-driver=yes \
-       %{?_without_aalib:      --with-aa-driver=no} \
-       %{?_without_ggi:        --with-ggi-driver=no} \
-       %{?_without_ncurses:    --with-curses-driver=no} \
-       %{?_without_svga:       --with-svga-driver=no}
+       %{?with_aalib:  --with-aa-driver=no} \
+       %{?with_ggi:    --with-ggi-driver=no} \
+       %{?with_ncurses:--with-curses-driver=no} \
+       %{?with_svga:   --with-svga-driver=no}
 
 %{__make}
 
This page took 0.096495 seconds and 4 git commands to generate.