libsoup/libsoup.spec

78 lines
1.9 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:58:14 -04:00
Name: libsoup
2021-01-27 14:15:27 +08:00
Version: 2.72.0
2019-09-30 10:58:14 -04:00
Release: 1
Summary: An HTTP library implementation
License: LGPLv2
URL: https://wiki.gnome.org/Projects/libsoup
2021-01-27 14:15:27 +08:00
Source0: https://download.gnome.org/sources/%{name}/2.72/%{name}-%{version}.tar.xz
2019-09-30 10:58:14 -04:00
BuildRequires: glib2-devel glib-networking krb5-devel gobject-introspection-devel gettext
2019-12-13 15:40:17 +08:00
BuildRequires: libxml2-devel libpsl-devel sqlite-devel vala gtk-doc meson libxslt
2021-01-27 14:15:27 +08:00
BuildRequires: samba-winbind-clients brotli-devel
BuildRequires: pkgconfig(sysprof-capture-4)
2019-09-30 10:58:14 -04:00
Requires: glib2 glib-networking
%description
libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop,
to integrate well with GNOME applications, and also has a synchronous API,
for use in threaded applications.
%package devel
Summary: Header files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson -Dgtk_doc=true
2019-09-30 10:58:14 -04:00
%meson_build
%install
%meson_install
%check
%meson_test
2019-09-30 10:58:14 -04:00
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING
%{_libdir}/*.so.*
%{_datadir}/locale/*
%{_libdir}/girepository-1.0/Soup*2.4.typelib
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}*-2.4
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/Soup*2.4.gir
%{_datadir}/vala/vapi/libsoup-2.4.*
%files help
%defattr(-,root,root)
%doc README NEWS
%{_datadir}/gtk-doc/html/libsoup-2.4/*
2019-09-30 10:58:14 -04:00
%changelog
2021-01-27 14:15:27 +08:00
* Wed Jan 27 2021 hanhui <hanhui15@huawei.com> - 2.72.0-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update to 2.72.0
* Thu Jul 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.71.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.71.0
2019-09-30 10:58:14 -04:00
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.66.1-1
- Package init