diff --git a/libvorbis.spec b/libvorbis.spec index c06a3009653c08bcfaa995185d628d905cfee56b..ab2c3ff8beb2ec00c04d3e2eea2143290f1b2e70 100644 --- a/libvorbis.spec +++ b/libvorbis.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Summary: The Vorbis General Audio Compression Codec @@ -21,9 +21,17 @@ and variable bitrates. The libvorbis package contains runtime libraries for use in programs that support Ogg Vorbis. +%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}. + %package devel Summary: Development tools for Vorbis applications -Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} %description devel The libvorbis-devel package contains the header files and documentation @@ -56,12 +64,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la make check %files -%doc AUTHORS %license COPYING %{_libdir}/libvorbis.so.* %{_libdir}/libvorbisfile.so.* %{_libdir}/libvorbisenc.so.* +%files doc +%doc AUTHORS + %files devel %{_includedir}/vorbis %{_libdir}/libvorbis.so @@ -77,6 +87,9 @@ make check %ldconfig_scriptlets %changelog +* Tue Oct 11 2022 mgb01105731 - 1.3.7-2 +- add doc package + * Thu Apr 07 2022 mgb01105731 - 1.3.7-1 - Init from upstream version 1.3.7