2019-09-30 11:16:21 -04:00
|
|
|
Name: rest
|
2023-02-01 19:31:50 +08:00
|
|
|
Version: 0.9.1
|
|
|
|
|
Release: 1
|
2019-09-30 11:16:21 -04:00
|
|
|
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
|
2023-02-01 19:31:50 +08:00
|
|
|
BuildRequires: glib2-devel libsoup3-devel libxml2-devel gobject-introspection-devel
|
|
|
|
|
BuildRequires: gtk-doc autoconf automake libtool libxslt meson libadwaita-devel gtksourceview5-devel gi-docgen
|
2019-09-30 11:16:21 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This library has been designed to make it easier to access web services that
|
|
|
|
|
claim to be "RESTful". It comprises of two parts: the first aims to make it
|
|
|
|
|
easier to make requests by providing a wrapper around libsoup, the second
|
|
|
|
|
aids with XML parsing by wrapping libxml2.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for rest
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package is the development files for rest.
|
|
|
|
|
|
2023-01-04 14:53:54 +08:00
|
|
|
%package_help
|
2019-09-30 11:16:21 -04:00
|
|
|
|
2023-02-01 19:31:50 +08:00
|
|
|
%package demo
|
|
|
|
|
Summary: Demo application for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description demo
|
|
|
|
|
Demo application for %{name}.
|
|
|
|
|
|
2019-09-30 11:16:21 -04:00
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2023-02-01 19:31:50 +08:00
|
|
|
%meson
|
|
|
|
|
%meson_build
|
2019-09-30 11:16:21 -04:00
|
|
|
|
2023-01-04 14:53:54 +08:00
|
|
|
%install
|
2023-02-01 19:31:50 +08:00
|
|
|
%meson_install
|
2022-12-12 14:39:33 +08:00
|
|
|
|
2019-09-30 11:16:21 -04:00
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%license COPYING
|
2023-02-01 19:31:50 +08:00
|
|
|
%{_libdir}/librest-1.0.so.*
|
|
|
|
|
%{_libdir}/librest-extras-1.0.so.*
|
2023-01-04 14:53:54 +08:00
|
|
|
%{_libdir}/girepository-1.0/Rest-*
|
|
|
|
|
%{_libdir}/girepository-1.0/RestExtras-*
|
2019-09-30 11:16:21 -04:00
|
|
|
|
2023-02-01 19:31:50 +08:00
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_datadir}/doc/librest-1.0
|
|
|
|
|
|
|
|
|
|
%files demo
|
|
|
|
|
%{_datadir}/applications/org.gnome.RestDemo.desktop
|
|
|
|
|
%{_bindir}/librest-demo
|
2019-09-30 11:16:21 -04:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2023-02-01 19:31:50 +08:00
|
|
|
%{_includedir}/rest-1.0
|
|
|
|
|
%{_libdir}/librest-1.0.so
|
|
|
|
|
%{_libdir}/librest-extras-1.0.so
|
2023-01-04 14:53:54 +08:00
|
|
|
%{_datadir}/gir-1.0/Rest-*
|
|
|
|
|
%{_datadir}/gir-1.0/RestExtras-*
|
|
|
|
|
%{_libdir}/pkgconfig/rest*
|
2023-02-01 19:31:50 +08:00
|
|
|
%{_datadir}/doc/librest-1.0/
|
2022-12-12 14:39:33 +08:00
|
|
|
|
2023-01-04 14:53:54 +08:00
|
|
|
%changelog
|
2023-02-01 19:31:50 +08:00
|
|
|
* Thu Jul 28 2022 fushanqing <fushanqing@kylinos.cn> - 0.9.1-1
|
|
|
|
|
- update rest to 0.9.1
|
|
|
|
|
|
2023-01-04 14:53:54 +08:00
|
|
|
* Wed Nov 09 2022 zhouyihang <zhouyihang3@h-partners.com> - 0.8.1-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:xml do not crash parsing empty XML string
|
2022-07-28 12:23:15 +08:00
|
|
|
|
2019-12-13 16:06:54 +08:00
|
|
|
* Sat Nov 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.1-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add the libxslt in buildrequires
|
|
|
|
|
|
2019-09-30 11:16:21 -04:00
|
|
|
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.1-6
|
|
|
|
|
- Type: enhancement
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: rebuilt spec, add help package
|
|
|
|
|
|
|
|
|
|
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.1-5
|
|
|
|
|
- Package init
|