[gutenprint/f21] Supply man page for gutenprint-foomaticupdate.
Tim Waugh
twaugh at fedoraproject.org
Tue Aug 5 10:25:57 UTC 2014
commit 8f52fbc0b15bd9a3306c28e4845e70583481c139
Author: Tim Waugh <twaugh at redhat.com>
Date: Tue Aug 5 10:08:46 2014 +0100
Supply man page for gutenprint-foomaticupdate.
gutenprint-foomaticppdupdate.8 | 47 ++++++++++++++++++++++++++++++++++++++++
gutenprint.spec | 8 +++++-
2 files changed, 53 insertions(+), 2 deletions(-)
---
diff --git a/gutenprint-foomaticppdupdate.8 b/gutenprint-foomaticppdupdate.8
new file mode 100644
index 0000000..b083baa
--- /dev/null
+++ b/gutenprint-foomaticppdupdate.8
@@ -0,0 +1,47 @@
+.\" Copyright (C) 2000 Roger Leigh <rleigh at debian.org>
+.\" Copyright (C) 2014 Red Hat, Inc.
+.\"
+.\" This program is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2, or (at your option)
+.\" any later version.
+.\"
+.\" This program is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program; if not, write to the Free Software
+.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+.\"
+.\" Based on cups-genppdupdate(8)
+.\"
+.TH GUTENPRINT-FOOMATICPPDUPDATE "8" "05 Aug 2014" "5.2.10" "Gutenprint"
+.SH NAME
+gutenprint-foomaticppdupdate \- update Gutenprint Foomatic PPD files
+.SH SYNOPSIS
+.B gutenprint-foomaticppdupdate VERSION
+.SH DESCRIPTION
+\fBgutenprint\-foomaticppdupdate\fP regenerates the \fIGutenprint\fP
+Foomatic PPD files in use by CUPS, using freshly generated Foomatic
+PPD files as templates. The new PPD file replaces the old PPD file
+under \fI/etc/cups/ppd\fP, but all the options set in the old PPD will
+be merged into the new PPD, provided that they are still valid in the
+new file.
+.PP
+\fBgutenprint\-foomaticppdupdate\fP does \fBnot\fP restart cupsd.
+cupsd will need manual reloading (or send SIGHUP) once
+\fBgutenprint\-foomaticppdupdate\fP has completed.
+.PP
+This is not intended to be used directly but instead is run
+automatically on package upgrade.
+.SH OPTIONS
+.B VERSION
+The version number of the Gutenprint package just installed.
+.SH SEE ALSO
+.BR cups\-genppdupdate (8)
+.PP
+This program is free software; you can redistribute it and/or modify
+it under the terms fo the GNU General Public License, version 2, or
+(at your option) any later version.
diff --git a/gutenprint.spec b/gutenprint.spec
index b941f49..e9165ad 100644
--- a/gutenprint.spec
+++ b/gutenprint.spec
@@ -8,8 +8,9 @@ URL: http://gimp-print.sourceforge.net/
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
# Post-install script to update foomatic PPDs.
Source1: gutenprint-foomaticppdupdate
+Source2: gutenprint-foomaticppdupdate.8
# Post-install script to update CUPS native PPDs.
-Source2: cups-genppdupdate.py.in
+Source3: cups-genppdupdate.py.in
Patch0: gutenprint-menu.patch
Patch1: gutenprint-O6.patch
Patch2: gutenprint-selinux.patch
@@ -136,7 +137,7 @@ Epson, HP and compatible printers.
# Fix the test suite.
%patch6 -p1 -b .test-suite
-cp %{SOURCE2} src/cups/cups-genppdupdate.in
+cp %{SOURCE3} src/cups/cups-genppdupdate.in
%build
# autoreconf has been added due to bug #925535,
@@ -166,6 +167,7 @@ make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_sbindir}
install -m755 %{SOURCE1} %{buildroot}%{_sbindir}
+install -m644 %{SOURCE2} %{buildroot}%{_mandir}/man8
rm -rf %{buildroot}%{_datadir}/gutenprint/doc
rm -f %{buildroot}%{_datadir}/foomatic/kitload.log
@@ -248,6 +250,7 @@ exit 0
%files foomatic
%doc
%{_sbindir}/gutenprint-foomaticppdupdate
+%{_mandir}/man8/gutenprint-foomaticppdupdate.8*
%{_datadir}/foomatic/db/source/driver/*
%{_datadir}/foomatic/db/source/opt/*
@@ -279,6 +282,7 @@ fi
%changelog
* Tue Aug 5 2014 Tim Waugh <twaugh at redhat.com> - 5.2.10-4
+- Supply man page for gutenprint-foomaticupdate.
- Link to cups-genppd(8) man page from cups-genppd.5.2(8).
* Mon Aug 4 2014 Tim Waugh <twaugh at redhat.com> - 5.2.10-3
More information about the scm-commits
mailing list