SHA256
1
0
forked from pool/uhttpmock

Accepting request 1002692 from GNOME:Next

GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already)

OBS-URL: https://build.opensuse.org/request/show/1002692
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/uhttpmock?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2022-09-13 07:36:48 +00:00 committed by Git OBS Bridge
parent ba4acd6453
commit 3a35e87ddb
4 changed files with 33 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90843223c3a30bdb7f1eb3442373a03fee425af85a9df289cd687698ccff112f
size 318708

3
uhttpmock-0.5.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c26362d6781e62e158debe4573c5ab7376f6d60223bc88817932efcbc66f9d1
size 47013

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Sep 5 09:42:34 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.5.5:
+ This release fixes the gtk-doc directory containing the version
number twice.
- Changes from version 0.5.4:
+ This new release drops support for autotools, by using the
meson build system, and older versions of libsoup 2.x.
- Add gtk-doc and meson BuildRequires and macros.
- Use ldconfig_scriptlets for post(un) handling.
- Update URL and Source to new home.
-------------------------------------------------------------------
Thu Feb 25 05:32:45 UTC 2021 - Wang Jun <jgwang@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package uhttpmock
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
@ -18,17 +18,20 @@
Name: uhttpmock
Version: 0.5.3
Version: 0.5.5
Release: 0
Summary: HTTP web service mocking library
License: LGPL-2.1-or-later
Group: Development/Tools/Other
URL: https://gitlab.com/uhttpmock/uhttpmock
Source0: https://tecnocode.co.uk/downloads/uhttpmock/%{name}-%{version}.tar.xz
URL: https://gitlab.freedesktop.org/pwithnall/uhttpmock
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libsoup-2.4) >= 2.47.3
BuildRequires: pkgconfig(vapigen)
@ -67,19 +70,20 @@ This package contains libraries, header files and documentation for
developing applications that use %{name}.
%prep
%setup -q
%autosetup -p1
%build
%configure \
--disable-static
make %{?_smp_mflags}
%meson \
-Dgtk_doc=true \
-Dintrospection=true \
-Dvapi=enabled \
%{nil}
%meson_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%meson_install
%post -n libuhttpmock-0_0-0 -p /sbin/ldconfig
%postun -n libuhttpmock-0_0-0 -p /sbin/ldconfig
%ldconfig_scriptlets -n libuhttpmock-0_0-0
%files -n libuhttpmock-0_0-0
%license COPYING