2007-01-16 00:15:41 +01:00
|
|
|
#
|
2011-03-14 09:40:12 +01:00
|
|
|
# spec file for package graphviz
|
2007-01-16 00:15:41 +01:00
|
|
|
#
|
2019-04-12 12:52:56 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:15:41 +01:00
|
|
|
#
|
2008-08-08 02:03:21 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-16 16:09:20 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:15:41 +01:00
|
|
|
#
|
|
|
|
|
2010-06-18 05:30:57 +02:00
|
|
|
|
2019-04-12 12:52:56 +02:00
|
|
|
#fixes build failure caused by new .debug files, not sure how to fix correctly
|
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%define mname graphviz
|
|
|
|
%define libname libgraphviz6
|
|
|
|
# name of the plugin config file that dot creates
|
2010-06-18 05:30:58 +02:00
|
|
|
%define config_file config6
|
2017-08-05 18:37:37 +02:00
|
|
|
# Build with extras or not, determines pulling additional dependencies
|
|
|
|
# and breaks build cycle
|
|
|
|
%bcond_with extras
|
2017-08-14 15:05:00 +02:00
|
|
|
# Java and ocaml are not in ring1, thus this gets overriden in staging
|
|
|
|
%bcond_without java
|
Accepting request 566425 from home:dimstar:Factory
- Disable building the graphviz-ocaml package: we have no consumer
of it, but not building it allows us to elminiate a build cycle.
It helps us break up this cycle:
SDL2 , chromaprint , emacs , fcitx , ffmpeg , graphviz-addons , gstreamer-plugins-bad , ocaml , presage , taglib
If there is a strong feeling for the ocaml plugin, we could potentially
build it from a 3rd spec file
OBS-URL: https://build.opensuse.org/request/show/566425
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=124
2018-01-20 06:36:03 +01:00
|
|
|
%bcond_with ocaml
|
2018-04-02 16:52:00 +02:00
|
|
|
# PHP7 requires swig >= 3.0.11, not available on Leap 42.x
|
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
%define php_version 7
|
|
|
|
%else
|
|
|
|
%define php_version 5
|
|
|
|
%endif
|
2019-04-16 12:03:32 +02:00
|
|
|
|
|
|
|
%if 0%{?suse_version} > 1510
|
|
|
|
%define ruby_version 2.6
|
|
|
|
%else
|
|
|
|
%define ruby_version 2.5
|
|
|
|
%endif
|
|
|
|
|
2018-11-02 12:47:29 +01:00
|
|
|
# No pkgconfig(gts) in sle12 GA or SPx, but in sle15
|
|
|
|
%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
|
|
|
|
%define sle12 1
|
|
|
|
%else
|
|
|
|
%define sle12 0
|
|
|
|
%endif
|
2007-01-16 00:15:41 +01:00
|
|
|
Name: graphviz
|
2019-09-30 15:52:30 +02:00
|
|
|
Version: 2.42.1
|
2012-04-04 12:45:21 +02:00
|
|
|
Release: 0
|
2007-01-16 00:15:41 +01:00
|
|
|
Summary: Graph Visualization Tools
|
2014-02-04 13:21:18 +01:00
|
|
|
License: EPL-1.0
|
2017-08-05 18:37:37 +02:00
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
2012-04-04 12:45:21 +02:00
|
|
|
Url: http://www.graphviz.org/
|
2019-09-30 15:52:30 +02:00
|
|
|
Source: https://www2.graphviz.org/Packages/stable/portable_source/graphviz-%{version}.tar.gz
|
2007-10-26 20:40:25 +02:00
|
|
|
Source2: graphviz-rpmlintrc
|
2017-08-05 18:37:37 +02:00
|
|
|
#PATCH-FIX-UPSTREAM add flags to also link against libGLU and libGL
|
|
|
|
Patch1: graphviz-smyrna-link_against_glu.patch
|
2011-09-29 09:13:52 +02:00
|
|
|
Patch2: graphviz-fix-pkgIndex.patch
|
2014-05-23 15:36:04 +02:00
|
|
|
#PATCH-FIX-UPSTREAM Off-by-one bug
|
2017-08-05 18:37:37 +02:00
|
|
|
Patch3: graphviz-array_overflow.patch
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
Patch6: graphviz-2.20.2-interpreter_names.patch
|
|
|
|
#PATCH-FIX-UPSTREAM Don't warn about harmless issues with swig generated code
|
|
|
|
Patch7: graphviz-useless_warnings.patch
|
|
|
|
Patch8: graphviz-no_strict_aliasing.patch
|
2019-09-30 15:52:30 +02:00
|
|
|
|
2013-09-03 16:40:43 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc-c++
|
2018-11-29 13:23:29 +01:00
|
|
|
BuildRequires: guile-devel
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: libtool
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(expat)
|
2018-11-02 12:47:29 +01:00
|
|
|
%if 0%{sle12} != 1
|
|
|
|
BuildRequires: pkgconfig(gts)
|
|
|
|
%endif
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
Requires: graphviz-plugins-core = %{version}
|
2008-04-22 15:35:28 +02:00
|
|
|
Recommends: graphviz-gd = %{version}
|
2017-08-05 18:37:37 +02:00
|
|
|
%if %{with extras}
|
2019-04-12 12:52:56 +02:00
|
|
|
BuildRequires: argon2-devel
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: freeglut-devel
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2018-02-19 08:17:20 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: perl
|
2019-04-12 12:52:56 +02:00
|
|
|
BuildRequires: python3-devel
|
2018-04-02 16:52:00 +02:00
|
|
|
%if 0%{?suse_version} >= 1500
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: php7-devel
|
2018-04-02 16:52:00 +02:00
|
|
|
BuildRequires: swig >= 3.0.11
|
|
|
|
%else
|
|
|
|
BuildRequires: php5-devel
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: swig
|
2018-04-02 16:52:00 +02:00
|
|
|
%endif
|
|
|
|
BuildRequires: ruby-devel
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
2018-02-19 08:17:20 +01:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2) >= 2
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: pkgconfig(gdlib)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(glu)
|
|
|
|
BuildRequires: pkgconfig(gtkglext-1.0)
|
2018-02-19 08:17:20 +01:00
|
|
|
BuildRequires: pkgconfig(ice)
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: pkgconfig(ijs)
|
|
|
|
BuildRequires: pkgconfig(libglade-2.0)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
|
BuildRequires: pkgconfig(lua)
|
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
BuildRequires: pkgconfig(python)
|
2018-11-29 13:23:29 +01:00
|
|
|
BuildRequires: pkgconfig(sm)
|
2017-08-05 18:37:37 +02:00
|
|
|
BuildRequires: pkgconfig(tcl)
|
2018-11-29 13:23:29 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xaw7)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
2017-08-14 15:05:00 +02:00
|
|
|
%if %{with java}
|
|
|
|
BuildRequires: java-devel >= 1.6.0
|
|
|
|
%endif
|
|
|
|
%if %{with ocaml}
|
|
|
|
BuildRequires: ocaml
|
|
|
|
%endif
|
2017-08-05 18:37:37 +02:00
|
|
|
%endif
|
2007-01-16 00:15:41 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A collection of tools and tcl packages for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in bar charts).
|
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%package -n graphviz-gvedit
|
|
|
|
Summary: Graph editor based on Qt
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz
|
|
|
|
|
|
|
|
%description -n graphviz-gvedit
|
|
|
|
The Qt5 graph editor included with graphviz, packaged
|
|
|
|
separately to avoid cycles in the build of the graphviz
|
|
|
|
package.
|
|
|
|
|
|
|
|
%package -n graphviz-smyrna
|
|
|
|
Summary: Large graph viewer
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz
|
|
|
|
|
|
|
|
%description -n graphviz-smyrna
|
|
|
|
Experimental large graph viewer using graphviz
|
|
|
|
|
|
|
|
%package -n graphviz-gnome
|
|
|
|
Summary: Graphviz plugins that use gtk/GNOME
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
2017-10-25 10:59:52 +02:00
|
|
|
Recommends: plugin-core = %{version}
|
2017-08-05 18:37:37 +02:00
|
|
|
Requires(post): graphviz = %{version}
|
2017-10-24 09:52:41 +02:00
|
|
|
Supplements: packageand(graphviz:xorg-x11-fonts-core)
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%description -n graphviz-gnome
|
|
|
|
Graphviz plugins that use gtk/GNOME.
|
|
|
|
|
|
|
|
%package -n graphviz-gd
|
|
|
|
Summary: Graphviz plugin for renderers based on gd
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
2019-05-10 13:09:17 +02:00
|
|
|
Requires(post): graphviz >= %{version}
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%description -n graphviz-gd
|
|
|
|
The graphviz-gd package contains the gd extensions for the graphviz
|
|
|
|
tools.
|
|
|
|
|
|
|
|
%package -n graphviz-guile
|
|
|
|
Summary: Graph Visualization Tools
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: guile
|
|
|
|
|
|
|
|
%description -n graphviz-guile
|
|
|
|
A collection of tools and tcl packages for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in bar charts).
|
|
|
|
|
|
|
|
%package -n graphviz-java
|
|
|
|
Summary: Graph Visualization Tools
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: java
|
|
|
|
|
|
|
|
%description -n graphviz-java
|
|
|
|
A collection of tools and tcl packages for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in bar charts).
|
|
|
|
|
2018-02-19 08:17:20 +01:00
|
|
|
%package -n graphviz-x11
|
|
|
|
Summary: Graph editors based on X11
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz
|
|
|
|
|
|
|
|
%description -n graphviz-x11
|
|
|
|
The lefty/dotty/lneato X11 graph editors included with graphviz,
|
|
|
|
packaged separately to reduce build dependencies.
|
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%package -n graphviz-lua
|
|
|
|
Summary: Lua extension for graphviz
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: lua
|
|
|
|
|
|
|
|
%description -n graphviz-lua
|
|
|
|
The graphviz-lua package contains the lua extension for the graphviz
|
|
|
|
tools.
|
|
|
|
|
|
|
|
%package -n graphviz-ocaml
|
|
|
|
Summary: OCAML extension for graphviz
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: ocaml
|
|
|
|
|
|
|
|
%description -n graphviz-ocaml
|
|
|
|
The graphviz-ocaml package contains the Objective Caml extension for
|
|
|
|
the graphviz tools.
|
|
|
|
|
|
|
|
%package -n graphviz-perl
|
|
|
|
Summary: Perl extension for Graphviz
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
|
|
|
|
%description -n graphviz-perl
|
|
|
|
The graphviz-perl package contains the Perl extension for the graphviz
|
|
|
|
tools.
|
|
|
|
|
|
|
|
%package -n graphviz-php
|
|
|
|
Summary: PHP Extension for Graphviz
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
2018-04-02 16:52:00 +02:00
|
|
|
Requires: php%{php_version}
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%description -n graphviz-php
|
|
|
|
The graphviz-php package contains the PHP extension for the graphviz
|
|
|
|
tools.
|
|
|
|
|
|
|
|
%package -n graphviz-python
|
|
|
|
Summary: Python Extension for Graphviz
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: python
|
|
|
|
|
|
|
|
%description -n graphviz-python
|
|
|
|
The graphviz-python package contains the Python extension for the
|
|
|
|
graphviz tools.
|
|
|
|
|
|
|
|
%package -n graphviz-ruby
|
|
|
|
Summary: Ruby Extension for Graphviz
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: ruby
|
|
|
|
|
|
|
|
%description -n graphviz-ruby
|
|
|
|
The graphviz-ruby package contains the ruby extension for the graphviz
|
|
|
|
tools.
|
|
|
|
|
|
|
|
%package -n graphviz-tcl
|
|
|
|
Summary: Tcl extension tools for graphviz
|
|
|
|
Group: Development/Libraries/Tcl
|
|
|
|
Requires: graphviz = %{version}
|
|
|
|
Requires: tcl >= 8.3
|
|
|
|
Requires: tk
|
|
|
|
|
|
|
|
%description -n graphviz-tcl
|
|
|
|
The graphviz-tcl package contains the various tcl packages (extensions)
|
|
|
|
for the graphviz tools.
|
|
|
|
|
|
|
|
%package -n graphviz-doc
|
|
|
|
Summary: Documentation for graphviz
|
|
|
|
Group: Documentation/Howto
|
|
|
|
|
|
|
|
%description -n graphviz-doc
|
|
|
|
Provides some additional PDF and HTML documentation for graphviz.
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
Summary: Library for the manipulation of layout of graphs
|
|
|
|
Group: System/Libraries
|
|
|
|
Recommends: graphviz-plugins-core
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
Library for the manipulation of layout of graphs (as in nodes and edges,
|
|
|
|
not as in bar charts).
|
|
|
|
|
|
|
|
%package plugins-core
|
|
|
|
Summary: Core plugins for graphviz
|
|
|
|
# Needed for dot binary
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires(post): %{mname}
|
|
|
|
|
|
|
|
%description plugins-core
|
|
|
|
Core plugins for graphviz:
|
|
|
|
* libgvplugin_core
|
|
|
|
* libgvplugin_dot_layout
|
|
|
|
* libgvplugin_neato_layout
|
|
|
|
|
2007-01-16 00:15:41 +01:00
|
|
|
%package devel
|
2017-08-05 18:37:37 +02:00
|
|
|
Summary: Graphviz development package
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-08-05 18:37:37 +02:00
|
|
|
Requires: %{libname} = %{version}
|
|
|
|
Requires: %{mname} = %{version}
|
2007-01-16 00:15:41 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The graphviz-devel package contains all that's necessary for developing
|
|
|
|
programs that use the graphviz libraries including man3 pages.
|
|
|
|
|
2019-04-12 12:52:56 +02:00
|
|
|
|
|
|
|
#autosetup breaks graphviz-addons
|
2007-01-16 00:15:41 +01:00
|
|
|
%prep
|
2017-08-05 18:37:37 +02:00
|
|
|
%setup -q -n %{mname}-%{version}
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%patch1
|
2011-09-29 09:13:52 +02:00
|
|
|
%patch2
|
2013-09-11 19:23:36 +02:00
|
|
|
%patch3
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%patch6
|
|
|
|
%patch7
|
|
|
|
%patch8
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2018-11-30 11:23:39 +01:00
|
|
|
# pkg-config returns 0 (TRUE) when guile-2.2 is present
|
|
|
|
if pkg-config --atleast-version=2.2 guile-2.2; then
|
2018-02-19 08:17:20 +01:00
|
|
|
sed "s/guile-2.0/guile-2.2/" -i configure.ac
|
2018-11-29 13:23:29 +01:00
|
|
|
fi
|
2014-05-23 15:36:04 +02:00
|
|
|
|
2014-02-04 13:21:18 +01:00
|
|
|
rm -f contrib/gprof2dot.awk
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2018-04-02 16:52:00 +02:00
|
|
|
# Fix path for lua/php install
|
2017-08-05 18:37:37 +02:00
|
|
|
sed -i \
|
|
|
|
-e 's@LUA_INSTALL_DIR="/usr.*@LUA_INSTALL_DIR=%{lua_archdir}@' \
|
2018-04-02 16:52:00 +02:00
|
|
|
-e 's@\(PHP_INSTALL_DIR=.*\)/php/modules@\1/php%{php_version}/extensions@' \
|
|
|
|
-e 's@\(PHP_INSTALL_DATADIR=.*\)/php@\1/php%{php_version}@' \
|
2017-08-05 18:37:37 +02:00
|
|
|
configure.ac
|
2007-01-16 00:15:41 +01:00
|
|
|
|
|
|
|
%build
|
2019-04-16 12:03:32 +02:00
|
|
|
./autogen.sh RUBY_VER=%{ruby_version}
|
2017-08-05 18:37:37 +02:00
|
|
|
CFLAGS="%{optflags} -ffast-math -fno-strict-aliasing -fno-strict-overflow -fPIC"
|
|
|
|
|
|
|
|
%if %{with extras}
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2019-04-16 12:03:32 +02:00
|
|
|
CFLAGS="$CFLAGS -I/usr/include/ruby-%{ruby_version}.0"
|
2019-04-12 12:52:56 +02:00
|
|
|
#seems to be broken? gives -I/usr/lib64/ruby/2.6.0/x86_64-linux-gnu, ruby.h is in /usr/lib64/ruby/2.6.0
|
|
|
|
#CFLAGS="$CFLAGS $(pkg-config --cflags ruby-$(echo {rb_ver} | sed 's|\.[^.]*$||'))"
|
|
|
|
|
2007-01-16 00:15:41 +01:00
|
|
|
%endif
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2007-05-09 01:03:38 +02:00
|
|
|
export CFLAGS="$CFLAGS"
|
2017-08-05 18:37:37 +02:00
|
|
|
export CPPFLAGS="$CFLAGS"
|
|
|
|
export LDFLAGS="-pie"
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
%configure \
|
2007-05-09 01:03:38 +02:00
|
|
|
--disable-static \
|
2017-08-05 18:37:37 +02:00
|
|
|
--without-included-ltdl \
|
|
|
|
--disable-ltdl-install \
|
2007-05-09 01:03:38 +02:00
|
|
|
--with-ipsepcola \
|
|
|
|
--without-ming \
|
2011-10-03 14:28:31 +02:00
|
|
|
--disable-io \
|
2019-04-16 16:09:20 +02:00
|
|
|
--without-visio \
|
2017-08-05 18:37:37 +02:00
|
|
|
%if %{with extras}
|
2018-02-19 08:17:20 +01:00
|
|
|
--with-x \
|
2017-08-05 18:37:37 +02:00
|
|
|
--with-qt \
|
|
|
|
--with-smyrna \
|
2019-04-16 12:03:32 +02:00
|
|
|
RUBY_VER=%{ruby_version} \
|
2017-08-05 18:37:37 +02:00
|
|
|
%else
|
|
|
|
--without-mylibgd \
|
|
|
|
--without-libgd \
|
|
|
|
%endif
|
|
|
|
--disable-silent-rules
|
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:15:41 +01:00
|
|
|
|
|
|
|
%install
|
2007-05-09 01:03:38 +02:00
|
|
|
make install \
|
|
|
|
DESTDIR=%{buildroot} \
|
2017-08-05 18:37:37 +02:00
|
|
|
docdir=%{buildroot}%{_docdir}/%{mname} \
|
2007-05-09 01:03:38 +02:00
|
|
|
pkgconfigdir=%{_libdir}/pkgconfig
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2007-05-09 01:03:38 +02:00
|
|
|
mkdir -p %{buildroot}/%{_docdir}
|
2017-08-05 18:37:37 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{nmame}
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
rm -f %{buildroot}/%{_libdir}/%{mname}/pkgIndex.tcl
|
|
|
|
chmod -x %{buildroot}%{_datadir}/%{mname}/lefty/*
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2008-04-20 20:49:38 +02:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/graphviz
|
2017-08-05 18:37:37 +02:00
|
|
|
touch %{buildroot}%{_libdir}/graphviz/%{config_file}
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
|
2017-08-05 18:37:37 +02:00
|
|
|
cat <<EOF >%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{mname}.conf
|
|
|
|
%{_libdir}/%{mname}
|
|
|
|
%{_libdir}/%{mname}/sharp
|
|
|
|
%{_libdir}/%{mname}/java
|
|
|
|
%{_libdir}/%{mname}/perl
|
|
|
|
%{_libdir}/%{mname}/php
|
|
|
|
%{_libdir}/%{mname}/ocaml
|
|
|
|
%{_libdir}/%{mname}/python
|
|
|
|
%{_libdir}/%{mname}/lua
|
|
|
|
%{_libdir}/%{mname}/tcl
|
|
|
|
%{_libdir}/%{mname}/guile
|
|
|
|
%{_libdir}/%{mname}/ruby
|
2007-05-09 01:03:38 +02:00
|
|
|
EOF
|
- Fix compilation with new guile
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
- Add patchwork supporting squarified tree maps
- Add ordering as a node attribute
- Fix problems with font resolution
- Fix problems with text placement
- Fix twopi to set root attribute
- Make available layouts and formats available via the API
- Fix error message system so that an application can capture the messages
- New attributes and features for sfdp
- gvgen now allows the user to specify graph name and node name template
- Make overlap=false denote overlap=prism
- More efficient xdot library
- HTML-like labels provide ID
- Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094
2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149
2157 2113 2159 2160 2161 2163
- Add scale attribute to twopi
- Add <B>,<I>,<U> to html strings
- migrated to 2005 version of cdt
- Update to version 2.28.0
- incremented library api version:
libcdt, libgraph, libcgraph, libgvpr, libgvc
- Add gvmap, cluster and gvmap.sh
- Deprecate dotty; prefer gvedit
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 21:14:00 +02:00
|
|
|
|
2007-05-09 01:03:38 +02:00
|
|
|
#Correct the path to the shared library
|
|
|
|
for manfile in $(find %{buildroot} -name \*.man); do
|
2017-08-05 18:37:37 +02:00
|
|
|
sed -i \
|
|
|
|
-e 's$%{_prefix}/lib/graphviz$%{_libdir}/%{mname}$g' \
|
|
|
|
$manfile
|
|
|
|
done
|
|
|
|
|
|
|
|
# There are no such binaries distributed by us
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/mingle.1
|
|
|
|
|
|
|
|
%if %{with extras}
|
|
|
|
# Fix doc location
|
|
|
|
cp -a %{buildroot}%{_datadir}/%{mname}/doc %{buildroot}%{_defaultdocdir}/%{mname}-doc
|
|
|
|
%fdupes -s %{buildroot}%{_defaultdocdir}/%{mname}-doc
|
|
|
|
# Prune all the content of the base graphviz package
|
|
|
|
rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
rm -rf %{buildroot}%{_includedir}
|
|
|
|
rm -rf %{buildroot}%{_datadir}/graphviz/examples
|
|
|
|
rm -rf %{buildroot}%{_datadir}/graphviz/graphs
|
|
|
|
rm -rf %{buildroot}%{_datadir}/graphviz/gvpr
|
|
|
|
rm -f %{buildroot}%{_mandir}/man3/*.3
|
|
|
|
rm -f %{buildroot}%{_mandir}/man7/*.7
|
|
|
|
rm -f %{buildroot}%{_libdir}/graphviz/%{config_file}
|
|
|
|
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_core*
|
|
|
|
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_dot_layout*
|
|
|
|
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_neato_layout*
|
|
|
|
# binaries removal
|
2018-02-19 08:17:20 +01:00
|
|
|
for i in acyclic bcomps ccomps circo cluster dijkstra dot dot2gxl dot_builtins edgepaint fdp gc gml2gv graphml2gv gv2gml gv2gxl gvcolor gvgen gvmap gvmap.sh gvpack gvpr gxl2dot gxl2gv mm2gv neato nop osage patchwork prune sccmap sfdp tred twopi unflatten vimdot; do
|
2017-08-05 18:37:37 +02:00
|
|
|
rm -f %{buildroot}%{_bindir}/$i
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/$i.1
|
|
|
|
done
|
|
|
|
# libraries removal
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/ld.so.conf.d/graphviz.conf
|
|
|
|
rm -f %{buildroot}%{_libdir}/lib{cdt,cgraph,gvc,gvpr,pathplan,xdot,lab_gamut}.so*
|
|
|
|
# Fix tcl locations
|
|
|
|
for lib in libgdtclft* libgv_tcl.so libtcldot* libtclplan* ; do
|
|
|
|
mv %{buildroot}%{_libdir}/%{mname}/tcl/${lib} %{buildroot}%{_libdir}
|
|
|
|
done
|
|
|
|
# remove duplicated tcl files
|
|
|
|
for i in libgdtclft.so.0.0.0 libgv_tcl.so libtcldot.so.0.0.0 libtcldot_builtin.so.0.0.0 libtclplan.so.0.0.0; do
|
|
|
|
rm -f %{buildroot}%{_libdir}/tcl8.6/graphviz/$i
|
|
|
|
ln -s %{_libdir}/$i %{buildroot}%{_libdir}/tcl8.6/graphviz/$i
|
2007-05-09 01:03:38 +02:00
|
|
|
done
|
2017-08-05 18:37:37 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/tcl/%{mname}/
|
|
|
|
mv %{buildroot}%{_libdir}/%{mname}/tcl/pkgIndex.tcl %{buildroot}%{_datadir}/tcl/%{mname}/pkgIndex.tcl
|
|
|
|
# remove graphviz bindings from graphviz dir, these are installed into the language specific directories
|
|
|
|
rm -rf %{buildroot}%{_libdir}/graphviz/lua
|
|
|
|
rm -rf %{buildroot}%{_libdir}/graphviz/perl
|
|
|
|
rm -rf %{buildroot}%{_libdir}/graphviz/php
|
|
|
|
rm -rf %{buildroot}%{_libdir}/graphviz/python
|
|
|
|
rm -rf %{buildroot}%{_libdir}/graphviz/ruby
|
|
|
|
%else
|
|
|
|
# These are part of gnome subpkg
|
2015-04-22 10:01:55 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_pango*
|
|
|
|
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_xlib*
|
2017-08-05 18:37:37 +02:00
|
|
|
# This is part of the gd subpkg only
|
2018-11-16 17:16:27 +01:00
|
|
|
rm -f %{buildroot}%{_mandir}/man1/{diffimg.1*,dotty.1*,lefty.1*,lneato.1*}
|
2018-02-19 08:17:20 +01:00
|
|
|
# This is part of the x11 subpkg only
|
|
|
|
rm -rf %{buildroot}%{_datadir}/graphviz/lefty
|
2017-08-05 18:37:37 +02:00
|
|
|
%endif
|
|
|
|
# Remove wrongly located docs
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{mname}/doc
|
2007-08-15 20:23:58 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%post plugins-core
|
2013-09-03 16:40:43 +02:00
|
|
|
# run "dot -c" to generate plugin config %%{_libdir}/graphviz/config
|
2008-03-28 16:07:03 +01:00
|
|
|
dot -c
|
2010-06-18 05:30:58 +02:00
|
|
|
test -s %{_libdir}/graphviz/%{config_file} || echo "%{_libdir}/graphviz/%{config_file} doesn't exist! Check installation."
|
2007-05-09 01:03:38 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%postun plugins-core
|
|
|
|
if ! test -x %{_bindir}/dot; then
|
|
|
|
rm -f %{_libdir}/%{mname}/%{config_file}
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
2019-04-12 12:52:56 +02:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%if %{with extras}
|
|
|
|
%files -n graphviz-gvedit
|
2018-11-16 17:16:27 +01:00
|
|
|
%license COPYING
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_bindir}/gvedit
|
|
|
|
%dir %{_datadir}/%{mname}/gvedit
|
|
|
|
%{_datadir}/%{mname}/gvedit/attrs.txt
|
|
|
|
%{_mandir}/man1/gvedit.1%{ext_man}
|
|
|
|
|
|
|
|
%files -n graphviz-smyrna
|
2018-11-16 17:16:27 +01:00
|
|
|
%license COPYING
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_bindir}/smyrna
|
|
|
|
%{_datadir}/%{mname}/smyrna
|
|
|
|
%{_mandir}/man1/smyrna.1%{ext_man}
|
|
|
|
|
|
|
|
%files -n graphviz-gd
|
|
|
|
%{_bindir}/diffimg
|
|
|
|
%{_mandir}/man1/diffimg.1%{ext_man}
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gd.so*
|
|
|
|
|
|
|
|
%post -n graphviz-gd
|
|
|
|
%{_bindir}/dot -c
|
|
|
|
|
|
|
|
%postun -n graphviz-gd
|
|
|
|
%{_bindir}/dot -c 2>/dev/null
|
2007-01-16 00:15:41 +01:00
|
|
|
|
2017-08-05 18:37:37 +02:00
|
|
|
%post -n graphviz-gnome
|
|
|
|
%{_bindir}/dot -c
|
|
|
|
|
|
|
|
%postun -n graphviz-gnome
|
|
|
|
%{_bindir}/dot -c 2>/dev/null
|
|
|
|
|
|
|
|
%files -n graphviz-gnome
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gs*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_rsvg*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_pango*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gtk*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_xlib*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gdk*
|
|
|
|
|
|
|
|
%post -n graphviz-tcl -p /sbin/ldconfig
|
|
|
|
%postun -n graphviz-tcl -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n graphviz-guile
|
|
|
|
%{_libdir}/graphviz/guile
|
|
|
|
%{_mandir}/man3/gv.3guile%{ext_man}
|
|
|
|
|
2017-08-14 15:05:00 +02:00
|
|
|
%if %{with java}
|
2017-08-05 18:37:37 +02:00
|
|
|
%files -n graphviz-java
|
|
|
|
%{_libdir}/graphviz/java
|
|
|
|
%{_mandir}/man3/gv.3java%{ext_man}
|
2017-08-14 15:05:00 +02:00
|
|
|
%endif
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%files -n graphviz-lua
|
|
|
|
%{lua_archdir}/gv.so
|
|
|
|
%{_mandir}/man3/gv.3lua%{ext_man}
|
|
|
|
|
2018-02-19 08:17:20 +01:00
|
|
|
%files -n graphviz-x11
|
2018-11-16 17:16:27 +01:00
|
|
|
%license COPYING
|
2018-02-19 08:17:20 +01:00
|
|
|
%{_bindir}/dotty
|
|
|
|
%{_bindir}/lefty
|
|
|
|
%{_bindir}/lneato
|
|
|
|
%{_datadir}/%{mname}/lefty
|
|
|
|
%{_mandir}/man1/dotty.1%{ext_man}
|
|
|
|
%{_mandir}/man1/lefty.1%{ext_man}
|
|
|
|
%{_mandir}/man1/lneato.1%{ext_man}
|
|
|
|
|
2017-08-14 15:05:00 +02:00
|
|
|
%if %{with ocaml}
|
2017-08-05 18:37:37 +02:00
|
|
|
%files -n graphviz-ocaml
|
|
|
|
%{_libdir}/graphviz/ocaml
|
|
|
|
%{_mandir}/man3/gv.3ocaml%{ext_man}
|
2017-08-14 15:05:00 +02:00
|
|
|
%endif
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%files -n graphviz-perl
|
|
|
|
%{perl_vendorarch}/gv.pm
|
|
|
|
%{perl_vendorarch}/gv.so
|
|
|
|
%{_mandir}/man3/gv.3perl%{ext_man}
|
|
|
|
|
|
|
|
%files -n graphviz-php
|
2018-04-02 16:52:00 +02:00
|
|
|
%{_libdir}/php%{php_version}/extensions/gv.so
|
|
|
|
%{_datadir}/php%{php_version}/gv.php
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_mandir}/man3/gv.3php%{ext_man}
|
|
|
|
|
|
|
|
%files -n graphviz-python
|
2019-04-12 12:52:56 +02:00
|
|
|
%dir %{_libdir}/graphviz/python2
|
|
|
|
%dir %{_libdir}/graphviz/python3
|
2017-08-05 18:37:37 +02:00
|
|
|
%{python_sitearch}/_gv.so
|
|
|
|
%{python_sitearch}/gv.py
|
2019-04-12 12:52:56 +02:00
|
|
|
%{_libdir}/graphviz/python2/_gv.so
|
|
|
|
%{_libdir}/graphviz/python2/gv.py
|
|
|
|
%{_libdir}/graphviz/python2/libgv_python2.so
|
2019-04-16 12:03:32 +02:00
|
|
|
%{python3_sitearch}/_gv.so
|
|
|
|
%{python3_sitearch}/gv.py
|
2019-04-12 12:52:56 +02:00
|
|
|
%{_libdir}/graphviz/python3/_gv.so
|
|
|
|
%{_libdir}/graphviz/python3/gv.py
|
|
|
|
%{_libdir}/graphviz/python3/libgv_python3.so
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_mandir}/man3/gv.3python%{ext_man}
|
|
|
|
|
|
|
|
%files -n graphviz-ruby
|
|
|
|
%{rb_vendorarchdir}/gv.so
|
|
|
|
%{_mandir}/man3/gv.3ruby%{ext_man}
|
|
|
|
|
|
|
|
%files -n graphviz-tcl
|
|
|
|
%dir %{_datadir}/tcl/%{mname}
|
|
|
|
%{_libdir}/tcl[0-9].[0-9]
|
|
|
|
%{_libdir}/libgdtclft*
|
|
|
|
%{_libdir}/libgv_tcl.so
|
|
|
|
%{_libdir}/libtcldot*
|
|
|
|
%{_libdir}/libtclplan*
|
|
|
|
%{_datadir}/tcl/%{mname}/pkgIndex.tcl
|
|
|
|
%{_mandir}/man3/*.3tcl*
|
|
|
|
|
|
|
|
%files -n graphviz-doc
|
|
|
|
%docdir %{_defaultdocdir}/%{mname}-doc
|
|
|
|
%{_defaultdocdir}/%{mname}-doc
|
|
|
|
%{_datadir}/graphviz/demo
|
|
|
|
|
|
|
|
%else
|
2007-01-16 00:15:41 +01:00
|
|
|
%files
|
2018-11-16 17:16:27 +01:00
|
|
|
%doc doc/FAQ.html AUTHORS README NEWS ChangeLog
|
|
|
|
%license COPYING
|
2013-09-12 19:34:53 +02:00
|
|
|
%{_bindir}/acyclic
|
|
|
|
%{_bindir}/bcomps
|
|
|
|
%{_bindir}/ccomps
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_bindir}/circo
|
2013-09-12 19:34:53 +02:00
|
|
|
%{_bindir}/cluster
|
|
|
|
%{_bindir}/dijkstra
|
|
|
|
%{_bindir}/dot
|
|
|
|
%{_bindir}/dot2gxl
|
|
|
|
%{_bindir}/dot_builtins
|
2014-05-23 15:36:04 +02:00
|
|
|
%{_bindir}/edgepaint
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_bindir}/fdp
|
|
|
|
%{_bindir}/gc
|
2013-09-12 19:34:53 +02:00
|
|
|
%{_bindir}/gml2gv
|
|
|
|
%{_bindir}/graphml2gv
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_bindir}/gv2gml
|
2013-09-12 19:34:53 +02:00
|
|
|
%{_bindir}/gv2gxl
|
|
|
|
%{_bindir}/gvcolor
|
|
|
|
%{_bindir}/gvgen
|
|
|
|
%{_bindir}/gvmap
|
|
|
|
%{_bindir}/gvmap.sh
|
|
|
|
%{_bindir}/gvpack
|
|
|
|
%{_bindir}/gvpr
|
|
|
|
%{_bindir}/gxl2dot
|
|
|
|
%{_bindir}/gxl2gv
|
|
|
|
%{_bindir}/mm2gv
|
|
|
|
%{_bindir}/neato
|
|
|
|
%{_bindir}/nop
|
|
|
|
%{_bindir}/osage
|
|
|
|
%{_bindir}/patchwork
|
|
|
|
%{_bindir}/prune
|
|
|
|
%{_bindir}/sccmap
|
|
|
|
%{_bindir}/sfdp
|
|
|
|
%{_bindir}/tred
|
|
|
|
%{_bindir}/twopi
|
|
|
|
%{_bindir}/unflatten
|
2017-08-05 18:37:37 +02:00
|
|
|
%dir %{_datadir}/%{mname}
|
|
|
|
%{_datadir}/%{mname}/graphs
|
|
|
|
%dir %{_datadir}/%{mname}/gvpr
|
|
|
|
%{_datadir}/%{mname}/gvpr/addranks
|
|
|
|
%{_datadir}/%{mname}/gvpr/addrings
|
|
|
|
%{_datadir}/%{mname}/gvpr/anon
|
|
|
|
%{_datadir}/%{mname}/gvpr/attr
|
|
|
|
%{_datadir}/%{mname}/gvpr/bb
|
|
|
|
%{_datadir}/%{mname}/gvpr/bbox
|
|
|
|
%{_datadir}/%{mname}/gvpr/cliptree
|
|
|
|
%{_datadir}/%{mname}/gvpr/col
|
|
|
|
%{_datadir}/%{mname}/gvpr/collapse
|
|
|
|
%{_datadir}/%{mname}/gvpr/color
|
|
|
|
%{_datadir}/%{mname}/gvpr/dechain
|
|
|
|
%{_datadir}/%{mname}/gvpr/deghist
|
|
|
|
%{_datadir}/%{mname}/gvpr/deledges
|
|
|
|
%{_datadir}/%{mname}/gvpr/delmulti
|
|
|
|
%{_datadir}/%{mname}/gvpr/delnodes
|
|
|
|
%{_datadir}/%{mname}/gvpr/depath
|
|
|
|
%{_datadir}/%{mname}/gvpr/dijkstra
|
|
|
|
%{_datadir}/%{mname}/gvpr/flatten
|
|
|
|
%{_datadir}/%{mname}/gvpr/get-layers-list
|
|
|
|
%{_datadir}/%{mname}/gvpr/group
|
|
|
|
%{_datadir}/%{mname}/gvpr/indent
|
|
|
|
%{_datadir}/%{mname}/gvpr/knbhd
|
|
|
|
%{_datadir}/%{mname}/gvpr/maxdeg
|
|
|
|
%{_datadir}/%{mname}/gvpr/path
|
|
|
|
%{_datadir}/%{mname}/gvpr/rotate
|
|
|
|
%{_datadir}/%{mname}/gvpr/scale
|
|
|
|
%{_datadir}/%{mname}/gvpr/scalexy
|
|
|
|
%{_datadir}/%{mname}/gvpr/span
|
|
|
|
%{_datadir}/%{mname}/gvpr/topon
|
|
|
|
%{_datadir}/%{mname}/gvpr/treetoclust
|
|
|
|
%{_datadir}/%{mname}/gvpr/chkclusters
|
|
|
|
%{_datadir}/%{mname}/gvpr/cycle
|
|
|
|
%{_datadir}/%{mname}/gvpr/addedges
|
|
|
|
%{_datadir}/%{mname}/gvpr/binduce
|
|
|
|
%{_datadir}/%{mname}/gvpr/bipart
|
|
|
|
%{_datadir}/%{mname}/gvpr/chkedges
|
|
|
|
%{_datadir}/%{mname}/gvpr/histogram
|
|
|
|
%{_mandir}/man1/*.1%{ext_man}
|
|
|
|
%{_mandir}/man7/*.7%{ext_man}
|
2017-10-07 12:32:16 +02:00
|
|
|
%exclude %{_mandir}/man1/smyrna.1%{ext_man}
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%files -n %{libname}
|
2007-05-09 01:03:38 +02:00
|
|
|
%{_libdir}/*.so.*
|
2013-09-12 19:34:53 +02:00
|
|
|
%config %{_sysconfdir}/ld.so.conf.d/graphviz.conf
|
2017-08-05 18:37:37 +02:00
|
|
|
|
|
|
|
%files plugins-core
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%ghost %{_libdir}/%{name}/%{config_file}
|
|
|
|
%{_libdir}/%{name}/*.so*
|
2007-05-09 01:03:38 +02:00
|
|
|
|
2007-01-16 00:15:41 +01:00
|
|
|
%files devel
|
2007-05-09 01:03:38 +02:00
|
|
|
%{_includedir}/graphviz
|
|
|
|
%{_libdir}/*.so
|
2007-01-16 00:15:41 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2017-08-05 18:37:37 +02:00
|
|
|
%{_mandir}/man3/*.3%{ext_man}
|
|
|
|
%endif
|
2008-03-14 17:42:33 +01:00
|
|
|
|
2007-03-29 22:17:56 +02:00
|
|
|
%changelog
|