Disable gtk2 for RHEL 10
This commit is contained in:
parent
47b4c52ea8
commit
7ab9a4127e
1 changed files with 16 additions and 2 deletions
18
clisp.spec
18
clisp.spec
|
|
@ -10,6 +10,10 @@
|
|||
# This package uses toplevel ASMs which are incompatible with LTO
|
||||
%global _lto_cflags %{nil}
|
||||
|
||||
%if ! (0%{?rhel} > 9)
|
||||
%bcond_without gtk2
|
||||
%endif
|
||||
|
||||
Name: clisp
|
||||
Summary: ANSI Common Lisp implementation
|
||||
Version: 2.49.93
|
||||
|
|
@ -59,15 +63,17 @@ BuildRequires: gdbm-devel
|
|||
BuildRequires: gettext-devel
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: glibc-langpack-en
|
||||
BUildRequires: glibc-langpack-fr
|
||||
BuildRequires: glibc-langpack-fr
|
||||
BuildRequires: glibc-langpack-ja
|
||||
BuildRequires: glibc-langpack-zh
|
||||
BuildRequires: groff
|
||||
%if %{with gtk2}
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: libglade2-devel
|
||||
%endif
|
||||
BuildRequires: libXaw-devel
|
||||
BuildRequires: libXft-devel
|
||||
BuildRequires: libdb-devel
|
||||
BuildRequires: libglade2-devel
|
||||
BuildRequires: libsigsegv-devel
|
||||
BuildRequires: libsvm-devel
|
||||
BuildRequires: libunistring-devel
|
||||
|
|
@ -172,7 +178,9 @@ export LC_ALL=C.UTF-8
|
|||
--with-module=dbus \
|
||||
--with-module=fastcgi \
|
||||
--with-module=gdbm \
|
||||
%if %{with gtk2}
|
||||
--with-module=gtk2 \
|
||||
%endif
|
||||
--with-module=libsvm \
|
||||
--with-module=pari \
|
||||
--with-module=pcre \
|
||||
|
|
@ -267,8 +275,10 @@ rm -f dbus.o
|
|||
ln -s ../dbus/dbus.o dbus.o
|
||||
rm -f gdbm.o
|
||||
ln -s ../gdbm/gdbm.o gdbm.o
|
||||
%if %{with gtk2}
|
||||
rm -f gtk.o
|
||||
ln -s ../gtk2/gtk.o gtk.o
|
||||
%endif
|
||||
rm -f libsvm.o
|
||||
ln -s ../libsvm/libsvm.o libsvm.o
|
||||
rm -f linux.o
|
||||
|
|
@ -324,9 +334,11 @@ make -C build base-mod-check
|
|||
%dir %{_libdir}/%{instdir}/gdbm/
|
||||
%{_libdir}/%{instdir}/gdbm/*.fas
|
||||
%{_libdir}/%{instdir}/gdbm/preload.lisp
|
||||
%if %{with gtk2}
|
||||
%dir %{_libdir}/%{instdir}/gtk2/
|
||||
%{_libdir}/%{instdir}/gtk2/*.fas
|
||||
%{_libdir}/%{instdir}/gtk2/preload.lisp
|
||||
%endif
|
||||
%dir %{_libdir}/%{instdir}/libsvm/
|
||||
%{_libdir}/%{instdir}/libsvm/*.fas
|
||||
%{_libdir}/%{instdir}/libsvm/preload.lisp
|
||||
|
|
@ -397,6 +409,7 @@ make -C build base-mod-check
|
|||
%{_libdir}/%{instdir}/gdbm/gdbm.lisp
|
||||
%{_libdir}/%{instdir}/gdbm/*.o
|
||||
%{_libdir}/%{instdir}/gdbm/*.sh
|
||||
%if %{with gtk2}
|
||||
%{_libdir}/%{instdir}/gtk2/Makefile
|
||||
%{_libdir}/%{instdir}/gtk2/*.cfg
|
||||
%{_libdir}/%{instdir}/gtk2/*.glade
|
||||
|
|
@ -404,6 +417,7 @@ make -C build base-mod-check
|
|||
%{_libdir}/%{instdir}/gtk2/gtk.lisp
|
||||
%{_libdir}/%{instdir}/gtk2/*.o
|
||||
%{_libdir}/%{instdir}/gtk2/*.sh
|
||||
%endif
|
||||
%{_libdir}/%{instdir}/libsvm/README
|
||||
%{_libdir}/%{instdir}/libsvm/Makefile
|
||||
%{_libdir}/%{instdir}/libsvm/*.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue