Disable GL support on EL9
This commit is contained in:
parent
f070f3aaf5
commit
f2178521ff
18
libcaca.spec
18
libcaca.spec
@ -2,6 +2,12 @@
|
||||
%{!?ruby_vendorlibdir: %global ruby_vendorlibdir %(ruby -r rbconfig -e 'print RbConfig::CONFIG["vendorlibdir"]')}
|
||||
%{!?ruby_vendorarchdir: %global ruby_vendorarchdir %(ruby -r rbconfig -e 'print RbConfig::CONFIG["vendorarchdir"]')}
|
||||
|
||||
%if 0%{?el9}
|
||||
%bcond_with gl
|
||||
%else
|
||||
%bcond_without gl
|
||||
%endif
|
||||
|
||||
%define beta beta20
|
||||
|
||||
Summary: Library for Colour AsCii Art, text mode graphics
|
||||
@ -15,12 +21,10 @@ Source0: https://github.com/cacalabs/libcaca/releases/download/v%{version}.%{bet
|
||||
Patch0: libcaca-0.99.beta16-multilib.patch
|
||||
|
||||
Buildrequires: doxygen
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: slang-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: mesa-libGLU-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig(imlib2)
|
||||
BuildRequires: pkgconfig(pangoft2)
|
||||
@ -30,6 +34,10 @@ BuildRequires: ruby
|
||||
BuildRequires: ruby-devel
|
||||
Buildrequires: texlive-dvips
|
||||
Buildrequires: texlive-latex
|
||||
%if %{with gl}
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: mesa-libGLU-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
libcaca is the Colour AsCii Art library. It provides high level functions for
|
||||
@ -39,13 +47,15 @@ well as powerful image to text conversion routines.
|
||||
%package devel
|
||||
Summary: Development files for libcaca, the library for Colour AsCii Art
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: freeglut-devel
|
||||
Requires: imlib2-devel
|
||||
Requires: libX11-devel
|
||||
Requires: mesa-libGLU-devel
|
||||
Requires: ncurses-devel
|
||||
Requires: pango-devel
|
||||
Requires: slang-devel
|
||||
%if %{with gl}
|
||||
Requires: freeglut-devel
|
||||
Requires: mesa-libGLU-devel
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
libcaca is the Colour AsCii Art library. It provides high level functions for
|
||||
|
Loading…
Reference in New Issue
Block a user