Blame SPECS/graphviz.spec

a2d586
# Necessary conditionals
a2d586
%ifarch ppc64 s390 s390x sparc64 %{arm} alpha
a2d586
%global SHARP  0
a2d586
%else
a2d586
%global SHARP  1
a2d586
%endif
a2d586
a2d586
%ifarch %{ocaml_arches}
a2d586
%global OCAML  1
a2d586
%else
a2d586
%global OCAML  0
a2d586
%endif
a2d586
a2d586
%global DEVIL  1
a2d586
%global ARRRR  1
a2d586
a2d586
# Build with QT applications (currently only gvedit)
a2d586
# Disabled until the package gets better structuring, see bug #447133
a2d586
%global QTAPPS 0
a2d586
a2d586
%global GTS    1
a2d586
%global LASI   1
a2d586
a2d586
# Not in Fedora yet.
a2d586
%global MING   0
a2d586
a2d586
%if 0%{?rhel}
a2d586
%global SHARP  0
a2d586
%global ARRRR  0
a2d586
%global DEVIL  0
a2d586
%global GTS    0
a2d586
%global LASI   0
a2d586
%endif
a2d586
a2d586
# Plugins version
a2d586
%global pluginsver 6
a2d586
a2d586
%global php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
a2d586
# Fix private-shared-object-provides
a2d586
# RPM 4.9
a2d586
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
a2d586
a2d586
# Fix for the 387 extended precision (rhbz#772637)
a2d586
%ifarch i386 i686
a2d586
%global FFSTORE -ffloat-store
a2d586
%endif
a2d586
a2d586
Name:			graphviz
a2d586
Summary:		Graph Visualization Tools
a2d586
Version:		2.30.1
d3d782
Release:		18%{?dist}
a2d586
Group:			Applications/Multimedia
a2d586
License:		EPL
a2d586
URL:			http://www.graphviz.org/
a2d586
Source0:		http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
a2d586
Patch2:			graphviz-2.30.1-guile2-fix.patch
a2d586
# Fix SIGSEGVs on testsuite (#645703).
a2d586
Patch3:			graphviz-2.26.0-testsuite-sigsegv-fix.patch
a2d586
# Testsuite now do diff check also in case of err output (#645703).
a2d586
Patch4:			graphviz-2.26.0-rtest-errout-fix.patch
a2d586
# Now that libgraph is gone, reflect that in libgvc.pc
a2d586
Patch5:			graphviz-2.30.1-gvc.pc-no-libgraph.patch
a2d586
# Lua 5.2
a2d586
Patch6:			graphviz-2.30.1-lua-5.2.patch
a2d586
# Accepted upstream, ticket #2302
a2d586
Patch7:			graphviz-2.30.1-smyrna-doc-opt.patch
a2d586
# Accepted upstream, ticket #2304
a2d586
Patch8:			graphviz-2.30.1-gv2gml-options-fix.patch
a2d586
# Sent upstream, ticket #2305
a2d586
Patch9:			graphviz-2.30.1-lefty-help.patch
a2d586
# Sent upstream, ticket #2306
a2d586
Patch10:		graphviz-2.30.1-prune-help.patch
a2d586
# Sent upstream, ticket #2307
a2d586
Patch11:		graphviz-2.30.1-man-fix.patch
a2d586
# Already in upstream
a2d586
Patch12:		graphviz-2.32.0-aarch64.patch
a2d586
# Upstream bug 0002387
a2d586
Patch13:		graphviz-2.34.0-lefty-getaddrinfo.patch
d3d782
# Fix yyerror overflow (CVE-2014-0978, CVE-2014-1235)
d3d782
Patch14:		graphviz-2.30.1-CVE-2014-0978-CVE-2014-1235.patch
d3d782
# Fix chknum overflow (CVE-2014-1236)
d3d782
Patch15:		graphviz-2.30.1-CVE-2014-1236.patch
a2d586
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a2d586
BuildRequires:		zlib-devel, libpng-devel, libjpeg-devel, expat-devel, freetype-devel >= 2
a2d586
BuildRequires:		ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig
a2d586
BuildRequires:		fontconfig-devel, libtool-ltdl-devel, ruby-devel, ruby, guile-devel, python-devel
a2d586
BuildRequires:		libXaw-devel, libSM-devel, libXext-devel, java-devel, php-devel
a2d586
BuildRequires:		cairo-devel >= 1.1.10, pango-devel, gmp-devel, lua-devel, gtk2-devel, libgnomeui-devel
a2d586
BuildRequires:		gd-devel, perl-devel, swig >= 1.3.33, automake, autoconf, libtool, qpdf
a2d586
# Temporary workaound for perl(Carp) not pulled
a2d586
BuildRequires:		perl-Carp
a2d586
%if %{SHARP}
a2d586
BuildRequires:		mono-core
a2d586
%endif
a2d586
%if %{DEVIL}
a2d586
BuildRequires:		DevIL-devel
a2d586
%endif
a2d586
%if %{ARRRR}
a2d586
BuildRequires:		R-devel
a2d586
%endif
a2d586
%if %{OCAML}
a2d586
BuildRequires:		ocaml
a2d586
%endif
a2d586
%if %{QTAPPS}
a2d586
BuildRequires:		qt-devel
a2d586
%endif
a2d586
%if %{GTS}
a2d586
BuildRequires:		gts-devel
a2d586
%endif
a2d586
%if %{LASI}
a2d586
BuildRequires:		lasi-devel
a2d586
%endif
a2d586
BuildRequires:		urw-fonts, perl-ExtUtils-Embed, ghostscript-devel, librsvg2-devel
a2d586
Requires:		urw-fonts
a2d586
Requires(post):		/sbin/ldconfig
a2d586
Requires(postun):	/sbin/ldconfig
a2d586
a2d586
%description
a2d586
A collection of tools for the manipulation and layout of graphs (as in nodes 
a2d586
and edges, not as in barcharts).
a2d586
a2d586
%package devel
a2d586
Group:			Development/Libraries
a2d586
Summary:		Development package for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, pkgconfig
a2d586
Requires:		%{name}-gd = %{version}-%{release}
a2d586
a2d586
%description devel
a2d586
A collection of tools for the manipulation and layout of graphs (as in nodes 
a2d586
and edges, not as in barcharts). This package contains development files for 
a2d586
graphviz.
a2d586
a2d586
%if %{DEVIL}
a2d586
%package devil
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Graphviz plugin for renderers based on DevIL
a2d586
Requires:		%{name} = %{version}-%{release}
a2d586
a2d586
%description devil
a2d586
Graphviz plugin for renderers based on DevIL. (Unless you absolutely have
a2d586
to use BMP, TIF, or TGA, you are recommended to use the PNG format instead
a2d586
supported directly by the cairo+pango based renderer in the base graphviz rpm.)
a2d586
%endif
a2d586
a2d586
%package doc
a2d586
Group:			Documentation
a2d586
Summary:		PDF and HTML documents for graphviz
a2d586
a2d586
%description doc
a2d586
Provides some additional PDF and HTML documentation for graphviz.
a2d586
a2d586
%package gd
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Graphviz plugin for renderers based on gd
a2d586
Requires:		%{name} = %{version}-%{release}
a2d586
Requires(post):		%{_bindir}/dot /sbin/ldconfig
a2d586
Requires(postun):	%{_bindir}/dot /sbin/ldconfig
a2d586
a2d586
%description gd
a2d586
Graphviz plugin for renderers based on gd.  (Unless you absolutely have to use 
a2d586
GIF, you are recommended to use the PNG format instead because of the better 
a2d586
quality anti-aliased lines provided by the cairo+pango based renderer.)
a2d586
a2d586
%package graphs
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Demo graphs for graphviz
a2d586
a2d586
%description graphs
a2d586
Some demo graphs for graphviz.
a2d586
a2d586
%package guile
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Guile extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, guile
a2d586
a2d586
%description guile
a2d586
Guile extension for graphviz.
a2d586
a2d586
%package java
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Java extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}
a2d586
a2d586
%description java
a2d586
Java extension for graphviz.
a2d586
a2d586
%package lua
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Lua extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, lua
a2d586
a2d586
%description lua
a2d586
Lua extension for graphviz.
a2d586
a2d586
%if %{MING}
a2d586
%package ming
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Graphviz plugin for flash renderer based on ming
a2d586
Requires:		%{name} = %{version}-%{release}
a2d586
a2d586
%description ming
a2d586
Graphviz plugin for -Tswf (flash) renderer based on ming.
a2d586
%endif
a2d586
a2d586
%if %{OCAML}
a2d586
%package ocaml
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Ocaml extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, ocaml
a2d586
a2d586
%description ocaml
a2d586
Ocaml extension for graphviz.
a2d586
%endif
a2d586
a2d586
%package perl
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Perl extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}
a2d586
Requires:		perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a2d586
a2d586
%description perl
a2d586
Perl extension for graphviz.
a2d586
a2d586
%package php
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		PHP extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}
a2d586
Requires:	php(zend-abi) = %{php_zend_api}
a2d586
Requires:	php(api) = %{php_core_api}
a2d586
a2d586
%description php
a2d586
PHP extension for graphviz.
a2d586
a2d586
%package python
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Python extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, python
a2d586
a2d586
%description python
a2d586
Python extension for graphviz.
a2d586
a2d586
%if %{ARRRR}
a2d586
%package R
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		R extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, R-core
a2d586
a2d586
%description R
a2d586
R extension for graphviz.
a2d586
%endif
a2d586
a2d586
%package ruby
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Ruby extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, ruby
a2d586
a2d586
%description ruby
a2d586
Ruby extension for graphviz.
a2d586
a2d586
%if %{SHARP}
a2d586
%package sharp
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		C# extension for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, mono-core
a2d586
a2d586
%description sharp
a2d586
C# extension for graphviz.
a2d586
%endif
a2d586
a2d586
%package tcl
a2d586
Group:			Applications/Multimedia
a2d586
Summary:		Tcl extension & tools for graphviz
a2d586
Requires:		%{name} = %{version}-%{release}, tcl >= 8.3, tk
a2d586
a2d586
%description tcl
a2d586
Various tcl packages (extensions) for the graphviz tools.
a2d586
a2d586
%prep
a2d586
%setup -q
a2d586
%patch2 -p1 -b .guile2-fix
a2d586
%patch3 -p1 -b .testsuite-sigsegv-fix
a2d586
%patch4 -p1 -b .rtest-errout-fix
a2d586
%patch5 -p1 -b .cgraph
a2d586
%patch6 -p1 -b .lua-52
a2d586
%patch7 -p1 -b .smyrna-doc-opt
a2d586
%patch8 -p1 -b .gv2gml-options-fix
a2d586
%patch9 -p1 -b .lefty-help
a2d586
%patch10 -p1 -b .prune-help
a2d586
%patch11 -p1 -b .man-fix
a2d586
%patch12 -p1 -b .aarch64
a2d586
%patch13 -p1 -b .lefty-getaddrinfo
d3d782
%patch14 -p1 -b .CVE-2014-0978-CVE-2014-1235
d3d782
%patch15 -p1 -b .CVE-2014-1236
a2d586
a2d586
# Attempt to fix rpmlint warnings about executable sources
a2d586
find -type f -regex '.*\.\(c\|h\)$' -exec chmod a-x {} ';'
a2d586
a2d586
%build
a2d586
autoreconf -if
a2d586
# Hack in the java includes we need
a2d586
sed -i '/JavaVM.framework/!s/JAVA_INCLUDES=/JAVA_INCLUDES=\"_MY_JAVA_INCLUDES_\"/g' configure
a2d586
sed -i 's|_MY_JAVA_INCLUDES_|-I%{java_home}/include/ -I%{java_home}/include/linux/|g' configure
a2d586
# Rewrite config_ruby.rb to work with Ruby 1.9
a2d586
sed -i 's|expand(|expand(Config::|' config/config_ruby.rb
a2d586
sed -i 's|sitearchdir|vendorarchdir|' config/config_ruby.rb
a2d586
a2d586
# get the path to search for ruby/config.h to CPPFLAGS, so that configure can find it
a2d586
export CPPFLAGS=-I`ruby -e "puts File.join(RbConfig::CONFIG['includedir'], RbConfig::CONFIG['sitearch'])" || echo /dev/null`
a2d586
%configure --with-x --disable-static --disable-dependency-tracking --without-mylibgd --with-ipsepcola --with-pangocairo --with-gdk-pixbuf \
a2d586
%if ! %{LASI}
a2d586
	--without-lasi \
a2d586
%endif
a2d586
%if ! %{GTS}
a2d586
	--without-gts \
a2d586
%endif
a2d586
%if ! %{SHARP}
a2d586
	--disable-sharp \
a2d586
%endif
a2d586
%if ! %{OCAML}
a2d586
	--disable-ocaml \
a2d586
%endif
a2d586
%if ! %{MING}
a2d586
	--without-ming \
a2d586
%endif
a2d586
%if ! %{ARRRR}
a2d586
	--disable-r \
a2d586
%endif
a2d586
%if ! %{DEVIL}
a2d586
	--without-devil \
a2d586
%endif
a2d586
%if ! %{QTAPPS}
a2d586
	--without-qt \
a2d586
%endif
a2d586
a2d586
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \
a2d586
  CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}"
a2d586
a2d586
%install
a2d586
rm -rf %{buildroot}
a2d586
make DESTDIR=%{buildroot} \
a2d586
	docdir=%{buildroot}%{_docdir}/%{name}-%{version} \
a2d586
	pkgconfigdir=%{_libdir}/pkgconfig \
a2d586
	install
a2d586
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
a2d586
chmod -x %{buildroot}%{_datadir}/%{name}/lefty/*
a2d586
a2d586
# Move docs to the right place
a2d586
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
a2d586
mv %{buildroot}%{_datadir}/%{name}/doc/* %{buildroot}%{_docdir}/%{name}-%{version}
a2d586
a2d586
# Install README
a2d586
install -m0644 README %{buildroot}%{_docdir}/%{name}-%{version}
a2d586
a2d586
# PHP configuration file
a2d586
%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
a2d586
%{__cat} << __EOF__ > %{buildroot}%{_sysconfdir}/php.d/%{name}.ini
a2d586
; Enable %{name} extension module
a2d586
extension=gv.so
a2d586
__EOF__
a2d586
a2d586
# Remove executable modes from demos
a2d586
find %{buildroot}%{_datadir}/%{name}/demo -type f -exec chmod a-x {} ';'
a2d586
a2d586
# Move demos to doc
a2d586
mv %{buildroot}%{_datadir}/%{name}/demo %{buildroot}%{_docdir}/%{name}-%{version}/
a2d586
a2d586
# Rename python demos to prevent byte compilation
a2d586
find %{buildroot}%{_docdir}/%{name}-%{version}/demo -type f -name "*.py" -exec mv {} {}.demo ';'
a2d586
a2d586
# Remove dot_builtins, on demand loading should be sufficient
a2d586
rm -f %{buildroot}%{_bindir}/dot_builtins
a2d586
a2d586
# Remove metadata from generated PDFs
a2d586
pushd %{buildroot}%{_docdir}/%{name}-%{version}/pdf
a2d586
for f in prune lneato.1 lefty.1 gvgen.1 gc.1 dotty.1 dot.1 cluster.1
a2d586
do
a2d586
  if [ -f $f.pdf ]
a2d586
  then
a2d586
# ugly, but there is probably no better solution
a2d586
    qpdf --empty --static-id --pages $f.pdf -- $f.pdf.$$
a2d586
    mv -f $f.pdf.$$ $f.pdf
a2d586
  fi
a2d586
done
a2d586
a2d586
# Ghost plugins config
a2d586
touch %{buildroot}%{_libdir}/graphviz/config%{pluginsver}
a2d586
a2d586
%check
a2d586
# Minimal load test of php extension
a2d586
LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
a2d586
php --no-php-ini \
a2d586
    --define extension_dir=%{buildroot}%{_libdir}/graphviz/php/ \
a2d586
    --define extension=libgv_php.so \
a2d586
    --modules | grep gv
a2d586
a2d586
# upstream test suite
a2d586
cd rtest
a2d586
make rtest
a2d586
a2d586
%clean
a2d586
rm -rf %{buildroot}
a2d586
a2d586
%post
a2d586
/sbin/ldconfig
a2d586
%{_bindir}/dot -c
a2d586
a2d586
%postun
a2d586
/sbin/ldconfig
a2d586
a2d586
%if %{DEVIL}
a2d586
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
a2d586
%post devil
a2d586
%{_bindir}/dot -c 2>/dev/null || :
a2d586
/sbin/ldconfig
a2d586
a2d586
%postun devil
a2d586
%{_bindir}/dot -c 2>/dev/null || :
a2d586
/sbin/ldconfig
a2d586
%endif
a2d586
a2d586
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
a2d586
%post gd
a2d586
%{_bindir}/dot -c 2>/dev/null || :
a2d586
/sbin/ldconfig
a2d586
a2d586
%postun gd
a2d586
%{_bindir}/dot -c 2>/dev/null || :
a2d586
/sbin/ldconfig
a2d586
a2d586
%if %{MING}
a2d586
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
a2d586
%post ming
a2d586
%{_bindir}/dot -c 2>/dev/null || :
a2d586
/sbin/ldconfig
a2d586
a2d586
%postun ming
a2d586
%{_bindir}/dot -c 2>/dev/null || :
a2d586
/sbin/ldconfig
a2d586
%endif
a2d586
a2d586
%files
a2d586
%defattr(-,root,root,-)
a2d586
%doc %{_docdir}/%{name}-%{version}
a2d586
%{_bindir}/*
a2d586
%dir %{_libdir}/graphviz
a2d586
%{_libdir}/*.so.*
a2d586
%{_libdir}/graphviz/*.so.*
a2d586
%{_mandir}/man1/*.1*
a2d586
%{_mandir}/man7/*.7*
a2d586
%dir %{_datadir}/graphviz
a2d586
%exclude %{_docdir}/%{name}-%{version}/html
a2d586
%exclude %{_docdir}/%{name}-%{version}/pdf
a2d586
%exclude %{_docdir}/%{name}-%{version}/demo
a2d586
%{_datadir}/graphviz/lefty
a2d586
%{_datadir}/graphviz/gvpr
a2d586
%ghost %{_libdir}/graphviz/config%{pluginsver}
a2d586
a2d586
%if %{QTAPPS}
a2d586
%{_datadir}/graphviz/gvedit
a2d586
%endif
a2d586
a2d586
%exclude %{_libdir}/graphviz/*/*
a2d586
%exclude %{_libdir}/graphviz/libgvplugin_gd.*
a2d586
%if %{DEVIL}
a2d586
%exclude %{_libdir}/graphviz/libgvplugin_devil.*
a2d586
%endif
a2d586
%if %{MING}
a2d586
%exclude %{_libdir}/graphviz/libgvplugin_ming.*
a2d586
%exclude %{_libdir}/graphviz/*fdb
a2d586
%endif
a2d586
a2d586
%files devel
a2d586
%defattr(-,root,root,-)
a2d586
%{_includedir}/graphviz
a2d586
%{_libdir}/*.so
a2d586
%{_libdir}/graphviz/*.so
a2d586
%{_libdir}/pkgconfig/*.pc
a2d586
%{_mandir}/man3/*.3.gz
a2d586
a2d586
%if %{DEVIL}
a2d586
%files devil
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/libgvplugin_devil.so.*
a2d586
%endif
a2d586
a2d586
%files doc
a2d586
%defattr(-,root,root,-)
a2d586
%doc %{_docdir}/%{name}-%{version}/html
a2d586
%doc %{_docdir}/%{name}-%{version}/pdf
a2d586
%doc %{_docdir}/%{name}-%{version}/demo
a2d586
a2d586
%files gd
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/libgvplugin_gd.so.*
a2d586
a2d586
%files graphs
a2d586
%defattr(-,root,root,-)
a2d586
%dir %{_datadir}/graphviz
a2d586
%{_datadir}/graphviz/graphs
a2d586
a2d586
%files guile
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/guile/
a2d586
%{_mandir}/man3/gv.3guile*
a2d586
a2d586
%files java
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/java/
a2d586
%{_mandir}/man3/gv.3java*
a2d586
a2d586
%files lua
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/lua/
a2d586
%{_libdir}/lua*/*
a2d586
%{_mandir}/man3/gv.3lua*
a2d586
a2d586
%if %{MING}
a2d586
%files ming
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/libgvplugin_ming.so.*
a2d586
%{_libdir}/graphviz/*fdb
a2d586
%endif
a2d586
a2d586
%if %{OCAML}
a2d586
%files ocaml
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/ocaml/
a2d586
%{_mandir}/man3/gv.3ocaml*
a2d586
%endif
a2d586
a2d586
%files perl
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/perl/
a2d586
%{_libdir}/perl*/*
a2d586
%{_mandir}/man3/gv.3perl*
a2d586
a2d586
%files php
a2d586
%defattr(-,root,root,-)
a2d586
%config(noreplace) %{_sysconfdir}/php.d/%{name}.ini
a2d586
%{_libdir}/graphviz/php/
a2d586
%{php_extdir}/gv.so
a2d586
%{_datadir}/php*/*
a2d586
%{_mandir}/man3/gv.3php*
a2d586
a2d586
%files python
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/python/
a2d586
%{_libdir}/python*/*
a2d586
%{_mandir}/man3/gv.3python*
a2d586
a2d586
%if %{ARRRR}
a2d586
%files R
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/R/
a2d586
%{_mandir}/man3/gv.3r.gz
a2d586
%endif
a2d586
a2d586
%files ruby
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/ruby/
a2d586
%{_libdir}/*ruby*/*
a2d586
%{_mandir}/man3/gv.3ruby*
a2d586
a2d586
%if %{SHARP}
a2d586
%files sharp
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/sharp/
a2d586
%{_mandir}/man3/gv.3sharp*
a2d586
%endif
a2d586
a2d586
%files tcl
a2d586
%defattr(-,root,root,-)
a2d586
%{_libdir}/graphviz/tcl/
a2d586
%{_libdir}/tcl*/*
a2d586
# hack to include gv.3tcl only if available
a2d586
#  always includes tcldot.3tcl, gdtclft.3tcl
a2d586
%{_mandir}/man3/*.3tcl*
a2d586
%{_mandir}/man3/tkspline.3tk*
a2d586
a2d586
a2d586
%changelog
d3d782
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.30.1-18
d3d782
- Mass rebuild 2014-01-24
d3d782
d3d782
* Fri Jan 10 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-17
d3d782
- Prevent possible buffer overflow in yyerror()
d3d782
  Resolves: CVE-2014-1235
d3d782
- Fix possible buffer overflow problem in chkNum of scanner
d3d782
  Resolves: CVE-2014-1236
d3d782
d3d782
* Tue Jan  7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-16
d3d782
- Fixed overflow in yyerror
d3d782
  Resolves: CVE-2014-0978
d3d782
d3d782
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.30.1-15
d3d782
- Mass rebuild 2013-12-27
d3d782
a2d586
* Thu Oct 31 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-14
a2d586
- Removed metadata from generated PDFs
a2d586
  Related: rhbz#881173
a2d586
a2d586
* Thu Oct 31 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-13
a2d586
- Fixed multilib conflicts
a2d586
  Rewrote lefty IO lib to use getaddrinfo instead of gethostbyname
a2d586
  (by lefty-getaddrinfo patch)
a2d586
  Resolves: rhbz#881173
a2d586
a2d586
* Tue Oct 29 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-12
a2d586
- Fixed build on aarch64
a2d586
  Resolves: rhbz#1023792
a2d586
a2d586
* Fri Aug 30 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-11
a2d586
- Rebuild due to php macros change
a2d586
  Resolves: rhbz#1002865
a2d586
a2d586
* Fri Jul 12 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-10
a2d586
- Various man and built-in help fixes
a2d586
a2d586
* Tue Jun 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-9
a2d586
- Fixed handling of the libdir/graphviz directory
a2d586
a2d586
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.30.1-8
a2d586
- rebuild for new GD 2.1.0
a2d586
a2d586
* Wed May 15 2013 Tom Callaway <spot@fedoraproject.org> - 2.30.1-7
a2d586
- rebuild for lua 5.2
a2d586
a2d586
* Tue Apr 23 2013 Tom Callaway <spot@fedoraproject.org> - 2.30.1-6
a2d586
- patch libgvc.pc.in to refer to -lcgraph (-lgraph is dead and gone)
a2d586
a2d586
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 2.30.1-5
a2d586
- rebuild for R3 (may not be needed, but better safe than sorry)
a2d586
a2d586
* Mon Mar 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-4
a2d586
- Added support for aarch64
a2d586
  Resolves: rhbz#925487
a2d586
a2d586
* Fri Mar 22 2013 Remi Collet <rcollet@redhat.com> - 2.30.1-3
a2d586
- rebuild for http://fedoraproject.org/wiki/Features/Php55
a2d586
- add explicit BuildRequires: perl-Carp (workaround)
a2d586
a2d586
* Thu Mar 14 2013 Vít Ondruch <vondruch@redhat.com> - 2.30.1-2
a2d586
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
a2d586
a2d586
* Fri Feb 15 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.1-1
a2d586
- New version
a2d586
  Resolves: rhbz#911520
a2d586
  Resolves: rhbz#704529
a2d586
a2d586
* Thu Jan 24 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.0-3
a2d586
- Used ocaml_arches macros to enable ocaml on supported arches
a2d586
a2d586
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 2.30.0-2
a2d586
- rebuild due to "jpeg8-ABI" feature drop
a2d586
a2d586
* Mon Jan 14 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.30.0-1
a2d586
- New version
a2d586
  Resolves: rhbz#895027
a2d586
- Dropped guile-detect, ocaml4 patches (not needed)
a2d586
- Fixed bogus date in changelog (guessing)
a2d586
a2d586
* Wed Jan  9 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-26
a2d586
- Rebuilt with -fno-strict-overflow to workaround the overflow problem
a2d586
  (upstream ticket: http://www.graphviz.org/mantisbt/view.php?id=2244)
a2d586
- The dot_builtins was removed rather then excluded to fix the dangling
a2d586
  symlinks problem in debuginfo
a2d586
a2d586
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 2.28.0-25
a2d586
- rebuild against new libjpeg
a2d586
a2d586
* Wed Oct 17 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-24
a2d586
- Rebuilt for new ocaml
a2d586
a2d586
* Fri Aug 17 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-23
a2d586
- Silenced 'dot -c' errors/warnings in post/postun
a2d586
- Do not remove dot config in plugins post/postun
a2d586
a2d586
* Fri Aug 17 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-22
a2d586
- dot_builtins no longer installed (lowers implicit deps)
a2d586
- Fixed post/postuns for plugins
a2d586
- Removed -ffast-math, added -ffloat-store (on i386) to fix arithmetic on i386
a2d586
a2d586
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.0-21
a2d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a2d586
a2d586
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 2.28.0-20
a2d586
- Perl 5.16 rebuild
a2d586
a2d586
* Sat Jun  9 2012 Richard W.M. Jones <rjones@redhat.com> - 2.28.0-19
a2d586
- Rebuild for OCaml 4.00.0.
a2d586
- Enable OCaml on arm and ppc64, since there are working native compilers
a2d586
  for both.
a2d586
a2d586
* Wed May 23 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-18
a2d586
- Improved docs handling code in spec to be backward compatible with older RPM
a2d586
a2d586
* Tue May 22 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-17
a2d586
- All docs are now installed into /usr/share/doc/graphviz-%%{version}
a2d586
- Demos packaged as docs not to automatically bring in unnecessary deps
a2d586
a2d586
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.0-16
a2d586
- Rebuilt for c++ ABI breakage
a2d586
a2d586
* Thu Feb 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.28.0-15
a2d586
- fix CPPFLAGS export so it doesn't cause issues on ARM
a2d586
a2d586
* Mon Feb 06 2012 Vít Ondruch <vondruch@redhat.com> - 2.28.0-14
a2d586
- Rebuilt for Ruby 1.9.3.
a2d586
a2d586
* Wed Jan 18 2012 Remi Collet <remi@fedoraproject.org> - 2.28.0-13
a2d586
- build against php 5.4.0
a2d586
- add filter to fix private-shared-object-provides
a2d586
- add %%check for php extension
a2d586
a2d586
* Sun Jan 08 2012 Richard W.M. Jones <rjones@redhat.com> - 2.28.0-12
a2d586
- Rebuild for OCaml 3.12.1.
a2d586
a2d586
* Thu Dec  8 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-11
a2d586
- Added conditionals for ARRRR, DEVIL, QTAPPS (gvedit), GTS, LASI
a2d586
- Fixed conditionals for SHARP, OCAML
a2d586
- Built with gts, ghostscript, rsvg and lasi
a2d586
  Resolves: rhbz#760926
a2d586
- Disabled gvedit
a2d586
  Resolves: rhbz#751807
a2d586
- Fixed rpmlint warnings about executable sources
a2d586
a2d586
* Wed Nov  9 2011 Tom Callaway <spot@fedoraproject.org> - 2.28.0-10
a2d586
- rebuild for R 2.14.0
a2d586
a2d586
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 2.28.0-9
a2d586
- Perl mass rebuild
a2d586
a2d586
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.28.0-8
a2d586
- Perl mass rebuild
a2d586
a2d586
* Thu Jul 07 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-7
a2d586
- Added gd as devel requirement
a2d586
a2d586
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.28.0-6
a2d586
- Perl mass rebuild
a2d586
a2d586
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.28.0-5
a2d586
- Perl 5.14 mass rebuild
a2d586
a2d586
* Thu May 19 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-4
a2d586
- Fixed detection of guile 2.x
a2d586
  Resolves: rhbz#704529
a2d586
a2d586
* Fri May 13 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-3
a2d586
- Corrected license tag, the graphviz license is now EPL
a2d586
a2d586
* Fri May 13 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-2
a2d586
- Recompiled with -fno-strict-aliasing in CXXFLAGS
a2d586
a2d586
* Tue May 10 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28.0-1
a2d586
- New version 2.28.0
a2d586
- Added perl-ExtUtils-Embed to BuildRequires, it is now required
a2d586
- Fixed build failure due to change in php_zend_api macro type
a2d586
- Removed sparc64, gtk-progname, doc-index-fix, ppc-darwinhack
a2d586
  patches (all were upstreamed)
a2d586
a2d586
* Thu Mar 03 2011 Oliver Falk <oliver@linux-kernel.at> - 2.26.3-5
a2d586
- Disable mono and ocaml on alpha
a2d586
a2d586
* Tue Feb 22 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.26.3-4
a2d586
- Added urw-fonts to requires (#677114)
a2d586
a2d586
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.3-3
a2d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a2d586
a2d586
* Fri Jan 21 2011 Karsten Hopp <karsten@redhat.com> 2.26.3-2
a2d586
- fix hack for powerpc-darwin8 in configure
a2d586
a2d586
* Thu Jan 06 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.26.3-1
a2d586
- New version (#580017)
a2d586
- Fixed gtk plugin program-name (#640671, gtk-progname patch)
a2d586
- Fixed broken links in doc index (#642536, doc-index-fix patch)
a2d586
- Fixed SIGSEGVs on testsuite (#645703, testsuite-sigsegv-fix patch)
a2d586
- Testsuite now do diff check also in case of err output (#645703,
a2d586
  rtest-errout-fix patch)
a2d586
- Testsuite enabled on all arches (#645703)
a2d586
- Added urw-fonts to BuildRequires
a2d586
- Compiled with -fno-strict-aliasing
a2d586
- Fixed rpmlint warnings on spec file
a2d586
- Removed unused patches
a2d586
a2d586
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.26.0-4
a2d586
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a2d586
a2d586
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.26.0-3
a2d586
- Mass rebuild with perl-5.12.0
a2d586
a2d586
* Mon Jan 04 2010 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.26.0-2
a2d586
- Rebuild for updated ocaml
a2d586
- Happy new year, Fedora!
a2d586
a2d586
* Fri Dec 18 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.26.0-1
a2d586
- Updated to latest release
a2d586
- Removed patches that have been applied upstream
a2d586
- Fixed man page paths (mann -> man3)
a2d586
- Disabled mono and ocaml for ARM (Jitesh Shah, BZ#532047)
a2d586
- Disabled regression tests on sparc64 as well as ppc/ppc64 (Dennis Gilmore)
a2d586
a2d586
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20.3-5.1
a2d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a2d586
a2d586
* Mon Jul 13 2009 Remi Collet <Fedora@FamilleCollet.com> 2.20.3-4.1
a2d586
- fix mistake in make rtest fix
a2d586
a2d586
* Mon Jul 13 2009 Remi Collet <Fedora@FamilleCollet.com> 2.20.3-4
a2d586
- rebuild for new PHP 5.3.0 ABI (20090626)
a2d586
- add PHP ABI check
a2d586
- use php_extdir (and don't own it)
a2d586
- add php configuration file (/etc/php.d/graphviz.ini)
a2d586
a2d586
* Mon Mar  2 2009 Tom "spot" Callaway <tcallawa@redhat.com> 2.20.3-3
a2d586
- this spec makes baby animals cry... massively clean it up
a2d586
- hack in java includes to build against openjdk
a2d586
- add ruby as a BuildRequires (configure checks for /usr/bin/ruby)
a2d586
a2d586
* Wed Feb 25 2009 John Ellson <ellson@graphviz.org> 2.20.3-2.2
a2d586
- fixes for swig changes
a2d586
a2d586
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20.3-1.3
a2d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a2d586
a2d586
* Wed Feb 11 2009 Karsten Hopp <karsten@redhat.com> 2.20.3-.2
a2d586
- make it build on s390, s390x (#469044)
a2d586
a2d586
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.20.3-1.1
a2d586
- Rebuild for Python 2.6
a2d586
a2d586
* Mon Nov 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.20.3-1
a2d586
- update to 2.20.3
a2d586
a2d586
* Sat Nov 22 2008 Rex Dieter <rdieter@fedoraproject.org> 2.16.1-0.7
a2d586
- respin (libtool)
a2d586
a2d586
* Mon Jul  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.16.1-0.6
a2d586
- fix conditional comparison
a2d586
a2d586
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.16.1-0.5
a2d586
- add Requires for versioned perl (libperl.so)
a2d586
a2d586
* Tue Mar 04 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.16.1-0.4
a2d586
- Disable R support
a2d586
a2d586
* Mon Mar 03 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.16.1-0.2
a2d586
- New upstream release (fixes BZ#433205, BZ#427376)
a2d586
- Merged spec changes in from upstream
a2d586
- Added patch from BZ#432683
a2d586
a2d586
* Tue Feb 12 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.16-3.3
a2d586
- Added upstream-provided patch for building under GCC 4.3 (thanks John!)
a2d586
a2d586
* Thu Jan  3 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.16-3.2
a2d586
- Re-added tcl/tk 8.5 patch
a2d586
- Tweaked ming stuff
a2d586
a2d586
* Thu Jan  3 2008 Alex Lancaster <alexlan[AT]fedoraproject.org> - 2.16-3.1
a2d586
- Rebuild against new Tcl 8.5
a2d586
a2d586
* Wed Dec 12 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.16-2
a2d586
- What the heck?  Can't BR stuff that hasn't even gotten reviewed yet.
a2d586
a2d586
* Wed Nov 28 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.16-1
a2d586
- New upstream release
a2d586
- Remove arith.h patch
a2d586
a2d586
* Tue Sep 04 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.14.1-3
a2d586
- Patch to resurrect arith.h
a2d586
a2d586
* Thu Aug 23 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.14.1-2
a2d586
- Added perl-devel to BR for F7+
a2d586
a2d586
* Wed Aug 15 2007 John Ellson <ellson@research.att.com>
a2d586
- release 2.14.1 - see ChangeLog for details
a2d586
* Thu Aug 2 2007 John Ellson <ellson@research.att.com>
a2d586
- release 2.14 - see ChangeLog for details
a2d586
* Fri Mar 16 2007 Stephen North <north@research.att.com>
a2d586
- remove xorg-X11-devel from rhel >= 5
a2d586
* Mon Dec 11 2006 John Ellson <john.ellson@comcast.net>
a2d586
- fix graphviz-lua description (Fedora BZ#218191)
a2d586
* Tue Sep 13 2005 John Ellson <ellson@research.att.com>
a2d586
- split out language bindings into their own rpms so that 
a2d586
  main rpm doesn't depend on (e.g.) ocaml
a2d586
a2d586
* Sat Aug 13 2005 John Ellson <ellson@research.att.com>
a2d586
- imported various fixes from the Fedora-Extras .spec by Oliver Falk <oliver@linux-kernel.at>
a2d586
a2d586
* Wed Jul 20 2005 John Ellson <ellson@research.att.com>
a2d586
- release 2.4