From 4e6b77fc44e661fa31607bf9a3b26292b3505f7e Mon Sep 17 00:00:00 2001 From: yuanhui Date: Wed, 15 Mar 2023 19:25:54 +0800 Subject: [PATCH] Add doc and abi files Signed-off-by: yuanhui --- libimobiledevice.spec | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/libimobiledevice.spec b/libimobiledevice.spec index b0a1529..25bed53 100644 --- a/libimobiledevice.spec +++ b/libimobiledevice.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libimobiledevice Version: 1.3.0 Release: %{anolis_release}%{?dist} @@ -40,6 +40,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description utils Utilites for use with libimobiledevice. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -S git_am -n %{name}-%{version} @@ -61,17 +69,19 @@ make install DESTDIR=%{buildroot} #Remove libtool archives. find %{buildroot} -type f -name "*.la" -delete -%ldconfig_scriptlets +%generate_compatibility_deps %files %{!?_licensedir:%global license %%doc} %license COPYING.LESSER -%doc AUTHORS README.md +%dir %{abidir} %{_libdir}/libimobiledevice-1.0.so.6* +%{abidir}/libimobiledevice-1.0.dump %files utils %doc %{_datadir}/man/man1/idevice* %{_bindir}/idevice* +%{abidir}/idevice*-option.list %files devel %doc docs/html/ @@ -79,7 +89,13 @@ find %{buildroot} -type f -name "*.la" -delete %{_libdir}/libimobiledevice-1.0.so %{_includedir}/libimobiledevice/ +%files doc +%doc AUTHORS README.md NEWS + %changelog +* Wed Mar 15 2023 yuanhui - 1.3.0-2 +- Add doc and abi files + * Wed Apr 06 2022 mgb01105731 - 1.3.0-1 - Init from upstream version 1.3.0 -- Gitee