|
@@ -2,15 +2,24 @@ Name: graphviz
|
|
|
Summary: Graph Visualization Tools
|
|
|
Summary(ja): グラフ可視化ツール
|
|
|
Version: 2.38.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Group: Applications/Graphics
|
|
|
-License: CPL
|
|
|
+License: EPL
|
|
|
URL: http://www.graphviz.org/
|
|
|
|
|
|
-Source: http://www.graphviz.org/pub/%{name}/stable/SOURCES/%{name}-%{version}.tar.gz
|
|
|
+Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
|
|
|
+# Fix typo in testsuite (upstream ticket #2441).
|
|
|
+Patch0: graphviz-2.38.0-rtest-fix.patch
|
|
|
+Patch1: graphviz-2.38.0-find-fix.patch
|
|
|
+# Not upstream patch to fix build with OCaml > 4.02.0 (upstream) and Fedora.
|
|
|
+Patch2: graphviz-2.38.0-ocaml-fix-ints.patch
|
|
|
+# Backported from upstream
|
|
|
+Patch3: graphviz-2.38.0-format-string.patch
|
|
|
+# Make vimdot to work with vi (upstream ticket #2507)
|
|
|
+Patch4: graphviz-2.38.0-vimdot-vi.patch
|
|
|
+Patch5: graphviz-2.38.0-rbconfig.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-
|
|
|
BuildRequires: bison
|
|
|
BuildRequires: cairo-devel
|
|
|
BuildRequires: expat-devel
|
|
@@ -18,6 +27,7 @@ BuildRequires: flex
|
|
|
BuildRequires: fontconfig-devel
|
|
|
BuildRequires: freetype2-devel
|
|
|
BuildRequires: gd-devel
|
|
|
+BuildRequires: gmp-devel
|
|
|
BuildRequires: gtk2-devel
|
|
|
BuildRequires: guile-devel
|
|
|
BuildRequires: libjpeg-turbo-devel
|
|
@@ -27,18 +37,19 @@ BuildRequires: libtool-ltdl-devel >= 2.2.6a
|
|
|
BuildRequires: libXaw-devel
|
|
|
BuildRequires: libXext-devel
|
|
|
BuildRequires: librsvg2-devel
|
|
|
+BuildRequires: lua-devel
|
|
|
BuildRequires: m4
|
|
|
BuildRequires: perl
|
|
|
BuildRequires: python-devel
|
|
|
BuildRequires: ruby-devel
|
|
|
BuildRequires: swig
|
|
|
-BuildRequires: tcl >= 8.4
|
|
|
-BuildRequires: tk >= 8.4
|
|
|
+BuildRequires: tcl-devel >= 8.4
|
|
|
+BuildRequires: tk-devel >= 8.4
|
|
|
BuildRequires: zlib-devel
|
|
|
Requires: urw-fonts
|
|
|
|
|
|
# only for this release
|
|
|
-BuildConflicts: graphviz-devel
|
|
|
+# BuildConflicts: graphviz-devel
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -49,8 +60,8 @@ A collection of tools and tcl packages for the manipulation and layout
|
|
|
of graphs (as in nodes and edges, not as in barcharts).
|
|
|
|
|
|
%package devel
|
|
|
-Group: Development/Libraries
|
|
|
Summary: Development tools for version %{version} of %{name}
|
|
|
+Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
%description devel
|
|
@@ -73,6 +84,14 @@ Requires: %{name} = %{version}-%{release}, guile
|
|
|
%description guile
|
|
|
Guile extension for graphviz.
|
|
|
|
|
|
+%package lua
|
|
|
+Group: Applications/Graphics
|
|
|
+Summary: Lua extension for graphviz
|
|
|
+Requires: %{name} = %{version}-%{release}, lua
|
|
|
+
|
|
|
+%description lua
|
|
|
+Lua extension for graphviz.
|
|
|
+
|
|
|
%package perl
|
|
|
Group: Applications/Graphics
|
|
|
Summary: Perl extension for graphviz
|
|
@@ -92,7 +111,7 @@ Requires: python
|
|
|
Python extension for graphviz.
|
|
|
|
|
|
%package ruby
|
|
|
-Group: Applications/Multimedia
|
|
|
+Group: Applications/Graphics
|
|
|
Summary: Ruby extension for graphviz
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: ruby
|
|
@@ -112,16 +131,24 @@ Various tcl packages (extensions) for the graphviz tools.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+%patch0 -p1 -b .rtest-fix
|
|
|
+%patch1 -p1 -b .find-fix
|
|
|
+%patch2 -p1
|
|
|
+%patch3 -p1 -b .format-string
|
|
|
+%patch4 -p1 -b .vimdot-vi
|
|
|
+%patch5 -p1 -b .rbconfig
|
|
|
+
|
|
|
+%build
|
|
|
+autoreconf -if
|
|
|
|
|
|
# using archdir instead of sitearchdir for Vine
|
|
|
sed -i -e "s|sitearchdir|archdir|g" config/config_ruby.rb
|
|
|
-
|
|
|
-%build
|
|
|
-# Rewrite config_ruby.rb to work with Ruby 1.9
|
|
|
-sed -i 's|expand(|expand(Config::|' config/config_ruby.rb
|
|
|
+# Rewrite config_ruby.rb to work with Ruby 2.1
|
|
|
+sed -i 's|expand(|expand(RbConfig::|' config/config_ruby.rb
|
|
|
sed -i 's|sitearchdir|vendorarchdir|' config/config_ruby.rb
|
|
|
-export CPPFLAGS=-I`ruby -e "puts File.join(RbConfig::CONFIG['includedir'], RbConfig::CONFIG['sitearch'])" || echo /dev/null`
|
|
|
|
|
|
+# get the path to search for ruby/config.h to CPPFLAGS, so that configure can find it
|
|
|
+export CPPFLAGS=-I`ruby -e "puts File.join(RbConfig::CONFIG['includedir'], RbConfig::CONFIG['sitearch'])" || echo /dev/null`
|
|
|
# XXX ix86 only used to have -ffast-math, let's use everywhere
|
|
|
%{expand: %%define optflags %{optflags} -ffast-math}
|
|
|
|
|
@@ -134,17 +161,18 @@ export CPPFLAGS=-I`ruby -e "puts File.join(RbConfig::CONFIG['includedir'], RbCon
|
|
|
--with-gdk-pixbuf \
|
|
|
--without-mylibgd \
|
|
|
--without-ming \
|
|
|
+ --without-qt \
|
|
|
--disable-sharp \
|
|
|
--enable-guile \
|
|
|
- --enable-io \
|
|
|
--disable-java \
|
|
|
- --disable-lua \
|
|
|
+ --enable-lua \
|
|
|
--disable-ocaml \
|
|
|
--enable-perl \
|
|
|
--disable-php \
|
|
|
--enable-python \
|
|
|
--disable-r \
|
|
|
--enable-ruby \
|
|
|
+ --enable-swig \
|
|
|
--enable-tcl
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
@@ -209,6 +237,12 @@ fi
|
|
|
%{_libdir}/graphviz/guile/
|
|
|
%{_mandir}/man3/gv.3guile*
|
|
|
|
|
|
+%files lua
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%{_libdir}/graphviz/lua/
|
|
|
+%{_libdir}/lua*/*
|
|
|
+%{_mandir}/man3/gv.3lua*
|
|
|
+
|
|
|
%files perl
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/graphviz/perl/
|
|
@@ -239,6 +273,12 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Mar 15 2015 Ryoichi INAGAKI <ryo1@toki.waaseda.jp> 2.38.0-2
|
|
|
+- added Patch0-5 from Fedora
|
|
|
+- rebuilt with guile 2.0.11
|
|
|
+- changed BR: tcl-devel, tk-devel instead of tcl, tk
|
|
|
+- added lua subpackage
|
|
|
+
|
|
|
* Sat Jun 28 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.38.0-1
|
|
|
- update to 2.38.0
|
|
|
|