From: John Ellson Date: Wed, 12 Nov 2014 16:59:18 +0000 (-0500) Subject: add a -nox package, basic graphviz rpm now includes x11 facilities X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68584a14f062d68036dbb7d76f5148ef5a478a06;p=graphviz add a -nox package, basic graphviz rpm now includes x11 facilities --- diff --git a/graphviz.spec.in b/graphviz.spec.in index eb09a6c7e..8ab772251 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -183,9 +183,8 @@ BuildRequires: golang >= 1.2 gcc-go swig >= 3.0.2 #-- main graphviz rpm ------------------------------------------------ -Requires: urw-fonts -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-plugins-core = %{version}-%{release} +Requires: %{name}-nox = %{version}-%{release} +Requires: %{name}-x = %{version}-%{release} %description A collection of tools for the manipulation and layout @@ -197,6 +196,25 @@ of graphs (as in nodes and edges, not as in bar-charts). %license COPYING %endif %doc COPYING AUTHORS ChangeLog NEWS README + +#-- graphviz-nox rpm -------------------------------------------------- +%package nox +Group: Applications/Multimedia +Summary: Graphviz commands that do not depend on X11 - all graphviz installation will want this. +Requires: urw-fonts +Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-plugins-core = %{version}-%{release} + +%description nox +Graphviz plugins and commands that do not depend on x11. +When used alone, this is intended for mimimalist web-server apps with no X11 on the server. + +%files nox +%defattr(-,root,root,-) +%if 0%{?SEPARATE_LICENSE} +%license COPYING +%endif +%doc COPYING AUTHORS ChangeLog NEWS README %exclude %{_bindir}/dot_builtins %{_bindir}/acyclic %{_bindir}/bcomps @@ -322,13 +340,18 @@ fi %package x Group: Applications/Multimedia Summary: Graphviz commands that depend on x11 - most installations will want this -Requires: %{name} = %{version}-%{release} +Requires: %{name}-nox = %{version}-%{release} Requires: %{name}-plugins-x = %{version}-%{release} %description x Graphviz plugins and commands that depend on x11 - most installations will want this %files x +%defattr(-,root,root,-) +%if 0%{?SEPARATE_LICENSE} +%license COPYING +%endif +%doc COPYING AUTHORS ChangeLog NEWS README %{_bindir}/lefty %{_bindir}/lneato %{_bindir}/dotty