From 0a0298d949480c7f5d10bea48606103d7f8ed115 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sat, 16 Jul 2022 15:30:08 +0800 Subject: [PATCH] Add doc sub package --- exempi.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/exempi.spec b/exempi.spec index 90cc180..6fa157c 100644 --- a/exempi.spec +++ b/exempi.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: Library for easy parsing of XMP metadata Name: exempi Version: 2.4.5 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} License: BSD Group: System Environment/Libraries URL: http://libopenraw.freedesktop.org/wiki/Exempi @@ -13,11 +14,24 @@ BuildRequires: boost-devel expat-devel zlib-devel pkgconfig BuildRequires: autoconf automake libtool Provides: bundled(md5-polstra) +Requires: glibc +Provides: /usr/bin/exempi + %description Exempi provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX and to be build with GNU automake. It includes XMPCore and XMPFiles. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + + %package devel Summary: Headers for developing programs that will use %{name} Group: Development/Libraries @@ -58,17 +72,22 @@ rm -rf %{buildroot}%{_libdir}/*.a %postun -p /sbin/ldconfig %files -%doc AUTHORS ChangeLog COPYING README %{_bindir}/exempi %{_libdir}/*.so.* %{_mandir}/man1/exempi.1* +%files doc +%doc AUTHORS ChangeLog COPYING README + %files devel %{_includedir}/exempi-2.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog +* Sat Jul 16 2022 mgb01105731 - 2.4.5-2.0.1 +- Add doc sub package + * Wed Sep 26 2018 Nikola Forró - 2.4.5-2 - Fix CVE-2018-12648 Resolves #1594644 -- Gitee