From ea57f1edb0f0ed22d2e530365320850be6bcf9de Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 17 May 2021 14:54:47 +0200 Subject: [PATCH] Resolves: #1961175 (Missing man page for enchant-lsmod) --- enchant-1.6.0-manpages.patch | 58 ++++++++++++++++++++++++++++++++++++ enchant.spec | 9 +++++- 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 enchant-1.6.0-manpages.patch diff --git a/enchant-1.6.0-manpages.patch b/enchant-1.6.0-manpages.patch new file mode 100644 index 0000000..2961b3c --- /dev/null +++ b/enchant-1.6.0-manpages.patch @@ -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 + diff --git a/enchant.spec b/enchant.spec index 0835ea9..6bf5726 100644 --- a/enchant.spec +++ b/enchant.spec @@ -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 - 1:1.6.0-29 +- Resolves: #1961175 (Missing man page for enchant-lsmod) + * Thu Apr 15 2021 Mohan Boddu - 1:1.6.0-28 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937