|
@@ -1,7 +1,7 @@
|
|
|
Name: graphviz
|
|
|
Summary: Graph Visualization Tools
|
|
|
Version: 2.28.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Group: Applications/Graphics
|
|
|
License: CPL
|
|
|
URL: http://www.graphviz.org/
|
|
@@ -114,6 +114,11 @@ sed -i -e "s|sitearchdir|archdir|g" config/config_ruby.rb
|
|
|
autoreconf -f -i
|
|
|
|
|
|
%build
|
|
|
+# Rewrite config_ruby.rb to work with Ruby 1.9
|
|
|
+sed -i 's|expand(|expand(Config::|' 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`
|
|
|
+
|
|
|
# XXX ix86 only used to have -ffast-math, let's use everywhere
|
|
|
%{expand: %%define optflags %{optflags} -ffast-math}
|
|
|
|
|
@@ -215,7 +220,8 @@ fi
|
|
|
%files ruby
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/graphviz/ruby/
|
|
|
-#%{rarchdir}/*
|
|
|
+%{_libdir}/*ruby*/*
|
|
|
+%{_mandir}/man3/gv.3ruby*
|
|
|
|
|
|
%files tcl
|
|
|
%defattr(-,root,root)
|
|
@@ -229,6 +235,11 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Nov 11 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-2
|
|
|
+- re-enable ruby binding, which is accidentally disabled in 2.28.0-1
|
|
|
+ - rewrite config_ruby.rb to build with ruby-1.9.3
|
|
|
+ - add search path for ruby/config.h to CPPFLAGS for configure
|
|
|
+
|
|
|
* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
|
|
|
- new upstream release
|
|
|
- remove Patch10 (graphviz-2.26.3_dont_regard_tiger_as_the_only_ppc.patch)
|