add librest0.7 to fix other-package compile error
This commit is contained in:
parent
75e7c41848
commit
8d6ad3896b
BIN
librest0.7_aarch.tar.xz
Normal file
BIN
librest0.7_aarch.tar.xz
Normal file
Binary file not shown.
BIN
librest0.7_x86.tar.xz
Normal file
BIN
librest0.7_x86.tar.xz
Normal file
Binary file not shown.
20
rest.spec
20
rest.spec
@ -1,10 +1,17 @@
|
|||||||
Name: rest
|
Name: rest
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A library for access to RESTful web services
|
Summary: A library for access to RESTful web services
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://www.gnome.org
|
URL: https://www.gnome.org
|
||||||
Source0: https://download.gnome.org/sources/%{name}/0.8/%{name}-%{version}.tar.xz
|
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: glib2-devel libsoup3-devel libxml2-devel gobject-introspection-devel
|
||||||
BuildRequires: gtk-doc autoconf automake libtool libxslt meson libadwaita-devel gtksourceview5-devel gi-docgen
|
BuildRequires: gtk-doc autoconf automake libtool libxslt meson libadwaita-devel gtksourceview5-devel gi-docgen
|
||||||
|
|
||||||
@ -30,6 +37,7 @@ Demo application for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
%setup -T -D -q -b 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
@ -38,6 +46,8 @@ Demo application for %{name}.
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
\cp %{_builddir}/%{name}-%{version}/usr/* %{buildroot}/usr -r
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -48,6 +58,8 @@ Demo application for %{name}.
|
|||||||
%{_libdir}/librest-extras-1.0.so.*
|
%{_libdir}/librest-extras-1.0.so.*
|
||||||
%{_libdir}/girepository-1.0/Rest-*
|
%{_libdir}/girepository-1.0/Rest-*
|
||||||
%{_libdir}/girepository-1.0/RestExtras-*
|
%{_libdir}/girepository-1.0/RestExtras-*
|
||||||
|
%{_libdir}/librest-0.7.so.*
|
||||||
|
%{_libdir}/librest-extras-0.7.so.*
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%{_datadir}/applications/org.gnome.RestDemo.desktop
|
%{_datadir}/applications/org.gnome.RestDemo.desktop
|
||||||
@ -62,8 +74,14 @@ Demo application for %{name}.
|
|||||||
%{_datadir}/gir-1.0/RestExtras-*
|
%{_datadir}/gir-1.0/RestExtras-*
|
||||||
%{_libdir}/pkgconfig/rest*
|
%{_libdir}/pkgconfig/rest*
|
||||||
%{_datadir}/doc/librest-1.0/
|
%{_datadir}/doc/librest-1.0/
|
||||||
|
%{_includedir}/rest-0.7
|
||||||
|
%{_libdir}/librest-0.7.so
|
||||||
|
%{_libdir}/librest-extras-0.7.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 28 2022 fushanqing <fushanqing@kylinos.cn> - 0.9.1-1
|
||||||
- update rest to 0.9.1
|
- update rest to 0.9.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user