mirror of
https://abf.rosa.ru/djam/graphviz.git
synced 2025-02-23 15:52:55 +00:00
temporary fixes for e2k
This commit is contained in:
parent
a943066ca6
commit
4c57dfd51e
1 changed files with 24 additions and 8 deletions
|
@ -6,8 +6,19 @@
|
|||
%bcond_without static
|
||||
%bcond_with libr
|
||||
%bcond_with java
|
||||
|
||||
# temorary section ro e2k
|
||||
%ifnarch %{e2k}
|
||||
%bcond_without ruby
|
||||
%bcond_without php
|
||||
%bcond_without tcl
|
||||
%bcond_without ocaml
|
||||
%else
|
||||
%bcond_with ruby
|
||||
%bcond_with php
|
||||
%bcond_with tcl
|
||||
%bcond_with ocaml
|
||||
%endif
|
||||
|
||||
%define cdt_major 5
|
||||
%define cgraph_major 6
|
||||
|
@ -55,11 +66,9 @@ BuildRequires: libltdl-devel
|
|||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(glut)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
BuildRequires: pkgconfig(pangocairo)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
@ -68,7 +77,11 @@ BuildRequires: pkgconfig(xmu)
|
|||
BuildRequires: pkgconfig(xt)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: perl-ExtUtils-Embed
|
||||
|
||||
# temporary section
|
||||
%ifnarch %e2k}
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(glut)
|
||||
%endif
|
||||
Conflicts: %{mklibname graphviz 4} < 2.20.3-3
|
||||
|
||||
%description
|
||||
|
@ -286,7 +299,7 @@ This package provides the Perl extension for %{name}.
|
|||
%{_libdir}/graphviz/perl
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
%if %{with tcl}
|
||||
%package -n tcl-graphviz
|
||||
Summary: Graphviz bindings for tcl
|
||||
Group: System/Libraries
|
||||
|
@ -302,7 +315,7 @@ This package provides the Tcl extension for %{name}.
|
|||
%files -n tcl-graphviz
|
||||
%{_libdir}/tcl*
|
||||
%{_libdir}/graphviz/tcl
|
||||
|
||||
%endif
|
||||
#-------------------------------------------------------------------------
|
||||
%if %{with java}
|
||||
%define jdk_path %{_prefix}/lib/jvm/java
|
||||
|
@ -336,7 +349,7 @@ This package provides the R extension for %{name}.
|
|||
%endif
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
%if %{with ocaml}
|
||||
%package -n ocaml-graphviz
|
||||
Summary: Graphviz bindings for OCaml
|
||||
Group: Development/OCaml
|
||||
|
@ -348,7 +361,7 @@ This package provides the OCaml extension for %{name}.
|
|||
|
||||
%files -n ocaml-graphviz
|
||||
%{_libdir}/graphviz/ocaml
|
||||
|
||||
%endif
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
%package -n %{devname}
|
||||
|
@ -410,6 +423,10 @@ rm -rf libltdl
|
|||
sed -i -e "s,-php5,php$(rpm -q --qf '%{Version}' php-cli | cut -d'.' -f1),g" configure
|
||||
%endif
|
||||
|
||||
%ifarch %{e2k}
|
||||
LUA_INSTALL_DIR=%{_libdir}/lua
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--with-x \
|
||||
%if %{without static}
|
||||
|
@ -427,7 +444,6 @@ sed -i -e "s,-php5,php$(rpm -q --qf '%{Version}' php-cli | cut -d'.' -f1),g" con
|
|||
%if %{with php}
|
||||
--enable-php \
|
||||
%endif
|
||||
--enable-python \
|
||||
--disable-guile \
|
||||
--disable-python \
|
||||
--enable-python2 \
|
||||
|
|
Loading…
Add table
Reference in a new issue