2006-12-11 18:42:36 +00:00
|
|
|
# $Id: graphviz.spec.in,v 1.96 2006/10/24 13:46:11 ellson Exp $ $Revision: 1.96 $
|
2006-02-22 17:28:01 +00:00
|
|
|
# graphviz.spec. Generated from graphviz.spec.in by configure.
|
|
|
|
|
|
|
|
# Note: graphviz requires gd with gif support (and other fixes), hence use
|
|
|
|
# internal one for now.
|
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz src.rpm --------------------------------------------------------
|
2006-02-22 17:28:01 +00:00
|
|
|
Name: graphviz
|
2006-12-11 18:42:36 +00:00
|
|
|
Version: 2.12
|
2007-07-12 19:43:18 +00:00
|
|
|
Release: 8%{?dist}
|
2006-12-11 18:42:36 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
License: CPL
|
|
|
|
URL: http://www.graphviz.org/
|
2006-12-11 18:42:36 +00:00
|
|
|
Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.12.tar.gz
|
|
|
|
Patch0: %{name}-php5.patch
|
2007-05-05 17:44:37 +00:00
|
|
|
Patch1: %{name}-libcdt.patch
|
2007-07-12 19:43:18 +00:00
|
|
|
Patch2: %{name}-black.patch
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
# graphviz is relocatable
|
2007-05-05 17:44:37 +00:00
|
|
|
#Prefix: /usr
|
|
|
|
# not until we can figure out why relocatabilty is broken
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
#-- feature and package selection -------------------------------------------
|
2007-01-24 20:00:02 +00:00
|
|
|
# depends on %dist and %fedora (or %rhl or %rhel) which are set
|
|
|
|
# in .rpmmacros on each build host
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
# Define a default set of features incase none of the conditionals apply
|
2007-01-24 20:00:02 +00:00
|
|
|
%define SHARP 0
|
|
|
|
%define GUILE 0
|
|
|
|
%define _IO 0
|
|
|
|
%define JAVA 0
|
|
|
|
%define LUA 0
|
|
|
|
%define OCAML 0
|
|
|
|
%define PERL 0
|
|
|
|
%define PHP 0
|
|
|
|
%define PYTHON 0
|
|
|
|
%define RUBY 0
|
|
|
|
%define TCL 1
|
|
|
|
%define IPSEPCOLA --without-ipsepcola
|
|
|
|
%define MYLIBGD --with-mylibgd
|
|
|
|
%define MING --without-ming
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
# SuSE uses a different mechanism to generate BuildRequires
|
|
|
|
# norootforbuild
|
|
|
|
# neededforbuild expat freetype2 freetype2-devel gcc libjpeg libpng-devel-packages tcl tcl-devel tk tk-devel x-devel-packages
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
BuildRequires: zlib-devel libpng-devel libjpeg-devel expat-devel freetype-devel >= 2
|
|
|
|
BuildRequires: /bin/ksh bison m4 flex tk tcl >= 8.3 swig
|
|
|
|
|
|
|
|
# This just indicates the requirement for tcl.h, tk.h, but doesn't identify
|
|
|
|
# where to get them from. In RH9 and earlier they were in the tcl, tk,
|
|
|
|
# base packages which are always BR'd anyway (above).
|
|
|
|
BuildRequires: /usr/include/tcl.h /usr/include/tk.h
|
|
|
|
|
|
|
|
%if 0%{?rhl}
|
2007-01-24 20:00:02 +00:00
|
|
|
%define PERL 1
|
|
|
|
%define TCL 1
|
2006-12-11 18:42:36 +00:00
|
|
|
BuildRequires: XFree86-devel perl
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
2007-01-24 20:00:02 +00:00
|
|
|
%define PERL 1
|
|
|
|
%define TCL 1
|
2006-12-11 18:42:36 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
%if "%rhel" < "4"
|
|
|
|
BuildRequires: XFree86-devel
|
|
|
|
%endif
|
|
|
|
%if "%rhel" >= "3"
|
|
|
|
%define IPSEPCOLA --with-ipsepcola
|
|
|
|
BuildRequires: fontconfig-devel tcl-devel tk-devel
|
|
|
|
%endif
|
|
|
|
%if "%rhel" >= "4"
|
2007-01-24 20:00:02 +00:00
|
|
|
%define PHP 1
|
|
|
|
%define RUBY 1
|
|
|
|
BuildRequires: xorg-x11-devel php-devel ruby ruby-devel
|
2006-12-11 18:42:36 +00:00
|
|
|
%endif
|
|
|
|
%if "%rhel" >= "5"
|
|
|
|
BuildRequires: libtool-ltdl libtool-ltdl-devel libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
2007-01-24 20:00:02 +00:00
|
|
|
%define PERL 1
|
|
|
|
%define TCL 1
|
2006-12-11 18:42:36 +00:00
|
|
|
BuildRequires: fontconfig-devel tcl-devel tk-devel
|
|
|
|
%if "%fedora" < "3"
|
|
|
|
BuildRequires: XFree86-devel
|
|
|
|
%endif
|
|
|
|
%if "%fedora" == "3"
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
%endif
|
|
|
|
%if "%fedora" == "4"
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
%endif
|
|
|
|
%if "%fedora" >= "3"
|
|
|
|
%define IPSEPCOLA --with-ipsepcola
|
|
|
|
%endif
|
|
|
|
%if "%fedora" >= "4"
|
2007-01-24 20:00:02 +00:00
|
|
|
%define PHP 1
|
|
|
|
%define RUBY 1
|
|
|
|
%define GUILE 1
|
|
|
|
BuildRequires: libtool-ltdl libtool-ltdl-devel php-devel ruby ruby-devel guile-devel
|
2006-12-11 18:42:36 +00:00
|
|
|
%endif
|
|
|
|
%if "%fedora" >= "5"
|
2007-01-24 20:00:02 +00:00
|
|
|
%define JAVA 1
|
|
|
|
%define PYTHON 1
|
2007-05-05 17:44:37 +00:00
|
|
|
BuildRequires: libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel libgcj-devel python-devel java-devel
|
|
|
|
%ifnarch ppc64
|
|
|
|
%define SHARP 1
|
|
|
|
%define OCAML 1
|
|
|
|
BuildRequires: mono-core ocaml
|
|
|
|
%endif
|
2006-12-11 18:42:36 +00:00
|
|
|
%endif
|
|
|
|
%if "%fedora" >= "6"
|
2007-01-24 20:00:02 +00:00
|
|
|
%define LUA 1
|
2006-12-11 18:42:36 +00:00
|
|
|
BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel lua-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
#-- graphviz rpm --------------------------------------------------
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Summary: Graph Visualization Tools
|
|
|
|
Requires: urw-fonts
|
2007-01-24 20:00:02 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
2005-08-29 11:33:04 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description
|
|
|
|
A collection of tools for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in barcharts).
|
2005-01-23 16:27:43 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%{_bindir}/*
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/graphviz/*.so.*
|
2006-02-22 17:28:01 +00:00
|
|
|
%{_mandir}/man1/*.1*
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_datadir}/graphviz
|
|
|
|
%{_datadir}/graphviz/lefty
|
|
|
|
%exclude %{_libdir}/graphviz/*/*
|
|
|
|
%exclude %{_libdir}/graphviz/libgvplugin_gd.*
|
|
|
|
|
|
|
|
# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
|
|
|
|
%post
|
2007-05-05 17:44:37 +00:00
|
|
|
%{_bindir}/dot -c
|
2007-01-24 20:00:02 +00:00
|
|
|
/sbin/ldconfig
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
# if there is no dot after everything else is done, the remove config
|
|
|
|
%postun
|
2007-05-05 17:44:37 +00:00
|
|
|
if ! test -x %{_bindir}/dot; then rm -f %{_libdir}/graphviz/config; fi
|
2007-01-24 20:00:02 +00:00
|
|
|
/sbin/ldconfig
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
#-- graphviz-gd rpm --------------------------------------------------
|
|
|
|
%package gd
|
|
|
|
Group: Applications/Multimedia
|
2007-01-24 20:00:02 +00:00
|
|
|
Summary: Graphviz plugin for renderers based on gd
|
2006-12-11 18:42:36 +00:00
|
|
|
Requires: graphviz = %{version}-%{release}
|
|
|
|
|
|
|
|
%description gd
|
|
|
|
graphviz plugin for renderers based on gd
|
|
|
|
|
|
|
|
%files gd
|
|
|
|
%{_libdir}/graphviz/libgvplugin_gd.so.*
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
|
|
|
|
%post gd
|
2007-05-05 17:44:37 +00:00
|
|
|
%{_bindir}/dot -c
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
# if there is not dot after everything else is done, the remove config
|
|
|
|
%postun gd
|
2007-05-05 17:44:37 +00:00
|
|
|
if ! test -x %{_bindir}/dot; then rm -f %{_libdir}/graphviz/config; fi
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
#-- graphviz-sharp rpm --------------------------------------------
|
|
|
|
%if %{SHARP}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package sharp
|
2006-12-11 18:42:36 +00:00
|
|
|
Group: Applications/Multimedia
|
|
|
|
Summary: C# extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} mono-core
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description sharp
|
2006-12-11 18:42:36 +00:00
|
|
|
C# extension for graphviz.
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files sharp
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/sharp
|
|
|
|
%{_libdir}/graphviz/sharp/*
|
|
|
|
%endif
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-guile rpm --------------------------------------------
|
|
|
|
%if %{GUILE}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package guile
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Guile extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} guile
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description guile
|
2006-12-11 18:42:36 +00:00
|
|
|
Guile extension for graphviz.
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files guile
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/guile
|
|
|
|
%{_libdir}/graphviz/guile/*
|
|
|
|
%endif
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-io rpm -----------------------------------------------
|
2006-02-22 17:28:01 +00:00
|
|
|
%if %{_IO}
|
|
|
|
%package io
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Io extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} io
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description io
|
2006-12-11 18:42:36 +00:00
|
|
|
Io extension for graphviz.
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files io
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/io
|
|
|
|
%{_libdir}/graphviz/io/*
|
2006-02-22 17:28:01 +00:00
|
|
|
%endif
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-java rpm ---------------------------------------------
|
|
|
|
%if %{JAVA}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package java
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Java extension for graphviz
|
2007-01-24 20:00:02 +00:00
|
|
|
Requires: graphviz = %{version}-%{release} java
|
2005-01-23 16:27:43 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description java
|
2006-12-11 18:42:36 +00:00
|
|
|
Java extension for graphviz.
|
2005-01-23 16:27:43 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files java
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/java
|
|
|
|
%{_libdir}/graphviz/java/*
|
|
|
|
%endif
|
2005-01-23 16:27:43 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-lua rpm ----------------------------------------------
|
|
|
|
%if %{LUA}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package lua
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Lua extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} lua
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description lua
|
2006-12-11 18:42:36 +00:00
|
|
|
Lua extension for graphviz.
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files lua
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/lua
|
|
|
|
%{_libdir}/graphviz/lua/*
|
|
|
|
%endif
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-ocaml rpm --------------------------------------------
|
|
|
|
%if %{OCAML}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package ocaml
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Ocaml extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} ocaml
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description ocaml
|
2006-12-11 18:42:36 +00:00
|
|
|
Ocaml extension for graphviz.
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files ocaml
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/ocaml
|
|
|
|
%{_libdir}/graphviz/ocaml/*
|
|
|
|
%endif
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-perl rpm ---------------------------------------------
|
|
|
|
%if %{PERL}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package perl
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Perl extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} perl
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%description perl
|
2006-12-11 18:42:36 +00:00
|
|
|
Perl extension for graphviz.
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%files perl
|
2005-01-23 16:27:43 +00:00
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/perl
|
|
|
|
%{_libdir}/graphviz/perl/*
|
|
|
|
%endif
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-php rpm ----------------------------------------------
|
|
|
|
%if %{PHP}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package php
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: PHP extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} php
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description php
|
2006-12-11 18:42:36 +00:00
|
|
|
PHP extension for graphviz.
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%files php
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/php
|
|
|
|
%{_libdir}/graphviz/php/*
|
|
|
|
%endif
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-python rpm -------------------------------------------
|
|
|
|
%if %{PYTHON}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package python
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Python extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} python
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description python
|
2006-12-11 18:42:36 +00:00
|
|
|
Python extension for graphviz.
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%files python
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/python
|
|
|
|
%{_libdir}/graphviz/python/*
|
|
|
|
%endif
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-ruby rpm ---------------------------------------------
|
|
|
|
%if %{RUBY}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package ruby
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Ruby extension for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} ruby
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description ruby
|
2006-12-11 18:42:36 +00:00
|
|
|
Ruby extension for graphviz.
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%files ruby
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/ruby
|
|
|
|
%{_libdir}/graphviz/ruby/*
|
|
|
|
%endif
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-tcl rpm ----------------------------------------------
|
|
|
|
%if %{TCL}
|
2006-02-22 17:28:01 +00:00
|
|
|
%package tcl
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Tcl extension & tools for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} tcl >= 8.3 tk
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description tcl
|
2006-12-11 18:42:36 +00:00
|
|
|
Various tcl packages (extensions) for the graphviz tools.
|
2005-01-23 16:27:43 +00:00
|
|
|
|
|
|
|
%files tcl
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_libdir}/graphviz/tcl
|
|
|
|
%{_libdir}/graphviz/tcl/*
|
|
|
|
%{_libdir}/graphviz/pkgIndex.tcl
|
|
|
|
%{_datadir}/graphviz/demo
|
2004-11-08 04:30:25 +00:00
|
|
|
%{_mandir}/mann/*.n*
|
2006-12-11 18:42:36 +00:00
|
|
|
%endif
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-devel rpm --------------------------------------------
|
2006-02-22 17:28:01 +00:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Development package for graphviz
|
|
|
|
Requires: graphviz = %{version}-%{release} pkgconfig
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
A collection of tools for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in barcharts).
|
2006-12-11 18:42:36 +00:00
|
|
|
This package contains development files for graphviz.
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%{_includedir}/graphviz
|
|
|
|
%{_libdir}/*.so
|
2005-01-23 16:27:43 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2004-11-08 04:30:25 +00:00
|
|
|
%{_mandir}/man3/*.3*
|
2006-12-11 18:42:36 +00:00
|
|
|
%exclude %{_libdir}/graphviz/*/*
|
|
|
|
%exclude %{_libdir}/graphviz/libgvplugin*
|
|
|
|
%exclude %{_libdir}/graphviz/*.so
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-graphs rpm -------------------------------------------
|
2006-02-22 17:28:01 +00:00
|
|
|
%package graphs
|
|
|
|
Group: Applications/Multimedia
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: Demo graphs for graphviz
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description graphs
|
2006-12-11 18:42:36 +00:00
|
|
|
Some demo graphs for graphviz.
|
2005-01-23 16:27:43 +00:00
|
|
|
|
|
|
|
%files graphs
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-11 18:42:36 +00:00
|
|
|
%dir %{_datadir}/graphviz
|
|
|
|
%{_datadir}/graphviz/graphs
|
2005-01-23 16:27:43 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- graphviz-doc rpm ----------------------------------------------
|
2006-02-22 17:28:01 +00:00
|
|
|
%package doc
|
|
|
|
Group: Documentation
|
2006-12-11 18:42:36 +00:00
|
|
|
Summary: PDF and HTML documents for graphviz
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%description doc
|
2006-12-11 18:42:36 +00:00
|
|
|
Provides some additional PDF and HTML documentation for graphviz.
|
2006-02-22 17:28:01 +00:00
|
|
|
|
2005-01-23 16:27:43 +00:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc __doc/*
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- building --------------------------------------------------
|
|
|
|
|
2006-02-22 17:28:01 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2006-12-11 18:42:36 +00:00
|
|
|
%patch0 -p1
|
2007-05-05 17:44:37 +00:00
|
|
|
%patch1 -p1
|
2007-07-12 19:43:18 +00:00
|
|
|
%patch2 -p1
|
2006-02-22 17:28:01 +00:00
|
|
|
|
|
|
|
%build
|
2006-12-11 18:42:36 +00:00
|
|
|
# XXX ix86 only used to have -ffast-math, let's use everywhere
|
|
|
|
%{expand: %%define optflags %{optflags} -ffast-math}
|
|
|
|
# %%configure is broken in RH7.3 rpmbuild
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
./configure \
|
2007-01-24 20:00:02 +00:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--with-x \
|
|
|
|
--disable-static \
|
|
|
|
--disable-dependency-tracking %{MYLIBGD} %{IPSEPCOLA} %{MING}
|
2006-02-22 17:28:01 +00:00
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT __doc
|
|
|
|
%{__make} \
|
2007-01-24 20:00:02 +00:00
|
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \
|
|
|
|
pkgconfigdir=%{_libdir}/pkgconfig \
|
|
|
|
install
|
2006-02-22 17:28:01 +00:00
|
|
|
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/lefty/*
|
|
|
|
cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
#-- changelog --------------------------------------------------
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-07-12 19:43:18 +00:00
|
|
|
* Thu Jul 12 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-8
|
|
|
|
- Patch to fix BZ#241790 (thanks John!)
|
|
|
|
|
2007-05-05 17:44:37 +00:00
|
|
|
* Sat May 05 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-7
|
|
|
|
- Patch to fix BZ#237496
|
|
|
|
- Disabling relocatability to work around BZ#237082
|
|
|
|
- Disabling -ocaml and -sharp subpackages for ppc64 to remedy BZ#239078
|
|
|
|
|
2007-02-14 13:28:57 +00:00
|
|
|
* Wed Feb 14 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-6
|
|
|
|
- Removed patch, as tcl/tk got rolled back to 8.4
|
|
|
|
|
2007-02-07 14:55:06 +00:00
|
|
|
* Wed Feb 07 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-5
|
|
|
|
- Added patch for slightly broken tk 8.5
|
|
|
|
|
2007-02-01 16:00:56 +00:00
|
|
|
* Thu Feb 01 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-4
|
|
|
|
- Bump-n-build due to tk upgrade
|
|
|
|
|
2007-01-24 20:00:02 +00:00
|
|
|
* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-3
|
|
|
|
- Added running of /sbin/ldconfig in post/postun (and Reqs)
|
|
|
|
- Minor edit to -gd summary
|
|
|
|
- Removed explicit dependency on libgcj in -java
|
|
|
|
- Added BR for ruby (not pulled in by ruby-devel!)
|
|
|
|
- Cleanup of spaces/tabs to minimize rpmlint warnings
|
|
|
|
|
2006-12-13 14:09:35 +00:00
|
|
|
* Wed Dec 13 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-2
|
|
|
|
- Use of RPM_INSTALL_PREFIX0 in %%post requires Prefix: to be set
|
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
* Mon Dec 11 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.12-1
|
|
|
|
- Fixed dist tag
|
|
|
|
- Fixed minor typo in -lua description (BZ#218191)
|
|
|
|
- Added upstream-supplied "php5" patch (due to newer swig)
|
|
|
|
- Added BR: java-devel & R: java
|
|
|
|
|
|
|
|
* Tue Sep 13 2005 John Ellson <ellson@research.att.com>
|
|
|
|
- split out language bindings into their own rpms so that
|
2007-01-24 20:00:02 +00:00
|
|
|
main rpm doesn't depend on (e.g.) ocaml
|
2006-12-11 18:42:36 +00:00
|
|
|
|
|
|
|
* Sat Aug 13 2005 John Ellson <ellson@research.att.com>
|
|
|
|
- imported various fixes from the Fedora-Extras .spec by Oliver Falk <oliver@linux-kernel.at>
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2006-12-11 18:42:36 +00:00
|
|
|
* Wed Jul 20 2005 John Ellson <ellson@research.att.com>
|
|
|
|
- release 2.4
|