This commit is contained in:
parent
8df1d400e3
commit
a699342562
6
graphviz-plugins.changes
Normal file
6
graphviz-plugins.changes
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 10 01:42:44 CEST 2007 - ro@suse.de
|
||||||
|
|
||||||
|
- create own specfile for all plugins to reduce build dependencies
|
||||||
|
of main package (and break various build cycles)
|
||||||
|
|
454
graphviz-plugins.spec
Normal file
454
graphviz-plugins.spec
Normal file
@ -0,0 +1,454 @@
|
|||||||
|
#
|
||||||
|
# spec file for package graphviz-plugins (Version 2.12)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: graphviz-plugins
|
||||||
|
%define mname graphviz
|
||||||
|
BuildRequires: libexpat-devel libjpeg-devel libpng-devel zlib-devel
|
||||||
|
BuildRequires: freetype2-devel >= 2 gcc-c++ ksh libstdc++-devel
|
||||||
|
BuildRequires: bison flex glib2-devel m4 perl python-devel swig tk-devel >= 8.3 xorg-x11-devel
|
||||||
|
BuildRequires: php5-devel ruby-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel
|
||||||
|
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel
|
||||||
|
BuildRequires: cairo-devel gcc-java gmp-devel guile-devel libgcj-devel lua-devel mono-core ocaml pango-devel
|
||||||
|
BuildRequires: graphviz libgnomeui-devel php5-devel
|
||||||
|
Version: 2.12
|
||||||
|
Release: 1
|
||||||
|
Autoreqprov: on
|
||||||
|
Summary: Graph Visualization Tools
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{mname}-%{version}.tar.bz2
|
||||||
|
Patch0: graphviz-fix-pkgIndex.patch
|
||||||
|
Patch1: graphviz-aliasing-fixes.patch
|
||||||
|
Patch2: graphviz-config-file-option.patch
|
||||||
|
Patch3: graphviz-fix_swig_template.patch
|
||||||
|
Patch4: graphviz-neato_splines.patch
|
||||||
|
Patch5: graphviz-new_X_paths.patch
|
||||||
|
Patch7: graphviz-strcmp_fix.patch
|
||||||
|
# This fix will be in 2.13
|
||||||
|
Patch8: graphviz-2.11-php_check.patch
|
||||||
|
Patch9: graphviz-no_libtool_patching.patch
|
||||||
|
Patch10: graphviz-fix_manpages.patch
|
||||||
|
Patch11: graphviz-gv_aliasing.patch
|
||||||
|
URL: http://www.graphviz.org/
|
||||||
|
License: IBM Public License
|
||||||
|
Prefix: /usr
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
PreReq: /bin/cat
|
||||||
|
|
||||||
|
%description
|
||||||
|
A collection of tools and tcl packages for the manipulation and layout
|
||||||
|
of graphs (as in nodes and edges, not as in bar charts).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-gd
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Graphviz plugin for renderers based on gd
|
||||||
|
Requires: graphviz = %{version}-%{release} gd
|
||||||
|
|
||||||
|
%description -n graphviz-gd
|
||||||
|
Graphviz plugin for renderers based on gd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-guile
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Graph Visualization Tools
|
||||||
|
Requires: graphviz = %{version}-%{release} guile
|
||||||
|
|
||||||
|
%description -n graphviz-guile
|
||||||
|
A collection of tools and tcl packages for the manipulation and layout
|
||||||
|
of graphs (as in nodes and edges, not as in bar charts).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-java
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Graph Visualization Tools
|
||||||
|
Requires: graphviz = %{version}-%{release} java
|
||||||
|
|
||||||
|
%description -n graphviz-java
|
||||||
|
A collection of tools and tcl packages for the manipulation and layout
|
||||||
|
of graphs (as in nodes and edges, not as in bar charts).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-lua
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Lua extension for graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} lua
|
||||||
|
|
||||||
|
%description -n graphviz-lua
|
||||||
|
Lua extension for graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-ocaml
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: OCAML extension for graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} ocaml
|
||||||
|
|
||||||
|
%description -n graphviz-ocaml
|
||||||
|
OCAML extension for graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-perl
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Perl extension for Graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} perl
|
||||||
|
|
||||||
|
%description -n graphviz-perl
|
||||||
|
Perl extension for Graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-php
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: PHP Extension for Graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} php5
|
||||||
|
|
||||||
|
%description -n graphviz-php
|
||||||
|
PHP Extension for Graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-python
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Python Extension for Graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} python
|
||||||
|
|
||||||
|
%description -n graphviz-python
|
||||||
|
Python Extension for Graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-ruby
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Ruby Extension for Graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} ruby
|
||||||
|
|
||||||
|
%description -n graphviz-ruby
|
||||||
|
Ruby Extension for Graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-sharp
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: C# Extension for Graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} mono-core
|
||||||
|
|
||||||
|
%description -n graphviz-sharp
|
||||||
|
C# extension for graphviz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-tcl
|
||||||
|
Group: Development/Libraries/Tcl
|
||||||
|
Summary: Tcl extension tools for graphviz
|
||||||
|
Requires: graphviz = %{version}-%{release} tcl >= 8.3 tk
|
||||||
|
|
||||||
|
%description -n graphviz-tcl
|
||||||
|
The graphviz-tcl package contains the various tcl packages (extensions)
|
||||||
|
for the graphviz tools.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%package -n graphviz-doc
|
||||||
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
|
Summary: Documentation for graphviz
|
||||||
|
|
||||||
|
%description -n graphviz-doc
|
||||||
|
Provides some additional PDF and HTML documentation for graphviz.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
|
John Ellson <ellson@graphviz.org>
|
||||||
|
Emden Gansner <erg@research.att.com>
|
||||||
|
Eleftherios Koutsofios <ek@research.att.com>
|
||||||
|
Stephen North <north@research.att.com>
|
||||||
|
Kiem-Phong Vo <kpv@research.att.com>
|
||||||
|
Gordon Woodhull <gmcw@worldnet.att.net>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{mname}-%{version}
|
||||||
|
%patch
|
||||||
|
%patch1
|
||||||
|
#%patch2 -p1
|
||||||
|
%patch3
|
||||||
|
%patch4
|
||||||
|
#%if %{suse_version} > 1010
|
||||||
|
#%patch5
|
||||||
|
#%endif
|
||||||
|
%patch7
|
||||||
|
%patch8
|
||||||
|
%patch9
|
||||||
|
%patch10
|
||||||
|
%patch11
|
||||||
|
# Fix path in generated man pages
|
||||||
|
sed -e 's$@LIB_DIR@$%{_libdir}$g' tclpkg/gv/gv_doc_langs.tcl >tclpkg/gv/gv_doc_langs.tcl.new && mv tclpkg/gv/gv_doc_langs.tcl.new tclpkg/gv/gv_doc_langs.tcl
|
||||||
|
|
||||||
|
%build
|
||||||
|
./autogen.sh
|
||||||
|
touch tclpkg/gv/gv.i
|
||||||
|
WARN_FLAGS="-W -Wall -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith"
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS $WARN_FLAGS"
|
||||||
|
%ifarch %ix86 x86_64
|
||||||
|
CFLAGS="$CFLAGS -ffast-math"
|
||||||
|
%endif
|
||||||
|
CC=gcc
|
||||||
|
RANLIB=:
|
||||||
|
export CC RANLIB
|
||||||
|
export CFLAGS="$CFLAGS"
|
||||||
|
export CPPFLAGS="%optflags"
|
||||||
|
./configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--bindir=%{_bindir} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--includedir=%{_includedir} \
|
||||||
|
--datadir=%{_datadir} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--with-x \
|
||||||
|
--with-mylibgd \
|
||||||
|
--disable-static \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--with-ipsepcola \
|
||||||
|
--without-ming \
|
||||||
|
--disable-io
|
||||||
|
make DESTDIR=%buildroot
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install \
|
||||||
|
DESTDIR=%{buildroot} \
|
||||||
|
docdir=%{buildroot}%{_docdir}/%{mname} \
|
||||||
|
pkgconfigdir=%{_libdir}/pkgconfig
|
||||||
|
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
||||||
|
#rm -rf %{buildroot}/usr/%{_lib}/pkgconfig # ?
|
||||||
|
mkdir -p %{buildroot}/%{_docdir}
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/%{mname}
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/tcl/%{mname}
|
||||||
|
mv %buildroot/%{_libdir}/%{mname}/pkgIndex.tcl %{buildroot}%{_datadir}/tcl/%{mname}/
|
||||||
|
chmod -x %{buildroot}%{_datadir}/%{mname}/lefty/*
|
||||||
|
cp -a %{buildroot}%{_datadir}/%{mname}/doc __doc
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{mname}/doc
|
||||||
|
mkdir -p %{buildroot}/usr/lib/graphviz
|
||||||
|
touch %{buildroot}/usr/lib/graphviz/config
|
||||||
|
#Correct the path to the shared library
|
||||||
|
for manfile in $(find %{buildroot} -name \*.man); do
|
||||||
|
sed -e 's$/usr/lib/graphviz$%{_libdir}/%{mname}$g' $manfile > ${manfile}.new && mv ${manfile}.new ${manfile}
|
||||||
|
done
|
||||||
|
mv %{buildroot}%{_libdir}/%{mname}/tcl/gv_tcl.man %{buildroot}%{_mandir}/mann/gv_tcl.n
|
||||||
|
mv %{buildroot}%{_libdir}/%{mname}/perl/gv_perl.man %{buildroot}%{_mandir}/man3/gv_perl.3pm
|
||||||
|
rm -f %{buildroot}/usr/bin/*
|
||||||
|
rm -rf %{buildroot}/usr/include/graphviz
|
||||||
|
rm -f %{buildroot}/usr/lib/graphviz/config
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_core*
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_dot_layout*
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_gd.so
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_gtk*
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_neato_layout*
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_pango*
|
||||||
|
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_xlib*
|
||||||
|
rm -f %{buildroot}/%{_libdir}/lib*
|
||||||
|
rm -rf %{buildroot}/%{_libdir}/pkgconfig
|
||||||
|
rm -rf %{buildroot}/usr/share/graphviz/graphs
|
||||||
|
rm -rf %{buildroot}/usr/share/graphviz/lefty
|
||||||
|
rm -rf %{buildroot}/%{_mandir}/man1
|
||||||
|
rm -f %{buildroot}/%{_mandir}/man3/*.3.gz
|
||||||
|
rm -f %{buildroot}/%{_mandir}/man3/*.3
|
||||||
|
|
||||||
|
%files -n graphviz-gd
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/graphviz/libgvplugin_gd.so.*
|
||||||
|
|
||||||
|
%post -n graphviz-gd
|
||||||
|
%{_bindir}/dot -c
|
||||||
|
|
||||||
|
%postun -n graphviz-gd
|
||||||
|
if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_lib}/graphviz/config; fi
|
||||||
|
|
||||||
|
%files -n graphviz-guile
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/guile
|
||||||
|
|
||||||
|
%files -n graphviz-java
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/java
|
||||||
|
|
||||||
|
%files -n graphviz-sharp
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/graphviz/sharp
|
||||||
|
|
||||||
|
%files -n graphviz-lua
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/lua
|
||||||
|
|
||||||
|
%files -n graphviz-ocaml
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/ocaml
|
||||||
|
|
||||||
|
%files -n graphviz-perl
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/perl
|
||||||
|
%doc %{_mandir}/man3/*.3pm*
|
||||||
|
|
||||||
|
%files -n graphviz-php
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/php
|
||||||
|
|
||||||
|
%files -n graphviz-python
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/python
|
||||||
|
|
||||||
|
%files -n graphviz-ruby
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/graphviz/ruby
|
||||||
|
|
||||||
|
%files -n graphviz-tcl
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/tcl/%{mname}
|
||||||
|
%{_libdir}/graphviz/tcl
|
||||||
|
%{_datadir}/tcl/%{mname}/pkgIndex.tcl
|
||||||
|
%{_datadir}/graphviz/demo
|
||||||
|
%doc %{_mandir}/mann/*.n*
|
||||||
|
|
||||||
|
%files -n graphviz-doc
|
||||||
|
%docdir %{_defaultdocdir}/%{mname}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc __doc/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu May 10 2007 - ro@suse.de
|
||||||
|
- create own specfile for all plugins to reduce build dependencies
|
||||||
|
of main package (and break various build cycles)
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 10 01:48:27 CEST 2007 - ro@suse.de
|
||||||
|
|
||||||
|
- split off plugins to separate specfile to break build cycles
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 8 12:11:16 CEST 2007 - pth@suse.de
|
Tue May 8 12:11:16 CEST 2007 - pth@suse.de
|
||||||
|
|
||||||
|
316
graphviz.spec
316
graphviz.spec
@ -13,13 +13,11 @@
|
|||||||
Name: graphviz
|
Name: graphviz
|
||||||
BuildRequires: libexpat-devel libjpeg-devel libpng-devel zlib-devel
|
BuildRequires: libexpat-devel libjpeg-devel libpng-devel zlib-devel
|
||||||
BuildRequires: freetype2-devel >= 2 gcc-c++ ksh libstdc++-devel
|
BuildRequires: freetype2-devel >= 2 gcc-c++ ksh libstdc++-devel
|
||||||
BuildRequires: bison flex glib2-devel m4 perl python-devel swig tk-devel >= 8.3 xorg-x11-devel
|
BuildRequires: bison flex glib2-devel xorg-x11-devel
|
||||||
BuildRequires: php5-devel ruby-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel
|
BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel
|
||||||
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel
|
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel
|
||||||
BuildRequires: cairo-devel gcc-java gmp-devel guile-devel libgcj-devel lua-devel mono-core ocaml pango-devel
|
|
||||||
BuildRequires: libgnomeui-devel php5-devel
|
|
||||||
Version: 2.12
|
Version: 2.12
|
||||||
Release: 1
|
Release: 2
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Summary: Graph Visualization Tools
|
Summary: Graph Visualization Tools
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
@ -48,229 +46,6 @@ of graphs (as in nodes and edges, not as in bar charts).
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package gd
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Graphviz plugin for renderers based on gd
|
|
||||||
Requires: graphviz = %{version}-%{release} gd
|
|
||||||
|
|
||||||
%description gd
|
|
||||||
Graphviz plugin for renderers based on gd
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package guile
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Graph Visualization Tools
|
|
||||||
Requires: graphviz = %{version}-%{release} guile
|
|
||||||
|
|
||||||
%description guile
|
|
||||||
A collection of tools and tcl packages for the manipulation and layout
|
|
||||||
of graphs (as in nodes and edges, not as in bar charts).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package java
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Graph Visualization Tools
|
|
||||||
Requires: graphviz = %{version}-%{release} java
|
|
||||||
|
|
||||||
%description java
|
|
||||||
A collection of tools and tcl packages for the manipulation and layout
|
|
||||||
of graphs (as in nodes and edges, not as in bar charts).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package lua
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Lua extension for graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} lua
|
|
||||||
|
|
||||||
%description lua
|
|
||||||
Lua extension for graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package ocaml
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: OCAML extension for graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} ocaml
|
|
||||||
|
|
||||||
%description ocaml
|
|
||||||
OCAML extension for graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package perl
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Perl extension for Graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} perl
|
|
||||||
|
|
||||||
%description perl
|
|
||||||
Perl extension for Graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package php
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: PHP Extension for Graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} php5
|
|
||||||
|
|
||||||
%description php
|
|
||||||
PHP Extension for Graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package python
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Python Extension for Graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} python
|
|
||||||
|
|
||||||
%description python
|
|
||||||
Python Extension for Graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package ruby
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Ruby Extension for Graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} ruby
|
|
||||||
|
|
||||||
%description ruby
|
|
||||||
Ruby Extension for Graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package sharp
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: C# Extension for Graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} mono-core
|
|
||||||
|
|
||||||
%description sharp
|
|
||||||
C# extension for graphviz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package tcl
|
|
||||||
Group: Development/Libraries/Tcl
|
|
||||||
Summary: Tcl extension tools for graphviz
|
|
||||||
Requires: graphviz = %{version}-%{release} tcl >= 8.3 tk
|
|
||||||
|
|
||||||
%description tcl
|
|
||||||
The graphviz-tcl package contains the various tcl packages (extensions)
|
|
||||||
for the graphviz tools.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
@ -295,25 +70,6 @@ programs that use the graphviz libraries including man3 pages.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
|
||||||
John Ellson <ellson@graphviz.org>
|
|
||||||
Emden Gansner <erg@research.att.com>
|
|
||||||
Eleftherios Koutsofios <ek@research.att.com>
|
|
||||||
Stephen North <north@research.att.com>
|
|
||||||
Kiem-Phong Vo <kpv@research.att.com>
|
|
||||||
Gordon Woodhull <gmcw@worldnet.att.net>
|
|
||||||
|
|
||||||
%package doc
|
|
||||||
Group: Productivity/Graphics/Visualization/Graph
|
|
||||||
Summary: Documentation for graphviz
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
Provides some additional PDF and HTML documentation for graphviz.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
David Dobkin <dpd@cs.princeton.edu>
|
David Dobkin <dpd@cs.princeton.edu>
|
||||||
@ -380,8 +136,7 @@ find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
|||||||
#rm -rf %{buildroot}/usr/%{_lib}/pkgconfig # ?
|
#rm -rf %{buildroot}/usr/%{_lib}/pkgconfig # ?
|
||||||
mkdir -p %{buildroot}/%{_docdir}
|
mkdir -p %{buildroot}/%{_docdir}
|
||||||
mkdir -p %{buildroot}%{_datadir}/%{name}
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
mkdir -p %{buildroot}%{_datadir}/tcl/%{name}
|
rm -f %buildroot/%{_libdir}/%{name}/pkgIndex.tcl
|
||||||
mv %buildroot/%{_libdir}/%{name}/pkgIndex.tcl %{buildroot}%{_datadir}/tcl/%{name}/
|
|
||||||
chmod -x %{buildroot}%{_datadir}/%{name}/lefty/*
|
chmod -x %{buildroot}%{_datadir}/%{name}/lefty/*
|
||||||
cp -a %{buildroot}%{_datadir}/%{name}/doc __doc
|
cp -a %{buildroot}%{_datadir}/%{name}/doc __doc
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/doc
|
rm -rf %{buildroot}%{_datadir}/%{name}/doc
|
||||||
@ -405,8 +160,6 @@ EOF
|
|||||||
for manfile in $(find %{buildroot} -name \*.man); do
|
for manfile in $(find %{buildroot} -name \*.man); do
|
||||||
sed -e 's$/usr/lib/graphviz$%{_libdir}/%{name}$g' $manfile > ${manfile}.new && mv ${manfile}.new ${manfile}
|
sed -e 's$/usr/lib/graphviz$%{_libdir}/%{name}$g' $manfile > ${manfile}.new && mv ${manfile}.new ${manfile}
|
||||||
done
|
done
|
||||||
mv %{buildroot}%{_libdir}/%{name}/tcl/gv_tcl.man %{buildroot}%{_mandir}/mann/gv_tcl.n
|
|
||||||
mv %{buildroot}%{_libdir}/%{name}/perl/gv_perl.man %{buildroot}%{_mandir}/man3/gv_perl.3pm
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
|
# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
|
||||||
@ -435,61 +188,6 @@ if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_li
|
|||||||
%exclude %{_libdir}/graphviz/*/*
|
%exclude %{_libdir}/graphviz/*/*
|
||||||
%exclude %{_libdir}/graphviz/libgvplugin_gd.*
|
%exclude %{_libdir}/graphviz/libgvplugin_gd.*
|
||||||
|
|
||||||
%files gd
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/graphviz/libgvplugin_gd.so.*
|
|
||||||
|
|
||||||
%post gd
|
|
||||||
%{_bindir}/dot -c
|
|
||||||
|
|
||||||
%postun gd
|
|
||||||
if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_lib}/graphviz/config; fi
|
|
||||||
|
|
||||||
%files guile
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/guile
|
|
||||||
|
|
||||||
%files java
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/java
|
|
||||||
|
|
||||||
%files sharp
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/graphviz/sharp
|
|
||||||
|
|
||||||
%files lua
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/lua
|
|
||||||
|
|
||||||
%files ocaml
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/ocaml
|
|
||||||
|
|
||||||
%files perl
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/perl
|
|
||||||
%doc %{_mandir}/man3/*.3pm*
|
|
||||||
|
|
||||||
%files php
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/php
|
|
||||||
|
|
||||||
%files python
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/python
|
|
||||||
|
|
||||||
%files ruby
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/graphviz/ruby
|
|
||||||
|
|
||||||
%files tcl
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_datadir}/tcl/%{name}
|
|
||||||
%{_libdir}/graphviz/tcl
|
|
||||||
%{_datadir}/tcl/%{name}/pkgIndex.tcl
|
|
||||||
%{_datadir}/graphviz/demo
|
|
||||||
%doc %{_mandir}/mann/*.n*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/graphviz
|
%{_includedir}/graphviz
|
||||||
@ -500,11 +198,9 @@ if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_li
|
|||||||
%exclude %{_libdir}/graphviz/libgvplugin*
|
%exclude %{_libdir}/graphviz/libgvplugin*
|
||||||
%exclude %{_libdir}/graphviz/*.so
|
%exclude %{_libdir}/graphviz/*.so
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc __doc/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 10 2007 - ro@suse.de
|
||||||
|
- split off plugins to separate specfile to break build cycles
|
||||||
* Tue May 08 2007 - pth@suse.de
|
* Tue May 08 2007 - pth@suse.de
|
||||||
- Update to 2.12
|
- Update to 2.12
|
||||||
- PostScript output had an extraneous '%%' character on the first line,
|
- PostScript output had an extraneous '%%' character on the first line,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user