]> granicus.if.org Git - graphviz/commitdiff
backport some fixes from fedora packager
authorellson <devnull@localhost>
Thu, 14 Dec 2006 16:41:08 +0000 (16:41 +0000)
committerellson <devnull@localhost>
Thu, 14 Dec 2006 16:41:08 +0000 (16:41 +0000)
graphviz.spec.in

index 3e2c5758594c52dce943a964c49865e681ff7f81..daefa5e14be490225b0a03048a0eb444986c038b 100644 (file)
@@ -104,12 +104,15 @@ BuildRequires: libtool-ltdl libtool-ltdl-devel php-devel ruby-devel guile-devel
 %define JAVA    1
 %define OCAML   1
 %define PYTHON  1
-BuildRequires: libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel libgcj-devel mono-core ocaml python-devel
+BuildRequires: libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel libgcj-devel mono-core ocaml python-devel java-devel
 %endif
 %if "%fedora" >= "6"
 %define LUA     1
 BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel lua-devel gtk2-devel libgnomeui-devel
 %endif
+%if "%fedora" >= "7"
+BuildRequires: gtk2-devel libgnomeui-devel
+%endif
 %endif
 
 #-- graphviz rpm --------------------------------------------------
@@ -215,7 +218,7 @@ Io extension for graphviz.
 %package java
 Group:         Applications/Multimedia
 Summary:       Java extension for graphviz
-Requires:      graphviz = %{version}-%{release} libgcj
+Requires:      graphviz = %{version}-%{release} libgcj java
 
 %description java
 Java extension for graphviz.