rest/rest.spec
2022-11-02 17:19:09 +08:00

81 lines
1.8 KiB
RPMSpec

Name: rest
Version: 0.9.0
Release: 1
Summary: A library for access to RESTful web services
License: LGPLv2
URL: https://www.gnome.org
Source0: https://download.gnome.org/sources/%{name}/0.9/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: glib2-devel libsoup-devel libxml2-devel gobject-introspection-devel
BuildRequires: gi-docgen json-glib-devel meson
%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.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING
%{_libdir}/librest*1.0.so.0*
%{_libdir}/girepository-1.0/Rest*1.0.typelib
%files devel
%defattr(-,root,root)
%{_includedir}/rest-1.0
%{_libdir}/librest*1.0.so
%{_datadir}/gir-1.0/Rest*1.0.gir
%{_libdir}/pkgconfig/rest*
%files help
%defattr(-,root,root)
%doc README
%{_datadir}/doc/librest-1.0
%changelog
* Wed Nov 2 2022 seuzw <930zhaowei@163.com> - 0.9.0-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: upgrade to version 0.9.0
* 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
* 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