update to 2.42.2 [release 2.42.2-1mamba;Sat Oct 26 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 23:27:16 +01:00
parent 2fbbf06209
commit 759e8d4579

View File

@ -1,7 +1,7 @@
%define libname lib%{name}
Name: graphviz
Version: 2.40.1
Version: 2.42.2
Release: 1mamba
Summary: Graph Visualization Tools
Group: Applications/Graphics
@ -9,7 +9,8 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.graphviz.org/
Source: http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-%{version}.tar.gz
Source: https://gitlab.com/graphviz/graphviz.git/%{version}/graphviz-%{version}.tar.bz2
#Source: http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-%{version}.tar.gz
Patch0: graphviz-2.30.1-php-5.4.11.patch
Patch1: graphviz-2.30.1-lua-5.2.patch
Patch2: graphviz-2.30.1-gvc.pc-no-libgraph.patch
@ -19,10 +20,10 @@ Patch5: graphviz-2.38.0-ghostscript-9.19.patch
Patch6: graphviz-2.38.0-lua-5.3.patch
License: Common Public Attribution License 1.0
## AUTOBUILDREQ-BEGIN
BuildRequires: R
BuildRequires: ghostscript-devel
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libR-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
@ -184,6 +185,14 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-java
This package provides java extension for %{name}.
%package -n %{libname}-go
Group: System/Libraries
Summary: Go language extension for %{name}
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-go
This package provides Go language extension for %{name}.
%package -n %{libname}-R
Group: System/Libraries
Summary: R language extension for %{name}
@ -243,20 +252,20 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description doc
This package contains the documentation of %{name} in HTML and pdf formats.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
%patch0 -p1
#%patch2 -p1
#%patch3 -p1
%patch4 -p1
#%patch1 -p1
#%patch0 -p1
#%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
./autogen.sh
%build
%configure \
--with-x \
--enable-lua \
@ -293,7 +302,7 @@ exit 0
%exclude %{_datadir}/%{name}/doc/html
%exclude %{_datadir}/%{name}/doc/pdf
%{_mandir}/man1/*
%{_mandir}/man7/graphviz.7.gz
%{_mandir}/man7/graphviz.7*
%files -n %{libname}
%defattr(-,root,root)
@ -306,6 +315,7 @@ exit 0
%{_libdir}/libgvpr.so.*
%{_libdir}/libxdot.so.*
#%{_libdir}/libgvc_builtins.so.*
%{_libdir}/liblab_gamut.so.*
%{_libdir}/libpathplan.so.*
%{_libdir}/lua/gv.so
%{_libdir}/graphviz/libgvplugin_*.so.*
@ -330,7 +340,25 @@ exit 0
%{_libdir}/graphviz/python/gv.py
%{_libdir}/graphviz/python/libgv_python.la
%{_libdir}/graphviz/python/libgv_python.so
%{_libdir}/graphviz/python2/_gv.so
%{_libdir}/graphviz/python2/gv.py
%{_libdir}/graphviz/python2/libgv_python2.la
%{_libdir}/graphviz/python2/libgv_python2.so
%{_libdir}/graphviz/python3/_gv.so
%{_libdir}/graphviz/python3/gv.py
%{_libdir}/graphviz/python3/libgv_python3.la
%{_libdir}/graphviz/python3/libgv_python3.so
%{python_sitearch}/*
%{python3_sitearch}/*
%ifnarch arm
%files -n %{libname}-go
%defattr(-,root,root)
%{_libdir}/graphviz/go/gv.go
%{_libdir}/graphviz/go/libgv_go.la
%{_libdir}/graphviz/go/libgv_go.so
%{_libdir}/graphviz/go/runtime.h
%endif
%files -n %{libname}-R
%defattr(-,root,root)
@ -345,13 +373,13 @@ exit 0
%{_libdir}/graphviz/guile/libgv_guile.la
%{_libdir}/graphviz/guile/libgv_guile.so
%files -n %{libname}-ruby
%defattr(-,root,root)
%dir %{_libdir}/graphviz/ruby
%{_libdir}/graphviz/ruby/gv.so
%{_libdir}/graphviz/ruby/libgv_ruby.la
%{_libdir}/graphviz/ruby/libgv_ruby.so
%{_libdir}/ruby/vendor_ruby/*/*-linux*/gv.so
#%files -n %{libname}-ruby
#%defattr(-,root,root)
#%dir %{_libdir}/graphviz/ruby
#%{_libdir}/graphviz/ruby/gv.so
#%{_libdir}/graphviz/ruby/libgv_ruby.la
#%{_libdir}/graphviz/ruby/libgv_ruby.so
#%{_libdir}/ruby/vendor_ruby/*/*-linux*/gv.so
#% if "%{stage1}" != "1"
#%files -n %{libname}-php
@ -374,14 +402,8 @@ exit 0
%files -n %{libname}-java
%defattr(-,root,root)
%{_libdir}/graphviz/java/org/graphviz/SWIGTYPE_p_*.class
%{_libdir}/graphviz/java/org/graphviz/SWIGTYPE_p_*.java
%{_libdir}/graphviz/java/org/graphviz/gv.class
%{_libdir}/graphviz/java/org/graphviz/gv.java
%{_libdir}/graphviz/java/org/graphviz/gvJNI.class
%{_libdir}/graphviz/java/org/graphviz/gvJNI.java
%{_libdir}/graphviz/java/org/graphviz/libgv_java.la
%{_libdir}/graphviz/java/org/graphviz/libgv_java.so
%dir %{_libdir}/graphviz/java/org/graphviz
%{_libdir}/graphviz/java/org/graphviz/*
%{_libdir}/graphviz/java/libgv.so
%endif
@ -401,6 +423,8 @@ exit 0
%{_libdir}/libxdot.so
%{_libdir}/libpathplan.la
%{_libdir}/libpathplan.so
%{_libdir}/liblab_gamut.la
%{_libdir}/liblab_gamut.so
%{_libdir}/graphviz/libgvplugin_*.la
%{_libdir}/graphviz/libgvplugin_*.so
%{_libdir}/pkgconfig/*.pc
@ -413,6 +437,8 @@ exit 0
%dir %{_datadir}/%{name}/graphs
%{_datadir}/%{name}/graphs/*
# FIXME: x86_64
%ifarch %{ix86} arm
%files -n %{libname}-tcl
%defattr(-,root,root)
%dir %{_libdir}/%{name}/tcl
@ -442,6 +468,7 @@ exit 0
%{_libdir}/liblab_gamut.so
#%{_libdir}/%{name}/tcl/libtkspline.la
#%{_libdir}/%{name}/tcl/libtkspline.so
%endif
%files doc
%defattr(-,root,root)
@ -452,6 +479,9 @@ exit 0
%{_datadir}/%{name}/doc/pdf/*
%changelog
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.42.2-1mamba
- update to 2.42.2
* Sat Dec 31 2016 Automatic Build System <autodist@mambasoft.it> 2.40.1-1mamba
- automatic version update by autodist