rpms/graphviz/devel .cvsignore, 1.10, 1.11 graphviz.spec, 1.38, 1.39 sources, 1.10, 1.11

Patrick Laughton (jima) fedora-extras-commits at redhat.com
Wed Nov 28 18:17:37 UTC 2007


Author: jima

Update of /cvs/pkgs/rpms/graphviz/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2576

Modified Files:
	.cvsignore graphviz.spec sources 
Log Message:

* Wed Nov 28 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 2.16-1
- New upstream release
- Remove arith.h patch



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/graphviz/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore	23 Aug 2007 16:37:55 -0000	1.10
+++ .cvsignore	28 Nov 2007 18:17:02 -0000	1.11
@@ -1 +1 @@
-graphviz-2.14.1.tar.gz
+graphviz-2.16.tar.gz


Index: graphviz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/graphviz/devel/graphviz.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- graphviz.spec	5 Sep 2007 03:07:20 -0000	1.38
+++ graphviz.spec	28 Nov 2007 18:17:02 -0000	1.39
@@ -6,9 +6,9 @@
 #-- Global graphviz rpm and src.rpm tags-------------------------------------
 Name:    graphviz
 Summary: Graph Visualization Tools
-Version: 2.14.1
+Version: 2.16
 
-%define truerelease 3
+%define truerelease 1
 %{?distroagnostic: %define release %{truerelease}}
 %{!?distroagnostic: %define release %{truerelease}%{?dist}}
 
@@ -17,8 +17,11 @@
 Group:   Applications/Multimedia
 License: CPL
 URL:     http://www.graphviz.org/
-Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.14.1.tar.gz
-Patch0:  %{name}-arith.patch
+Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
+
+# graphviz is relocatable - Caution: this feature is used in AT&T,
+#   but probably will not be supported in Redhat/Fedora/Centos distros
+#Prefix: /usr
 
 #-- feature and package selection -------------------------------------------
 #   depends on %dist and %fedora (or %rhl or %rhel) which are set
@@ -38,8 +41,10 @@
 %define TCL    1
 %define IPSEPCOLA --without-ipsepcola
 %define MYLIBGD --with-mylibgd
-%define MING --without-ming
 %define PANGOCAIRO --without-pangocairo
+%define DEVIL 0
+%define MING 0
+%define GDK_PIXBUF --without-gdk-pixbuf
 
 # SuSE uses a different mechanism to generate BuildRequires
 # norootforbuild
@@ -89,6 +94,11 @@
 BuildRequires: libtool-ltdl libtool-ltdl-devel libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel java-devel
 BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel gtk2-devel libgnomeui-devel
 %endif
+%if "%rhel" >= "6"
+%define MYLIBGD --without-mylibgd
+%define GDK_PIXBUF --with-gdk-pixbuf
+BuildRequires: gd gd-devel perl-devel
+%endif
 %endif
 
 #-- Fedora specific Build Requirements --------------------------------------
@@ -130,8 +140,14 @@
 BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel lua-devel gtk2-devel libgnomeui-devel
 %endif
 %if "%fedora" >= "7"
-BuildRequires: gd gd-devel perl-devel
+%define DEVIL 1
 %define MYLIBGD --without-mylibgd
+%define GDK_PIXBUF --with-gdk-pixbuf
+BuildRequires: gd gd-devel perl-devel DevIL-devel
+%endif
+%if "%fedora" >= "9"
+%define MING 1
+BuildRequires: ming ming-devel
 %endif
 %endif
 
@@ -169,6 +185,12 @@
 %{_datadir}/graphviz/lefty
 %exclude %{_libdir}/graphviz/*/*
 %exclude %{_libdir}/graphviz/libgvplugin_gd.*
+%if %{DEVIL}
+%exclude %{_libdir}/graphviz/libgvplugin_devil.*
+%endif
+%if %{MING}
+%exclude %{_libdir}/graphviz/libgvplugin_ming.*
+%endif
 
 #-- graphviz-gd rpm --------------------------------------------------
 %package gd
@@ -196,6 +218,50 @@
 %files gd
 %{_libdir}/graphviz/libgvplugin_gd.so.*
 
+#-- graphviz-devil rpm --------------------------------------------------
+%if %{DEVIL}
+%package devil
+Group:            Applications/Multimedia
+Summary:          Graphviz plugin for renderers based on DevIL
+Requires:         graphviz = %{version}-%{release}
+
+%description devil
+Graphviz plugin for renderers based on DevIL.  (Unless you absolutely have
+to use BMP, TIF, or TGA, you are recommended to use the PNG format instead
+support directly by the cairo+pango based renderer in the base graphviz rpm.)
+
+# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
+%post devil
+%{_bindir}/dot -c
+
+%postun devil
+[ -x %{_bindir}/dot ] && %{_bindir}/dot -c || :
+
+%files devil
+%{_libdir}/graphviz/libgvplugin_devil.so.*
+%endif
+
+#-- graphviz-ming rpm --------------------------------------------------
+%if %{MING}
+%package ming
+Group:            Applications/Multimedia
+Summary:          Graphviz plugin for flash renderer based on ming
+Requires:         graphviz = %{version}-%{release}
+
+%description ming
+Graphviz plugin for -Tswf (flash) renderer based on ming.
+
+# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
+%post ming
+%{_bindir}/dot -c
+
+%postun ming
+[ -x %{_bindir}/dot ] && %{_bindir}/dot -c || :
+
+%files ming
+%{_libdir}/graphviz/libgvplugin_ming.so.*
+%endif
+
 #-- graphviz-sharp rpm --------------------------------------------
 %if %{SHARP}
 %package sharp
@@ -438,7 +504,6 @@
 
 %prep
 %setup -q
-%patch0 -p0
 
 %build
 %if ! %{SHARP}
@@ -474,6 +539,12 @@
 %if ! %{TCL}
 %define NO_TCL --disable-tcl
 %endif
+%if ! %{DEVIL}
+%define NO_DEVIL --without-devil
+%endif
+%if ! %{MING}
+%define NO_MING --without-ming
+%endif
 
 # XXX ix86 only used to have -ffast-math, let's use everywhere
 %{expand: %%define optflags %{optflags} -ffast-math}
@@ -488,10 +559,10 @@
         --datadir=%{_datadir} \
         --mandir=%{_mandir} \
         --with-x \
-        --disable-static \
-        --disable-dependency-tracking %{MYLIBGD} %{IPSEPCOLA} %{MING} %{PANGOCAIRO} \
-        %{?NO_SHARP} %{?NO_GUILE} %{?NO_IO} %{?NO_JAVA} %{?NO_LUA} %{?NO_OCAML} \
-        %{?NO_PERL} %{?NO_PHP} %{?NO_PYTHON} %{?NO_RUBY} %{?NO_TCL}
+	--disable-static \
+        --disable-dependency-tracking \
+	%{MYLIBGD} %{IPSEPCOLA} %{PANGOCAIRO} %{GDK_PIXBUF} \
+        %{?NO_SHARP} %{?NO_GUILE} %{?NO_IO} %{?NO_JAVA} %{?NO_LUA} %{?NO_OCAML} %{?NO_PERL} %{?NO_PHP} %{?NO_PYTHON} %{?NO_RUBY} %{?NO_TCL} %{?NO_DEVIL} %{?NO_MING}
 make %{?_smp_mflags}
 
 %install
@@ -511,6 +582,10 @@
 #-- changelog --------------------------------------------------
 
 %changelog
+* Wed Nov 28 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 2.16-1
+- New upstream release
+- Remove arith.h patch
+
 * Tue Sep 04 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 2.14.1-3
 - Patch to resurrect arith.h
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/graphviz/devel/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources	23 Aug 2007 16:37:55 -0000	1.10
+++ sources	28 Nov 2007 18:17:02 -0000	1.11
@@ -1 +1 @@
-0c56ba28d4e24f3ddd5e8fdb58deba70  graphviz-2.14.1.tar.gz
+c8cac2c66a52e37a2be9290d4f38e525  graphviz-2.16.tar.gz




More information about the fedora-extras-commits mailing list