diff --git a/recode.spec b/recode.spec index 650579446c7b60ec5a26b93efe29e41fcf893f89..d418dfe81962627a71f0b4a2eaa6d730bdf27615 100644 --- a/recode.spec +++ b/recode.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: Conversion between character sets and surfaces Name: recode Version: 3.6 -Release: 47%{?dist} +Release: 47%{anolis_release}%{?dist} License: GPLv2+ Group: Applications/File Url: http://recode.progiciels-bpi.ca/ @@ -22,6 +23,8 @@ Requires(postun): /sbin/ldconfig BuildRequires: libtool BuildRequires: texinfo +Requires: glibc +Provides: /usr/bin/recode %description The `recode' converts files between character sets and usages. @@ -31,6 +34,14 @@ transliteration are not possible, it may get rid of the offending characters or fall back on approximations. Most RFC 1345 character sets are supported. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %package devel Summary: Header files for development using recode Group: Development/Libraries @@ -87,7 +98,6 @@ fi %postun -p /sbin/ldconfig %files -f %{name}.lang -%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO %{_mandir}/*/* %{_infodir}/recode.info* %{_bindir}/* @@ -97,7 +107,13 @@ fi %{_libdir}/*.so %{_includedir}/* +%files doc +%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO + %changelog +* Sat Jul 16 2022 Xiaoping Liu - 3.6-47.0.1 +- Add doc sub package + * Fri Feb 09 2018 Igor Gnatenko - 3.6-47 - Escape macros in %%changelog