Update to 2.65.2

- Switch to the meson build system
This commit is contained in:
Kalev Lember 2019-01-23 21:07:26 +01:00
parent 646b141326
commit 1d7db8340c
3 changed files with 14 additions and 17 deletions

1
.gitignore vendored
View File

@ -99,3 +99,4 @@ libsoup-2.31.6.tar.bz2
/libsoup-2.64.0.tar.xz
/libsoup-2.64.1.tar.xz
/libsoup-2.65.1.tar.xz
/libsoup-2.65.2.tar.xz

View File

@ -1,7 +1,7 @@
%define glib2_version 2.38.0
Name: libsoup
Version: 2.65.1
Version: 2.65.2
Release: 1%{?dist}
Summary: Soup, an HTTP library implementation
@ -9,11 +9,12 @@ License: LGPLv2
URL: https://wiki.gnome.org/Projects/libsoup
Source0: https://download.gnome.org/sources/%{name}/2.65/%{name}-%{version}.tar.xz
BuildRequires: chrpath
BuildRequires: gettext
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: glib-networking
BuildRequires: intltool
BuildRequires: krb5-devel >= 1.11
BuildRequires: gtk-doc
BuildRequires: krb5-devel
BuildRequires: meson
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libpsl)
@ -46,20 +47,11 @@ you to develop applications that use the libsoup library.
%autosetup -p1
%build
%configure --disable-static
# Omit unused direct shared library dependencies.
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags}
%meson -Ddoc=true
%meson_build
%install
%make_install
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
# Remove lib64 rpaths
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
%meson_install
%find_lang libsoup
@ -82,6 +74,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
%{_datadir}/vala/vapi/libsoup-2.4.vapi
%changelog
* Wed Jan 23 2019 Kalev Lember <klember@redhat.com> - 2.65.2-1
- Update to 2.65.2
- Switch to the meson build system
* Tue Oct 09 2018 Kalev Lember <klember@redhat.com> - 2.65.1-1
- Update to 2.65.1

View File

@ -1 +1 @@
SHA512 (libsoup-2.65.1.tar.xz) = 73b23c75905477ff2df9988f0da5d93a88fc22dc5b132e65284a66d41de5aac78f030231840837580fa71216b278732bcc3c5b3e64d3632d92978d4bee7c8640
SHA512 (libsoup-2.65.2.tar.xz) = 857e42d1c7d9f43e73747b94697553789304e21eb1ef1b92764efccf296023e24eb2cad50257b0592853f75f6a4abc3040c442891545484a6b52a1357ef4dff0