From a8356267d3a88de6cf1e2e5bf34b0535e3019d53 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 10 Oct 2022 11:36:40 +0800 Subject: [PATCH] add doc package --- libvisual.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/libvisual.spec b/libvisual.spec index d77df69..35e3aa1 100644 --- a/libvisual.spec +++ b/libvisual.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %global smallversion 0.4 Name: libvisual @@ -29,9 +29,17 @@ interface applications can easily access plugins and since the drawing is done by the application it also enables the developer to draw the visual anywhere he wants. +%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 files for libvisual -Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} %description devel Libvisual is an abstraction library that comes between applications and @@ -57,10 +65,12 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %find_lang %{name}-%{smallversion} %files -f %{name}-%{smallversion}.lang -%doc AUTHORS ChangeLog NEWS README TODO %license COPYING %{_libdir}/*.so.* +%files doc +%doc AUTHORS ChangeLog NEWS README TODO + %files devel %doc README NEWS TODO AUTHORS %{_libdir}/*.so @@ -69,6 +79,9 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %changelog +* Mon Oct 10 2022 mgb01105731 - 1:0.4.0-3 +- add doc package + * Tue Apr 19 2022 mgb01105731 - 1:0.4.0-2 - remove multilib process -- Gitee