Accepting request 214364 from home:coolo:branches:openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/214364
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=77
This commit is contained in:
Marcus Meissner 2014-01-18 20:50:38 +00:00 committed by Git OBS Bridge
parent 95d2e7b091
commit d25c0fe84b
2 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jan 18 17:06:59 UTC 2014 - coolo@suse.com
- fix mono bcond. It's without, not !with
-------------------------------------------------------------------
Sat Jan 18 16:47:55 UTC 2014 - coolo@suse.com
- use global java bcond instead of an own now that it buildrequires
jdk and no longer gcc
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 14 11:54:17 UTC 2014 - dvlaeev@suse.com Tue Jan 14 11:54:17 UTC 2014 - dvlaeev@suse.com

View File

@ -19,10 +19,10 @@
%define mname graphviz %define mname graphviz
%ifarch aarch64 %ifarch aarch64
%bcond_with graphviz_java %bcond_with java
%bcond_with graphviz_ocaml %bcond_with graphviz_ocaml
%else %else
%bcond_without graphviz_java %bcond_without java
%bcond_without graphviz_ocaml %bcond_without graphviz_ocaml
%endif %endif
%bcond_without mono %bcond_without mono
@ -50,7 +50,7 @@ BuildRequires: m4
BuildRequires: gtkglext-devel BuildRequires: gtkglext-devel
%endif %endif
%endif %endif
%if %{with graphviz_java} %if %{with java}
#BuildRequires: gcc-java #BuildRequires: gcc-java
#BuildRequires: libgcj-devel #BuildRequires: libgcj-devel
BuildRequires: java-devel >= 1.6.0 BuildRequires: java-devel >= 1.6.0
@ -151,7 +151,7 @@ Provides: graphviz_plugin = %{version}
A collection of tools and tcl packages for the manipulation and layout A collection of tools and tcl packages for the manipulation and layout
of graphs (as in nodes and edges, not as in bar charts). of graphs (as in nodes and edges, not as in bar charts).
%if %{with graphviz_java} %if %{with java}
%package -n graphviz-java %package -n graphviz-java
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Group: Productivity/Graphics/Visualization/Graph Group: Productivity/Graphics/Visualization/Graph
@ -304,7 +304,7 @@ export CPPFLAGS="%{optflags}"
--without-ming \ --without-ming \
--disable-silent-rules \ --disable-silent-rules \
--enable-ltdl-install=no \ --enable-ltdl-install=no \
%if %{!with mono} %if %{without mono}
--enable-sharp=no \ --enable-sharp=no \
%endif %endif
--disable-io --disable-io
@ -384,7 +384,7 @@ rm -rf %{buildroot}/%{_libdir}/%{mname}/%{_lib}
%{_libdir}/graphviz/guile %{_libdir}/graphviz/guile
%doc %{_mandir}/man3/gv.3guile.gz %doc %{_mandir}/man3/gv.3guile.gz
%if %{with graphviz_java} %if %{with java}
%files -n graphviz-java %files -n graphviz-java
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/graphviz/java %{_libdir}/graphviz/java