SHA256
1
0
forked from pool/graphviz

Accepting request 876040 from home:cvoegl:branches:graphics

- Add graphviz-webp package to for webp image support
- Reenable ghostscript, but require just ghostscript-mini

OBS-URL: https://build.opensuse.org/request/show/876040
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=155
This commit is contained in:
Christian Vögl 2021-03-01 18:01:02 +00:00 committed by Git OBS Bridge
parent 781f6a7ed5
commit f49aeb6e1e
2 changed files with 34 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Mar 1 13:55:28 UTC 2021 - Christian Vögl <christian.voegl@suse.com>
- Add graphviz-webp package to for webp image support
-------------------------------------------------------------------
Tue Feb 23 16:10:57 UTC 2021 - Christian Vögl <christian.voegl@suse.com>
- Reenable ghostscript, but require just ghostscript-mini
-------------------------------------------------------------------
Thu Feb 18 18:04:09 UTC 2021 - Christian Vögl <christian.voegl@suse.com>

View File

@ -81,6 +81,7 @@ BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: ghostscript-mini
BuildRequires: groff
BuildRequires: guile-devel
BuildRequires: libstdc++-devel
@ -98,6 +99,7 @@ BuildRequires: freeglut-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libwebp-devel
BuildRequires: perl
%if 0%{?suse_version} >= 1500
BuildRequires: php7-devel
@ -293,6 +295,18 @@ Requires: tk
The graphviz-tcl package contains the various tcl packages (extensions)
for the graphviz tools.
%package -n graphviz-webp
Summary: WebP support for graphviz
Group: Productivity/Graphics/Visualization/Graph
Requires: graphviz = %{version}
Requires: graphviz-gnome = %{version}
Requires: libwebp7
%description -n graphviz-webp
The graphviz-webp package contains files needed for the support of WebP images
%package -n graphviz-doc
Summary: Documentation for graphviz
Group: Documentation/Howto
@ -383,7 +397,6 @@ export LDFLAGS="-pie"
--without-ming \
--disable-io \
--without-visio \
--without-ghostscript \
%if "%{flavor}" == "addons"
%if %{with python2}
--enable-python2 \
@ -549,6 +562,7 @@ fi
%{_bindir}/dot -c 2>/dev/null
%files -n graphviz-gnome
%{_libdir}/graphviz/libgvplugin_gs*
%{_libdir}/graphviz/libgvplugin_rsvg*
%{_libdir}/graphviz/libgvplugin_pango*
%{_libdir}/graphviz/libgvplugin_gtk*
@ -558,6 +572,12 @@ fi
%post -n graphviz-tcl -p /sbin/ldconfig
%postun -n graphviz-tcl -p /sbin/ldconfig
%post -n graphviz-webp
%{_bindir}/dot -c
%postun -n graphviz-webp
%{_bindir}/dot -c 2>/dev/null
%files -n graphviz-guile
%{_libdir}/graphviz/guile
%{_mandir}/man3/gv.3guile%{ext_man}
@ -632,6 +652,9 @@ fi
%{_datadir}/tcl/%{mname}/pkgIndex.tcl
%{_mandir}/man3/*.3tcl*
%files -n graphviz-webp
%{_libdir}/graphviz/libgvplugin_webp.so*
%files -n graphviz-doc
%docdir %{_defaultdocdir}/%{mname}-doc
%{_defaultdocdir}/%{mname}-doc