Notification time stamped 2022-11-29 16:50:59 UTC
From 7e3ac4966a25ccf13be7a086ca2e18c04920a87a Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley code@musicinmybrain.net Date: Nov 29 2022 16:49:32 +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 b8a94a7..c99c7a7 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/%%7Boriginal_url%7D # 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
* Sun Jun 05 2022 Benson Muite benson_muite@emailplus.org - 0.20091126-26 - Source URL update 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/7e3ac4966a25ccf13be7a086ca2e18c049...
scm-commits@lists.fedoraproject.org