Notification time stamped 2022-11-29 15:15:26 UTC
From 8e659dece397d3936d57108c8f10e20204396842 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Nov 29 2022 03:50:00 +0000
Subject: Add hand-written man pages
---
diff --git a/sfnt2woff.1 b/sfnt2woff.1
new file mode 100644
index 0000000..87cecb6
--- /dev/null
+++ b/sfnt2woff.1
@@ -0,0 +1,35 @@
+.TH sfnt2woff "1" "November 2020" sfnt2woff\-zopfli "User
Commands"
+.SH NAME
+sfnt2woff \- package OpenType
+.I otffile
+as WOFF, creating
+.IR otffile .woff
+.SH SYNOPSIS
+sfnt2woff
+.RB [ \-v
+.IR maj . min ]
+.RB [ \-m
+.IR metadata.xml ]
+.RB [ \-p
+.IR private.dat ]
+.I otffile
+.SH DESCRIPTION
+.PP
+Packages OpenType
+.I otffile
+as WOFF, creating
+.IR otffile .woff.
+.SH OPTIONS
+.TP
+\fB\-v\fR \fImaj\fR.\fImin
+set font version number (major and minor, both integers)
+.TP
+\fB\-m\fR \fImetadata.xml
+include metadata from
+.I metadata.xml
+(not validated)
+.TP
+\fB\-p\fR \fIprivate.dat
+include private data block
+.SH "SEE ALSO"
+.BR woff2sfnt (1)
diff --git a/woff.spec b/woff.spec
index dc90c41..41efbab 100644
--- a/woff.spec
+++ b/woff.spec
@@ -14,6 +14,9 @@ License: GPLv2+ or LGPLv2+ or MPLv1.1
URL:
https://web.archive.org/web/20170630235618/%{original_url}
# There is no longer a working URL for this archive.
Source0: %{original_url}/woff-code-latest.zip
+# Hand-written for Fedora in groff_man(7) format based on --help output
+Source1: sfnt2woff.1
+Source2: woff2sfnt.1
BuildRequires: make
BuildRequires: gcc
@@ -36,12 +39,16 @@ Encoding and Decoding for Web Open Font Format(Woff)
# The Makefile has no install target.
install -d '%{buildroot}%{_bindir}'
install -t '%{buildroot}%{_bindir}' -p sfnt2woff woff2sfnt
+install -d '%{buildroot}%{_mandir}/man1'
+install -t '%{buildroot}%{_mandir}/man1' -p -m 0644 '%{SOURCE1}'
'%{SOURCE2}'
%files
%doc woff-2009-10-03.html
%{_bindir}/sfnt2woff
%{_bindir}/woff2sfnt
+%{_mandir}/man1/sfnt2woff.1*
+%{_mandir}/man1/woff2sfnt.1*
%changelog
@@ -50,6 +57,7 @@ install -t '%{buildroot}%{_bindir}' -p sfnt2woff woff2sfnt
archive URL
- General tidying of spec file; use modern macros and install HTML format
description as documentation
+- Add hand-written man pages
* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.20091126-26
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
diff --git a/woff2sfnt.1 b/woff2sfnt.1
new file mode 100644
index 0000000..77bdb67
--- /dev/null
+++ b/woff2sfnt.1
@@ -0,0 +1,33 @@
+.TH woff2sfnt "1" "November 2020" woff2sfnt "User
Commands"
+.SH NAME
+woff2sfnt \- decode WOFF file
+.IR woff ,
+writing OpenType data to
+.B stdout
+.SH SYNOPSIS
+woff2sfnt
+.RB [ \-v \ |\ \-m \ |\ \-p ]
+.I woff
+.SH DESCRIPTION
+.PP
+Decodes WOFF file
+.IR woff ,
+writing OpenType data to
+.BR stdout .
+.SH OPTIONS
+.TP
+.B \-v
+write font version to
+.B stdout
+.TP
+.B \-m
+write WOFF metadata block to
+.B stdout
+.TP
+.B \-p
+write private data block to
+.B stdout
+.SH NOTES
+Only one of \fB\-v\fR, \fB\-m\fR, \fB\-p\fR may be used at a time.
+.SH "SEE ALSO"
+.BR sfnt2woff (1)
https://src.fedoraproject.org/rpms/woff/c/8e659dece397d3936d57108c8f10e20...