|
|
@ -3,11 +3,24 @@
|
|
|
|
%bcond_with php
|
|
|
|
%bcond_with php
|
|
|
|
%bcond_with guile
|
|
|
|
%bcond_with guile
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%bcond_without php
|
|
|
|
# temporal drop of PHP support due to https://gitlab.com/graphviz/graphviz/-/issues/2277
|
|
|
|
|
|
|
|
%bcond_with php
|
|
|
|
%bcond_without guile
|
|
|
|
%bcond_without guile
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%bcond_with python2
|
|
|
|
%bcond_with python2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Macro for creating an option which enables bootstraping build without dependencies,
|
|
|
|
|
|
|
|
# which cause problems during rebuilds. Currently it is circular dependency of graphviz and
|
|
|
|
|
|
|
|
# doxygen - in case a dependency of graphviz/doxygen bumps SONAME and graphviz/doxygen
|
|
|
|
|
|
|
|
# has to be rebuilt, we can break the circular dependency by building with --with bootstrap.
|
|
|
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
|
|
|
|
%bcond_with gtk2
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_without gtk2
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Necessary conditionals
|
|
|
|
# Necessary conditionals
|
|
|
|
%ifarch %{mono_arches}
|
|
|
|
%ifarch %{mono_arches}
|
|
|
|
%global SHARP 1
|
|
|
|
%global SHARP 1
|
|
|
@ -80,8 +93,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: graphviz
|
|
|
|
Name: graphviz
|
|
|
|
Summary: Graph Visualization Tools
|
|
|
|
Summary: Graph Visualization Tools
|
|
|
|
Version: 6.0.2
|
|
|
|
Version: 7.1.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
License: EPL-1.0
|
|
|
|
License: EPL-1.0
|
|
|
|
URL: http://www.graphviz.org/
|
|
|
|
URL: http://www.graphviz.org/
|
|
|
|
Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
|
|
@ -122,7 +135,9 @@ BuildRequires: cairo-devel >= 1.1.10
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: gmp-devel
|
|
|
|
BuildRequires: gmp-devel
|
|
|
|
BuildRequires: lua-devel
|
|
|
|
BuildRequires: lua-devel
|
|
|
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: swig >= 1.3.33
|
|
|
|
BuildRequires: swig >= 1.3.33
|
|
|
@ -168,7 +183,9 @@ BuildRequires: poppler-glib-devel
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: libglade2-devel
|
|
|
|
BuildRequires: libglade2-devel
|
|
|
|
BuildRequires: gtkglext-devel
|
|
|
|
BuildRequires: gtkglext-devel
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%if %{GOLANG}
|
|
|
|
%if %{GOLANG}
|
|
|
|
BuildRequires: golang
|
|
|
|
BuildRequires: golang
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -179,6 +196,8 @@ Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
# rhbz#1838679
|
|
|
|
# rhbz#1838679
|
|
|
|
Patch0: graphviz-4.0.0-gvpack-neato-static.patch
|
|
|
|
Patch0: graphviz-4.0.0-gvpack-neato-static.patch
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2155048
|
|
|
|
|
|
|
|
Patch1: graphviz-7.0.6-fix-python-3.12.patch
|
|
|
|
|
|
|
|
|
|
|
|
%if ! %{JAVA}
|
|
|
|
%if ! %{JAVA}
|
|
|
|
Obsoletes: graphviz-java < %{version}-%{release}
|
|
|
|
Obsoletes: graphviz-java < %{version}-%{release}
|
|
|
@ -234,6 +253,7 @@ Graphviz plugin for renderers based on gd. (Unless you absolutely have to use
|
|
|
|
GIF, you are recommended to use the PNG format instead because of the better
|
|
|
|
GIF, you are recommended to use the PNG format instead because of the better
|
|
|
|
quality anti-aliased lines provided by the cairo+pango based renderer.)
|
|
|
|
quality anti-aliased lines provided by the cairo+pango based renderer.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
%package gtk2
|
|
|
|
%package gtk2
|
|
|
|
Summary: Graphviz plugin for renderers based on gtk2
|
|
|
|
Summary: Graphviz plugin for renderers based on gtk2
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
@ -242,6 +262,7 @@ Requires(postun): %{_bindir}/dot /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description gtk2
|
|
|
|
%description gtk2
|
|
|
|
Graphviz plugin for renderers based on gtk2.
|
|
|
|
Graphviz plugin for renderers based on gtk2.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%package graphs
|
|
|
|
%package graphs
|
|
|
|
Summary: Demo graphs for graphviz
|
|
|
|
Summary: Demo graphs for graphviz
|
|
|
@ -295,7 +316,6 @@ Ocaml extension for graphviz.
|
|
|
|
%package perl
|
|
|
|
%package perl
|
|
|
|
Summary: Perl extension for graphviz
|
|
|
|
Summary: Perl extension for graphviz
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description perl
|
|
|
|
%description perl
|
|
|
|
Perl extension for graphviz.
|
|
|
|
Perl extension for graphviz.
|
|
|
@ -445,7 +465,10 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
|
|
|
|
%make_build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \
|
|
|
|
%make_build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}"
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
make doxygen
|
|
|
|
make doxygen
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install docdir=%{_docdir}/%{name} \
|
|
|
|
%make_install docdir=%{_docdir}/%{name} \
|
|
|
@ -553,6 +576,7 @@ php --no-php-ini \
|
|
|
|
%{_bindir}/dot -c 2>/dev/null || :
|
|
|
|
%{_bindir}/dot -c 2>/dev/null || :
|
|
|
|
%{?ldconfig}
|
|
|
|
%{?ldconfig}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
%post gtk2
|
|
|
|
%post gtk2
|
|
|
|
%{_bindir}/dot -c 2>/dev/null || :
|
|
|
|
%{_bindir}/dot -c 2>/dev/null || :
|
|
|
|
%{?ldconfig}
|
|
|
|
%{?ldconfig}
|
|
|
@ -560,6 +584,7 @@ php --no-php-ini \
|
|
|
|
%postun gtk2
|
|
|
|
%postun gtk2
|
|
|
|
%{_bindir}/dot -c 2>/dev/null || :
|
|
|
|
%{_bindir}/dot -c 2>/dev/null || :
|
|
|
|
%{?ldconfig}
|
|
|
|
%{?ldconfig}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{MING}
|
|
|
|
%if %{MING}
|
|
|
|
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
|
|
|
|
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
|
|
|
@ -635,9 +660,11 @@ php --no-php-ini \
|
|
|
|
%files gd
|
|
|
|
%files gd
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gd.so.*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gd.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
%files gtk2
|
|
|
|
%files gtk2
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gtk.so.*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gtk.so.*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gdk.so.*
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gdk.so.*
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files graphs
|
|
|
|
%files graphs
|
|
|
|
%dir %{_datadir}/graphviz
|
|
|
|
%dir %{_datadir}/graphviz
|
|
|
@ -727,6 +754,60 @@ php --no-php-ini \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-2
|
|
|
|
|
|
|
|
- Release bump to handle gs update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resolves: rhbz#2162906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 7.0.6-4
|
|
|
|
|
|
|
|
- Rebuild OCaml packages for F38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 23 2023 Zdenek Dohnal <zdohnal@redhat.com> - 7.0.6-3
|
|
|
|
|
|
|
|
- add %%bcond_with bootstrap to break circular dependency with doxygen if needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.6-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.6-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resovles: rhbz#2158703
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 06 2023 Tomas Popela <tpopela@redhat.com> - 7.0.5-3
|
|
|
|
|
|
|
|
- Don't build GTK 2 bits on ELN/RHEL 10 as GTK 2 won't be available there
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 7.0.5-2
|
|
|
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 29 2022 Tom Callaway <spot@fedoraproject.org> - 7.0.5-1
|
|
|
|
|
|
|
|
- update to 7.0.5
|
|
|
|
|
|
|
|
- patch out distutils usage to build with Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.4-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resolves: rhbz#2150535
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 1 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.3-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resolves: rhbz#2148597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 21 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.2-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resolves: rhbz#2144128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.1-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resolves: rhbz#2141409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 1 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.0-2
|
|
|
|
|
|
|
|
- Temporally drop PHP support due to graphviz issue #2277
|
|
|
|
|
|
|
|
Resolves: rhbz#2137832
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.0-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
Resolves: rhbz#2137071
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.0.2-3
|
|
|
|
* Fri Oct 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.0.2-3
|
|
|
|
- More fixes for conditional build of smyrna
|
|
|
|
- More fixes for conditional build of smyrna
|
|
|
|
|
|
|
|
|
|
|
|