diff --git a/hyphen.spec b/hyphen.spec index db1403e82bd88804668cffa66875ff4c59b5c381..7a920b548fb00f5a5fc69dd906983aa82fdf5abe 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