Notification time stamped 2021-04-30 15:47:25 UTC
From 3855b63719d371704aec03d32cf0447cb9285f00 Mon Sep 17 00:00:00 2001
From: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Apr 30 2021 15:33:18 +0000
Subject: Add man page contributed by Ben Beasley
---
diff --git a/op1svg.1 b/op1svg.1
new file mode 100644
index 0000000..f9b92f3
--- /dev/null
+++ b/op1svg.1
@@ -0,0 +1,28 @@
+.TH OP1SVG "1" "April 2021" "" "User Commands"
+.SH NAME
+op1svg \- normalize SVG files so that the OP-1 understands them
+.SH SYNOPSIS
+.B op1svg
+.RB [ \-h ]
+.RB [ \-\-debug ]
+.RB [ \-\-version ]
+.I in_path
+.I out_path
+.SH OPTIONS
+.SS "POSITIONAL\ ARGUMENTS"
+.TP
+.I in_path
+file path of svg file to fix
+.TP
+.I out_path
+file path to write the fixed svg to
+.SS "OPTIONAL\ ARGUMENTS"
+.TP
+.B \-h, \-\-help
+show a help message and exit
+.TP
+.B \-\-debug
+print debug messages
+.TP
+.B \-\-version
+show program\(cqs version number and exit
diff --git a/python-op1svg.spec b/python-op1svg.spec
index 386ad03..85318c4 100644
--- a/python-op1svg.spec
+++ b/python-op1svg.spec
@@ -15,12 +15,13 @@ op1svg normalizes SVG files so that the OP-1 understands them:
Name: python-%{pypi_name}
Version: 0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Normalize SVG files so that the OP-1 understands them
License: MIT
URL: %{forgeurl}
Source0: %{forgesource}
+Source1: op1svg.1
BuildArch: noarch
BuildRequires: sed
@@ -48,6 +49,8 @@ sed -e "\|#!/usr/bin/env python3|d" -i %{pypi_name}/*.py
%install
%py3_install
+mkdir -p %{buildroot}%{_mandir}/man1
+cp -P %{SOURCE1} %{buildroot}%{_mandir}/man1
%files -n %{pypi_name}
%license LICENSE
@@ -55,7 +58,11 @@ sed -e "\|#!/usr/bin/env python3|d" -i %{pypi_name}/*.py
%{_bindir}/op1svg
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%{_mandir}/man1/op1svg.1*
%changelog
+* Fri Apr 30 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> -
0.1.0-2.20210419git50a3b01
+- Add man page contributed by Ben Beasley
+
* Sat Apr 24 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> -
0.1.0-1.20210419git50a3b01
- Initial package.
https://src.fedoraproject.org/rpms/python-op1svg/c/3855b63719d371704aec03...