From cebabf992f29ac406170ea6d349ddcf1e4a827b1 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Mon, 5 Nov 2012 16:41:25 +0400 Subject: [PATCH] 0.8.6-alt1 - docs subpackage (HTML/PDF book) --- .gear/mkimage-profiles.spec | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.gear/mkimage-profiles.spec b/.gear/mkimage-profiles.spec index 985b0175..afc4e3e3 100644 --- a/.gear/mkimage-profiles.spec +++ b/.gear/mkimage-profiles.spec @@ -1,5 +1,5 @@ Name: mkimage-profiles -Version: 0.8.5 +Version: 0.8.6 Release: alt1 Summary: ALT Linux based distribution metaprofile @@ -11,6 +11,9 @@ Source: %name-%version.tar Packager: Michael Shigorin BuildArch: noarch +BuildRequires: rsync asciidoc-a2x xmlgraphics-fop fonts-ttf-dejavu +BuildRequires: /proc + Requires: rsync git-core Requires: time schedutils Requires: mkimage >= 0.2.0 @@ -20,6 +23,12 @@ Requires: mkimage >= 0.2.0 %define mpdir %_datadir/%name %add_findreq_skiplist %mpdir/*.in/* +%define docs $HOME/docs + +%package doc +Summary: %name documentation +Group: Development/Documentation + %description mkimage-profiles is a collection of bits and pieces useful for distributions construction: it contains package lists, features, @@ -46,10 +55,15 @@ and modest metaprogramming (some code generation and introspection), welcome to the metaprofile itself; read the docs and get the git: %url +%description doc +This package holds developer docs for %name +as a book in HTML and PDF formats. + %prep %setup %build +make BUILDDIR=%docs docs %install mkdir -p %buildroot%mpdir @@ -57,10 +71,16 @@ cp -a * %buildroot%mpdir %files %mpdir/ -%doc doc/ -%doc README QUICKSTART + +%files doc +%doc README +%doc QUICKSTART +%doc %docs/* %changelog +* Mon Nov 05 2012 Michael Shigorin 0.8.6-alt1 +- docs subpackage (HTML/PDF book) + * Mon Oct 29 2012 Michael Shigorin 0.8.5-alt1 - diffable logs - AMD APU support