]> git.pld-linux.org Git - packages/libggi.git/commitdiff
switch to new conditional builds macros (bcond_on_ -> _with_/bcond_off_ -> _without_...
authorArtur Frysiak <artur@frysiak.net>
Tue, 22 May 2001 09:06:27 +0000 (09:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libggi.spec -> 1.24

libggi.spec

index 6d06880628219fb388b3d86c0adf8eb0321b53e9..f0d505769d09d6c224a48e952018e0f4505ff9f5 100644 (file)
@@ -1,5 +1,5 @@
-# bcond_on_glide - Build Glide support
-# bcond_on_kgicon - Build KGICon support
+# _with_glide - Build Glide support
+# _with_kgicon - Build KGICon support
 Summary:       GGI - Generic Graphics Interface        
 Summary(pl):   GGI - Generic Graphics Interface
 Name:          libggi
@@ -20,8 +20,8 @@ BuildRequires:        aalib-devel
 %ifarch %{ix86} alpha
 BuildRequires: svgalib-devel
 %endif
-%{?bcond_on_glide:BuildRequires: glide-devel}
-%{?bcond_on_kgicon:BuildRequires: kgicon-devel}
+%{?_with_glide:BuildRequires: glide-devel}
+%{?_with_kgicon:BuildRequires: kgicon-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -152,8 +152,8 @@ Pliki potrzebne do programowania z wykorzystaniem LibGII.
 CPPFLAGS="-I%{_includedir}/glide"; export CPPFLAGS 
 %configure \
        %{?!debug:--disable-debug} \
-       %{?!bcond_on_glide:--disable-glide} \
-       %{?!bcond_on_kgicon:--disable-genkgi} \
+       %{?!_with_glide:--disable-glide} \
+       %{?!_with_kgicon:--disable-genkgi} \
 %ifnarch %{ix86} alpha
        --disable-svga \
        --disable-vgagl \
@@ -230,8 +230,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/ggi/display/X*.so
 %attr(755,root,root) %{_libdir}/ggi/display/xf86dga.so
 
-%{?!bcond_on_glide:#}%files glide
-%{?!bcond_on_glide:#}%attr(755,root,root) %{_libdir}/ggi/display/glide.so
+%{?!_with_glide:#}%files glide
+%{?!_with_glide:#}%attr(755,root,root) %{_libdir}/ggi/display/glide.so
 
 %files programs
 %defattr(644,root,root,755)
This page took 0.109905 seconds and 4 git commands to generate.