- 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
This commit is contained in:
parent
0f930ef743
commit
ca36bf0d34
@ -7,7 +7,7 @@
|
||||
#-- graphviz src.rpm --------------------------------------------------------
|
||||
Name: graphviz
|
||||
Version: 2.12
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
License: CPL
|
||||
URL: http://www.graphviz.org/
|
||||
@ -71,7 +71,7 @@ BuildRequires: fontconfig-devel tcl-devel tk-devel
|
||||
%if "%rhel" >= "4"
|
||||
%define PHP 1
|
||||
%define RUBY 1
|
||||
BuildRequires: xorg-x11-devel php-devel ruby-devel
|
||||
BuildRequires: xorg-x11-devel php-devel ruby ruby-devel
|
||||
%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
|
||||
@ -98,7 +98,7 @@ BuildRequires: xorg-x11-devel
|
||||
%define PHP 1
|
||||
%define RUBY 1
|
||||
%define GUILE 1
|
||||
BuildRequires: libtool-ltdl libtool-ltdl-devel php-devel ruby-devel guile-devel
|
||||
BuildRequires: libtool-ltdl libtool-ltdl-devel php-devel ruby ruby-devel guile-devel
|
||||
%endif
|
||||
%if "%fedora" >= "5"
|
||||
%define SHARP 1
|
||||
@ -117,6 +117,8 @@ BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel lua-devel
|
||||
Group: Applications/Multimedia
|
||||
Summary: Graph Visualization Tools
|
||||
Requires: urw-fonts
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
%description
|
||||
A collection of tools for the manipulation and layout
|
||||
@ -138,15 +140,17 @@ of graphs (as in nodes and edges, not as in barcharts).
|
||||
# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
|
||||
%post
|
||||
LD_LIBRARY_PATH=$RPM_INSTALL_PREFIX0/%{_lib} $RPM_INSTALL_PREFIX0/bin/dot -c
|
||||
/sbin/ldconfig
|
||||
|
||||
# if there is no dot after everything else is done, the remove config
|
||||
%postun
|
||||
if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_lib}/graphviz/config; fi
|
||||
/sbin/ldconfig
|
||||
|
||||
#-- graphviz-gd rpm --------------------------------------------------
|
||||
%package gd
|
||||
Group: Applications/Multimedia
|
||||
Summary: graphviz plugin for renderers based on gd
|
||||
Summary: Graphviz plugin for renderers based on gd
|
||||
Requires: graphviz = %{version}-%{release}
|
||||
|
||||
%description gd
|
||||
@ -216,7 +220,7 @@ Io extension for graphviz.
|
||||
%package java
|
||||
Group: Applications/Multimedia
|
||||
Summary: Java extension for graphviz
|
||||
Requires: graphviz = %{version}-%{release} libgcj java
|
||||
Requires: graphviz = %{version}-%{release} java
|
||||
|
||||
%description java
|
||||
Java extension for graphviz.
|
||||
@ -429,6 +433,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
#-- changelog --------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user