From d8b3f875f8dfc0e5c6af74d6a3489151773aed98 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 29 Sep 2022 14:55:51 +0800 Subject: [PATCH] add doc package --- hyphen.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/hyphen.spec b/hyphen.spec index db1403e..7a920b5 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: hyphen Summary: A text hyphenation library Version: 2.8.8 @@ -12,6 +12,14 @@ BuildRequires: make valgrind %description Hyphen is a library for high quality hyphenation and justification. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package devel Requires: hyphen = %{version}-%{release} Summary: Files for developing with hyphen @@ -54,10 +62,12 @@ popd %ldconfig_scriptlets %files -%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO %{_libdir}/*.so.* %dir %{_datadir}/hyphen +%files doc +%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO + %files en %{_datadir}/hyphen/hyph_en*.dic @@ -67,5 +77,8 @@ popd %{_bindir}/substrings.pl %changelog +* Thu Sep 29 2022 mgb01105731 - 2.8.8-2 +- add doc package + * Tue Apr 12 2022 Chunmei Xu - 2.8.8-1 - init from upstream -- Gitee