add librest0.7 to fix other-package compile error

This commit is contained in:
peijiankang 2022-12-12 14:39:33 +08:00
parent 75e7c41848
commit 8d6ad3896b
3 changed files with 19 additions and 1 deletions

BIN
librest0.7_aarch.tar.xz Normal file

Binary file not shown.

BIN
librest0.7_x86.tar.xz Normal file

Binary file not shown.

View File

@ -1,10 +1,17 @@
Name: rest
Version: 0.9.1
Release: 1
Release: 2
Summary: A library for access to RESTful web services
License: LGPLv2
URL: https://www.gnome.org
Source0: https://download.gnome.org/sources/%{name}/0.8/%{name}-%{version}.tar.xz
%ifarch x86_64
Source1: librest0.7_x86.tar.xz
%endif
%ifarch aarch64
Source1: librest0.7_aarch.tar.xz
%endif
BuildRequires: glib2-devel libsoup3-devel libxml2-devel gobject-introspection-devel
BuildRequires: gtk-doc autoconf automake libtool libxslt meson libadwaita-devel gtksourceview5-devel gi-docgen
@ -30,6 +37,7 @@ Demo application for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%setup -T -D -q -b 1
%build
%meson
@ -38,6 +46,8 @@ Demo application for %{name}.
%install
%meson_install
\cp %{_builddir}/%{name}-%{version}/usr/* %{buildroot}/usr -r
%ldconfig_scriptlets
%files
@ -48,6 +58,8 @@ Demo application for %{name}.
%{_libdir}/librest-extras-1.0.so.*
%{_libdir}/girepository-1.0/Rest-*
%{_libdir}/girepository-1.0/RestExtras-*
%{_libdir}/librest-0.7.so.*
%{_libdir}/librest-extras-0.7.so.*
%files demo
%{_datadir}/applications/org.gnome.RestDemo.desktop
@ -62,8 +74,14 @@ Demo application for %{name}.
%{_datadir}/gir-1.0/RestExtras-*
%{_libdir}/pkgconfig/rest*
%{_datadir}/doc/librest-1.0/
%{_includedir}/rest-0.7
%{_libdir}/librest-0.7.so
%{_libdir}/librest-extras-0.7.so
%changelog
* Mon Dec 12 2022 peijiankang <peijiankang@kylinos.cn> - 0.9.1-2
- add librest0.7 to fix other-package compile error
* Thu Jul 28 2022 fushanqing <fushanqing@kylinos.cn> - 0.9.1-1
- update rest to 0.9.1