]> granicus.if.org Git - graphviz/commitdiff
add a -nox package, basic graphviz rpm now includes x11 facilities
authorJohn Ellson <ellson@research.att.com>
Wed, 12 Nov 2014 16:59:18 +0000 (11:59 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 12 Nov 2014 16:59:18 +0000 (11:59 -0500)
graphviz.spec.in

index eb09a6c7e2817bdb99cdaa17213d577a5cb84a69..8ab77225125f8b1c72ebea40f228dfccfd2b3a2f 100644 (file)
@@ -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