From be61bbc92dfdf60eaee32ee578b24d500a233e42 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Jul 2015 11:10:20 +0200 Subject: php-zetacomponents-graph: comments from review --- php-zetacomponents-graph.spec | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/php-zetacomponents-graph.spec b/php-zetacomponents-graph.spec index a8ec750..f5f1909 100644 --- a/php-zetacomponents-graph.spec +++ b/php-zetacomponents-graph.spec @@ -17,7 +17,7 @@ Name: php-%{gh_owner}-%{cname} Version: 1.5.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zeta Graph Component Group: Development/Libraries @@ -63,6 +63,18 @@ Provides: php-composer(%{gh_owner}/%{cname}) = %{version} %description A component for creating pie charts, line graphs and other kinds of diagrams. +Documentation is available in the %{name}-doc package. + + +%package doc +Summary: Documentation for %{name} +Group: Documentation +# For License +Requires: %{name} = %{version}-%{release} + +%description doc +%{summary}. + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -70,6 +82,11 @@ A component for creating pie charts, line graphs and other kinds of diagrams. %patch0 -p1 %patch1 -p1 +: Drop bundled fonts +rm docs/tutorial/tutorial_font.* +sed -e 's:tutorial_font.ttf:/usr/share/fonts/gnu-free/FreeSans.ttf:' \ + -i docs/tutorial/*php + %build : Generate a simple autoloader @@ -78,7 +95,7 @@ A component for creating pie charts, line graphs and other kinds of diagrams. src cat < - 1.5.2-3 +- create subpackage for documentation +- minor improvments, from review #1228090 comments + * Thu Jun 4 2015 Remi Collet - 1.5.2-2 - add upstream patch for LICENSE file -- cgit