From 01cdf8cbc210102a8cdadb642ed1c9b1306f745c Mon Sep 17 00:00:00 2001 From: Kaihao Bai Date: Mon, 9 Jan 2023 12:59:24 +0800 Subject: [PATCH] add doc package and update spec --- aspell.spec | 58 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 15 deletions(-) diff --git a/aspell.spec b/aspell.spec index 9ddd00b..4add662 100644 --- a/aspell.spec +++ b/aspell.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: Spell checker Name: aspell Version: 0.60.8 @@ -24,14 +24,14 @@ BuildRequires: chrpath, gettext, ncurses-devel, pkgconfig, perl-interpreter BuildRequires: make %description -GNU Aspell is a spell checker designed to eventually replace Ispell. It can -either be used as a library or as an independent spell checker. Its main -feature is that it does a much better job of coming up with possible -suggestions than just about any other spell checker out there for the -English language, including Ispell and Microsoft Word. It also has many -other technical enhancements over Ispell such as using shared memory for -dictionaries and intelligently handling personal dictionaries when more -than one Aspell process is open at once. +GNU Aspell is a Free and Open Source spell checker designed to eventually +replace Ispell. It can either be used as a library or as an independent +spell checker. Its main feature is that it does a much better job of +coming up with possible suggestions than just about any other spell checker +out there for the English language, including Ispell and Microsoft Word. +It also has many other technical enhancements over Ispell such as using +shared memory for dictionaries and intelligently handling personal +dictionaries when more than one Aspell process is open at once. %package devel Summary: Libraries and header files for Aspell development @@ -42,12 +42,16 @@ Requires: pkgconfig The aspell-devel package includes libraries and header files needed for Aspell development. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep -%setup -q -%patch0 -p1 -b .fc -%patch1 -p1 -b .mlib -%patch2 -p1 -b .ai -%patch3 -p1 -b .CVE-2019-25051 +%autosetup -p1 iconv -f iso-8859-2 -t utf-8 < manual/aspell.info > manual/aspell.info.aux mv manual/aspell.info.aux manual/aspell.info @@ -86,9 +90,12 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir %find_lang %{name} +%generate_compatibility_deps + %files -f %{name}.lang -%doc README TODO COPYING examples/aspell-import examples/aspell-import.1 +%doc examples/aspell-import examples/aspell-import.1 %dir %{_libdir}/aspell-0.60 +%dir %{abidir} %{_bindir}/a* %{_bindir}/ispell %{_bindir}/pr* @@ -102,6 +109,24 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir %{_mandir}/man1/run-with-aspell.1* %{_mandir}/man1/word-list-compress.1* %{_mandir}/man1/prezip-bin.1.* +%{abidir}/context-filter.dump +%{abidir}/email-filter.dump +%{abidir}/libaspell.dump +%{abidir}/libpspell.dump +%{abidir}/markdown-filter.dump +%{abidir}/nroff-filter.dump +%{abidir}/texinfo-filter.dump +%{abidir}/tex-filter.dump +%{abidir}/sgml-filter.dump +%{abidir}/precat-option.list +%{abidir}/preunzip-option.list +%{abidir}/prezip-option.list +%{abidir}/pspell-config-option.list +%{abidir}/spell-option.list +%{abidir}/aspell-option.list + +%files doc +%doc README TODO COPYING %files devel %dir %{_includedir}/pspell @@ -114,5 +139,8 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir %{_mandir}/man1/pspell-config.1* %changelog +* Mon Jan 09 2023 Kaihao Bai - 0.60.8-2 +- add doc package and update spec + * Tue May 17 2022 Chunmei Xu - 0.60.8-1 - init from upstream -- Gitee