Supply man page for gutenprint-foomaticupdate.

This commit is contained in:
Tim Waugh 2014-08-05 10:08:46 +01:00
parent 14de4b51f7
commit 8f52fbc0b1
2 changed files with 53 additions and 2 deletions

View File

@ -0,0 +1,47 @@
.\" Copyright (C) 2000 Roger Leigh <rleigh@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.

View File

@ -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@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@redhat.com> - 5.2.10-3