[svn] r4827 - trunk/rpms/graphviz
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Mon Oct 16 21:30:57 CEST 2006
Author: dries
Date: 2006-10-16 21:30:55 +0200 (Mon, 16 Oct 2006)
New Revision: 4827
Modified:
trunk/rpms/graphviz/graphviz.spec
Log:
update, more subpackages, java subpackage disabled at the moment
Modified: trunk/rpms/graphviz/graphviz.spec
===================================================================
--- trunk/rpms/graphviz/graphviz.spec 2006-10-16 14:06:09 UTC (rev 4826)
+++ trunk/rpms/graphviz/graphviz.spec 2006-10-16 19:30:55 UTC (rev 4827)
@@ -3,23 +3,36 @@
%{?dist: %{expand: %%define %dist 1}}
-%{?fc1:%define _without_xorg 1}
-%{?el3:%define _without_xorg 1}
-%{?rh9:%define _without_xorg 1}
-%{?rh8:%define _without_xorg 1}
-%{?rh7:%define _without_xorg 1}
-%{?el2:%define _without_xorg 1}
-%{?rh6:%define _without_xorg 1}
+%{?el4:%define _without_modxorg 1}
+%{?el3:%define _without_modxorg 1}
+%{?el2:%define _without_modxorg 1}
+%{?fc4:%define _without_modxorg 1}
+%{?fc3:%define _without_modxorg 1}
+%{?fc2:%define _without_modxorg 1}
+%{?fc1:%define _without_modxorg 1}
%{?rh9:%define _without_tcltk_devel 1}
%{?rh8:%define _without_tcltk_devel 1}
%{?rh7:%define _without_tcltk_devel 1}
%{?el2:%define _without_tcltk_devel 1}
+%{?el4:%define _without_java 1)
+%{?el3:%define _without_java 1)
+%{?fc6:%define _without_java 1)
+%{?fc5:%define _without_java 1)
+%{?fc4:%define _without_java 1)
+%{?fc3:%define _without_java 1)
+%{?fc2:%define _without_java 1)
+%{?fc1:%define _without_java 1}
+%{?rh9:%define _without_java 1}
+%{?rh8:%define _without_java 1}
+%{?rh7:%define _without_java 1}
+%{?el2:%define _without_java 1}
+
Summary: Graph Visualization Tools
Name: graphviz
-Version: 2.6
-Release: 2.2
+Version: 2.8
+Release: 1
License: CPL
Group: Applications/Multimedia
URL: http://www.graphviz.org/
@@ -29,13 +42,15 @@
BuildRequires: freetype-devel >= 2.0, bison, m4, flex, ruby-devel, libtool-ltdl-devel
BuildRequires: libjpeg-devel, libpng-devel, zlib-devel, expat-devel, gcc-c++
+BuildRequires: python-devel, php-devel, guile-devel, perl
#BuildRequires: /bin/ksh
%{!?_without_tcltk_devel:BuildRequires: tcl-devel >= 8.3, tk-devel}
%{?_without_tcltk_devel:BuildRequires: tcl >= 8.3, tk}
# needs version 2.0.29 of gdlib but fc3 contains 2.0.28
# BuildRequires: gd-progs, gd-devel
-%{?_without_xorg:BuildRequires: XFree86-devel}
-%{!?_without_xorg:BuildRequires: xorg-x11-devel}
+%{?_without_modxorg:BuildRequires: XFree86-devel}
+%{!?_without_modxorg:BuildRequires: libXext-devel, libXt-devel, libXaw-devel}
+%{!?_without_java:BuildRequires: java}
%description
A collection of tools and tcl packages for the manipulation and layout
@@ -50,6 +65,80 @@
The %{name}-tcl package contains the various tcl packages (extensions)
for version %{version} of the %{name} tools.
+%package ruby
+Group: Applications/Multimedia
+Summary: Ruby extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description ruby
+The %{name}-ruby package contains the various ruby packages (extensions)
+for version %{version} of the %{name} tools.
+
+%package python
+Group: Applications/Multimedia
+Summary: Python extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description python
+The %{name}-python package contains the various python packages (extensions)
+for version %{version} of the %{name} tools.
+
+%package php
+Group: Applications/Multimedia
+Summary: Php extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description php
+The %{name}-php package contains the various php packages (extensions)
+for version %{version} of the %{name} tools.
+
+%package ocaml
+Group: Applications/Multimedia
+Summary: Ocaml extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description ocaml
+The %{name}-ocaml package contains the various ocaml packages (extensions)
+for version %{version} of the %{name} tools.
+
+%package guile
+Group: Applications/Multimedia
+Summary: Guile extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description guile
+The %{name}-guile package contains the various guile packages (extensions)
+for version %{version} of the %{name} tools.
+
+%if %{!?_without_java:1}0
+%package java
+Group: Applications/Multimedia
+Summary: Java extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description java
+The %{name}-java package contains the various java packages (extensions)
+for version %{version} of the %{name} tools.
+%endif
+
+%package lua
+Group: Applications/Multimedia
+Summary: Lua extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description lua
+The %{name}-lua package contains the various lua packages (extensions)
+for version %{version} of the %{name} tools.
+
+%package perl
+Group: Applications/Multimedia
+Summary: Perl extension tools for version %{version} of %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description perl
+The %{name}-perl package contains the various perl packages (extensions)
+for version %{version} of the %{name} tools.
+
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
@@ -102,21 +191,22 @@
%dir %{_datadir}/graphviz/
%{_datadir}/graphviz/lefty/
%{_libdir}/graphviz/*.so.*
-%exclude %{_libdir}/graphviz/lib*tcl*.so.*
-%exclude %{_libdir}/graphviz/libtk*.so.*
-#%exclude %{_bindir}/dotneato-config
-#%exclude %{_mandir}/man1/dotneato-config.1*
+#exclude %{_libdir}/graphviz/lib*tcl*.so.*
+#exclude %{_libdir}/graphviz/libtk*.so.*
+#exclude %{_bindir}/dotneato-config
+#exclude %{_mandir}/man1/dotneato-config.1*
%files tcl
%defattr(-, root, root, 0755)
#%doc doc/tcldot.html
%doc %{_mandir}/mann/*
+%{_libdir}/graphviz/tcl/
%{_datadir}/graphviz/demo/
-%{_libdir}/graphviz/lib*tcl*.so.*
-%{_libdir}/graphviz/libtk*.so.*
+#{_libdir}/graphviz/lib*tcl*.so.*
+#{_libdir}/graphviz/libtk*.so.*
%{_libdir}/graphviz/pkgIndex.tcl
-%exclude %{_libdir}/%{name}/lib*tcl*.so.?
-%exclude %{_libdir}/%{name}/libtk*.so.?
+#exclude %{_libdir}/%{name}/lib*tcl*.so.?
+#exclude %{_libdir}/%{name}/libtk*.so.?
%files devel
%defattr(-, root, root, 0755)
@@ -129,6 +219,40 @@
%{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/graphviz/*.la
+%files ruby
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/ruby/
+
+%files python
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/python/
+
+%files php
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/php/
+
+%files ocaml
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/ocaml/
+
+%files guile
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/guile/
+
+%if %{!?_without_java:1}0
+%files java
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/java/
+%endif
+
+%files lua
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/lua/
+
+%files perl
+%defattr(-, root, root, 0755)
+%{_libdir}/graphviz/perl/
+
%files graphs
%defattr(-, root, root, 0755)
%dir %{_datadir}/graphviz/
@@ -139,6 +263,10 @@
%doc rpmdoc/*
%changelog
+* Sun Oct 15 2006 Dries Verachtert <dries at ulyssis.org> - 2.8-1
+- Updated to release 2.8.
+- Made some more subpackages.
+
* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 2.6-2.2
- Rebuild for Fedora Core 5.
More information about the svn-commits
mailing list