New version

Resolves: rhbz#2029089
This commit is contained in:
Jaroslav Škarvada 2021-12-06 19:37:54 +01:00
parent 72681cc5f9
commit 6bb19c4e3e
2 changed files with 50 additions and 13 deletions

View File

@ -67,24 +67,54 @@
Name: graphviz Name: graphviz
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Version: 2.49.3 Version: 2.50.0
Release: 3%{?dist} Release: 1%{?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
BuildRequires: gcc-g++ BuildRequires: gcc-g++
BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, expat-devel, freetype-devel >= 2 BuildRequires: zlib-devel
BuildRequires: ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig, sed BuildRequires: libpng-devel
BuildRequires: fontconfig-devel, libtool-ltdl-devel, ruby-devel, ruby BuildRequires: libjpeg-devel
BuildRequires: expat-devel
BuildRequires: freetype-devel >= 2
BuildRequires: ksh
BuildRequires: bison
BuildRequires: m4
BuildRequires: flex
BuildRequires: tk-devel
BuildRequires: tcl-devel >= 8.3
BuildRequires: swig
BuildRequires: sed
BuildRequires: fontconfig-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: ruby-devel
BuildRequires: ruby
BuildRequires: libXt-devel
BuildRequires: libXmu-devel
%if %{GUILE} %if %{GUILE}
BuildRequires: guile22-devel BuildRequires: guile22-devel
%endif %endif
%if %{with python2} %if %{with python2}
BuildRequires: python2-devel BuildRequires: python2-devel
%endif %endif
BuildRequires: python3-devel, libXaw-devel, libSM-devel, libXext-devel, java-devel BuildRequires: python3-devel
BuildRequires: cairo-devel >= 1.1.10, pango-devel, gmp-devel, lua-devel, gtk2-devel BuildRequires: libXaw-devel
BuildRequires: gd-devel, perl-devel, swig >= 1.3.33, automake, autoconf, libtool, qpdf BuildRequires: libSM-devel
BuildRequires: libXext-devel
BuildRequires: java-devel
BuildRequires: cairo-devel >= 1.1.10
BuildRequires: pango-devel
BuildRequires: gmp-devel
BuildRequires: lua-devel
BuildRequires: gtk2-devel
BuildRequires: gd-devel
BuildRequires: perl-devel
BuildRequires: swig >= 1.3.33
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: qpdf
# Temporary workaound for perl(Carp) not pulled # Temporary workaound for perl(Carp) not pulled
BuildRequires: perl-Carp BuildRequires: perl-Carp
%if %{PHP} %if %{PHP}
@ -111,13 +141,17 @@ BuildRequires: gts-devel
%if %{LASI} %if %{LASI}
BuildRequires: lasi-devel BuildRequires: lasi-devel
%endif %endif
BuildRequires: urw-base35-fonts, perl-ExtUtils-Embed, perl-generators, librsvg2-devel BuildRequires: urw-base35-fonts
BuildRequires: perl-ExtUtils-Embed
BuildRequires: perl-generators
BuildRequires: librsvg2-devel
# for ps2pdf # for ps2pdf
BuildRequires: ghostscript BuildRequires: ghostscript
BuildRequires: libgs-devel BuildRequires: libgs-devel
BuildRequires: make BuildRequires: make
# ISO8859-1 fonts are required by lefty # ISO8859-1 fonts are required by lefty
Requires: urw-base35-fonts, xorg-x11-fonts-ISO8859-1-100dpi Requires: urw-base35-fonts
Requires: xorg-x11-fonts-ISO8859-1-100dpi
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
# rhbz#1838679 # rhbz#1838679
@ -309,7 +343,7 @@ 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` export CPPFLAGS=-I`ruby -e "puts File.join(RbConfig::CONFIG['includedir'], RbConfig::CONFIG['sitearch'])" || echo /dev/null`
%configure --with-x --disable-static --disable-dependency-tracking \ %configure --with-x --disable-static --disable-dependency-tracking \
--without-mylibgd --with-ipsepcola --with-pangocairo \ --without-mylibgd --with-ipsepcola --with-pangocairo \
--with-gdk-pixbuf --with-visio --disable-silent-rules \ --with-gdk-pixbuf --with-visio --disable-silent-rules --enable-lefty \
%if ! %{LASI} %if ! %{LASI}
--without-lasi \ --without-lasi \
%endif %endif
@ -353,7 +387,6 @@ make DESTDIR=%{buildroot} \
pkgconfigdir=%{_libdir}/pkgconfig \ pkgconfigdir=%{_libdir}/pkgconfig \
install install
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
chmod -x %{buildroot}%{_datadir}/%{name}/lefty/*
# Move docs to the right place # Move docs to the right place
mkdir -p %{buildroot}%{_docdir}/%{name} mkdir -p %{buildroot}%{_docdir}/%{name}
@ -596,6 +629,10 @@ php --no-php-ini \
%{_mandir}/man3/*.3tcl* %{_mandir}/man3/*.3tcl*
%changelog %changelog
* Mon Dec 6 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.50.0-1
- New version
Resolves: rhbz#2029089
* Tue Nov 23 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.49.3-3 * Tue Nov 23 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.49.3-3
- Fixed gvpack to run - Fixed gvpack to run
Resolves: rhbz#1838679 Resolves: rhbz#1838679

View File

@ -1 +1 @@
SHA512 (graphviz-2.49.3.tar.bz2) = 5d95f66d8a5d9b7e57763b98bcf74852a1c0ba671e3147060def738c7458d0ae9db5d8ba0ea7a811a8f92018a44cf38e849aa08dd384e9b6b39d90537b9a41a8 SHA512 (graphviz-2.50.0.tar.bz2) = 29c432056db602c4c1ab587cf2ef20818aa3e121c3310cfa39d4953ae77e07cb74def73dfcf15395e70483979e2724298dc3806dead57b3532ab30154490b0be