diff --git a/libstemmer.spec b/libstemmer.spec index dfe629792d2a4954abb7a186e89fca52e0f33aba..2eaaeb1a4b707dc03c931731ac1a39413c0bf119 100644 --- a/libstemmer.spec +++ b/libstemmer.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: libstemmer Version: 0 -Release: 10.585svn%{?dist} +Release: 10.585svn%{anolis_release}%{?dist} Summary: C stemming algorithm library # The site and project is no longer being actively maintained. # The code is available on Github - https://github.com/snowballstem/snowball @@ -55,6 +56,13 @@ English: although this has been superseded by an improved algorithm, the original algorithm may be of interest to information retrieval researchers wishing to reproduce results of earlier experiments. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %setup -q -n libstemmer_c @@ -82,14 +90,19 @@ cp %{SOURCE1} %{SOURCE2} . %postun -p /sbin/ldconfig %files -%doc Notice.txt BSD.txt README %{_libdir}/libstemmer.so.* %files devel %{_libdir}/libstemmer.so %{_includedir}/* +%files doc +%doc Notice.txt BSD.txt README + %changelog +* Fri Jul 15 2022 Weisson - 0-10.585svn.0.1 +- Add doc sub package + * Tue Feb 27 2018 Marek Skalický - 0-10.585svn - Use LDFLAGS for building