Resolves: #1961175 (Missing man page for enchant-lsmod)

This commit is contained in:
Milan Crha 2021-05-17 14:54:47 +02:00
parent e7370ddafb
commit ea57f1edb0
2 changed files with 66 additions and 1 deletions

View File

@ -0,0 +1,58 @@
diff -up enchant-1.6.0/doc/enchant-lsmod.1.manpages enchant-1.6.0/doc/enchant-lsmod.1
--- enchant-1.6.0/doc/enchant-lsmod.1.manpages 2018-08-27 12:48:41.277955309 +0200
+++ enchant-1.6.0/doc/enchant-lsmod.1 2018-08-27 13:42:43.933910469 +0200
@@ -0,0 +1,34 @@
+.PU
+.TH ENCHANT-LSMOD 1 "July 2006" enchant "Enchant Mini Help File"
+.SH NAME
+enchant-lsmod \- list provider and dictionary information
+.SH SYNOPSIS
+.ll +8
+.B enchant-lsmod
+[\fB\-lang [\fBlanguage_tag\fR]\fR] [\fB\-list-dicts\fR] [\fB\-h\fR] [\fB\-v\fR]
+.ll -8
+.br
+.SH DESCRIPTION
+.B enchant-lsmod
+gives information about Enchant's spell-checker providers and the dictionaries each offers.
+.SS OPTIONS
+.TP
+.B "\-lang [language_tag]"
+Lists information about user's language if no \fIlanguage_tag\fR is given, or about that \fIlanguage_tag\fR.
+.TP
+.B "\-list-dicts"
+Lists installed dictionaries.
+.TP
+.B "\-h"
+Prints a brief usage information.
+.TP
+.B "\-v"
+Prints the program's version.
+.SH MORE INFORMATION
+http://www.abisource.com/enchant/
+.SH "SEE ALSO"
+.BR enchant(1)
+.SH "AUTHOR"
+ Dom Lachowicz
+ WEB: http://www.abisource.com/enchant/
+ MAIL: domlachowicz@gmail.com
diff -up enchant-1.6.0/doc/Makefile.am.manpages enchant-1.6.0/doc/Makefile.am
--- enchant-1.6.0/doc/Makefile.am.manpages 2010-04-01 22:53:37.000000000 +0200
+++ enchant-1.6.0/doc/Makefile.am 2018-08-27 12:48:41.277955309 +0200
@@ -1,3 +1,3 @@
-man_MANS = enchant.1
+man_MANS = enchant.1 enchant-lsmod.1
EXTRA_DIST = $(man_MANS)
diff -up enchant-1.6.0/doc/Makefile.in.manpages enchant-1.6.0/doc/Makefile.in
--- enchant-1.6.0/doc/Makefile.in.manpages 2010-04-01 22:56:37.000000000 +0200
+++ enchant-1.6.0/doc/Makefile.in 2018-08-27 12:48:41.278955309 +0200
@@ -215,7 +215,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-man_MANS = enchant.1
+man_MANS = enchant.1 enchant-lsmod.1
EXTRA_DIST = $(man_MANS)
all: all-am

View File

@ -1,7 +1,7 @@
Summary: An Enchanting Spell Checking Library
Name: enchant
Version: 1.6.0
Release: 28%{?dist}
Release: 29%{?dist}
Epoch: 1
License: LGPLv2+
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
@ -14,6 +14,8 @@ BuildRequires: libvoikko-devel
BuildRequires: automake, libtool
BuildRequires: make
Patch01: enchant-1.6.0-manpages.patch
%description
A library that wraps other spell checking backends.
@ -42,6 +44,7 @@ Libraries, headers, and support files necessary to compile applications using li
%prep
%setup -q
%patch01 -p1 -b .manpage-lsmod
%build
%configure --enable-myspell --with-myspell-dir=/usr/share/myspell --disable-static --disable-ispell --disable-hspell --disable-zemberek
@ -60,6 +63,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
%dir %{_libdir}/enchant
%{_libdir}/enchant/lib*myspell.so*
%{_mandir}/man1/enchant.1*
%{_mandir}/man1/enchant-lsmod.1.gz
%{_datadir}/enchant
%files aspell
@ -76,6 +80,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
%ldconfig_scriptlets
%changelog
* Mon May 17 2021 Milan Crha <mcrha@redhat.com> - 1:1.6.0-29
- Resolves: #1961175 (Missing man page for enchant-lsmod)
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.0-28
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937