[cook/f14/master] Documentation is built and included
Gérard Milmeister
gemi at fedoraproject.org
Mon Feb 21 18:39:20 UTC 2011
commit f9e59f9f50e2a606986ed9bcf3f70f609db9d5d0
Author: Gérard Milmeister <gemi at bluewin.ch>
Date: Mon Feb 21 19:39:16 2011 +0100
Documentation is built and included
cook.spec | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/cook.spec b/cook.spec
index 721a000..d8d665d 100644
--- a/cook.spec
+++ b/cook.spec
@@ -1,6 +1,6 @@
Name: cook
Version: 2.34
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: File construction tool
@@ -10,6 +10,7 @@ URL: http://miller.emu.id.au/pmiller/software/cook
Source: http://miller.emu.id.au/pmiller/software/cook/cook-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: groff
+BuildRequires: groff-perl
BuildRequires: bison
BuildRequires: gettext
BuildRequires: sharutils
@@ -33,9 +34,12 @@ mechanism to define these.
%configure --libdir=%{_datadir}
# _smp_mflags breaks the build
make # %{?_smp_mflags}
-#for f in lib/en/*.ps; do
-# ps2pdf $f
-#done
+`grog -Tps lib/en/tutorial/main.mm` > tutorial.ps
+`grog -Tps lib/en/user-guide/main.mm` > user-guide.ps
+`grog -Tps lib/en/refman/main.man` > refman.ps
+for f in *.ps; do
+ ps2pdf $f
+done
%install
@@ -64,11 +68,14 @@ rm -fr ${RPM_BUILD_ROOT}
%{_bindir}/*
%{_datadir}/cook
%{_mandir}/man1/*
-#%doc *.pdf
+%doc *.pdf
%doc README
%changelog
+* Mon Feb 21 2011 Gérard Milmeister <gemi at bluewin.ch> - 2.34-2
+- Documentation is built and included
+
* Tue Feb 8 2011 Gérard Milmeister <gemi at bluewin.ch> - 2.34-1
- new release 2.34
More information about the scm-commits
mailing list