diff --git a/libtheora.spec b/libtheora.spec index 0c4d36309a0591449a4c951ef8f3e31033e1cba9..88b1f7e1003db2ad1a802d58f24839f7e22d5138 100644 --- a/libtheora.spec +++ b/libtheora.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libtheora Epoch: 2 Version: 1.1.1 @@ -28,11 +28,18 @@ nearly identical, varying only in encapsulating decoder tables in the bitstream headers, but Theora will make use of this extra freedom in the future to improve over what is possible with VP3. +%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 Theora applications Requires: libogg-devel >= 2:1.1 -Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} %description devel The libtheora-devel package contains the header files needed to develop @@ -50,7 +57,7 @@ to develop applications with libtheora. %package -n theora-tools Summary: Command line tools for Theora videos -Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} %description -n theora-tools The theora-tools package contains simple command line tools for use @@ -96,9 +103,12 @@ install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora %files -%doc README COPYING +%doc COPYING %{_libdir}/*.so.* +%files doc +%doc README + %files devel %{_includedir}/theora %{_libdir}/*.so @@ -113,5 +123,8 @@ install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora %changelog +* Mon Oct 10 2022 mgb01105731 - 2:1.1.1-2 +- add doc package + * Tue Apr 19 2022 Chunmei Xu - 2:1.1.1-1 - init from upstream