diff --git a/uhttpmock-0.5.3.tar.xz b/uhttpmock-0.5.3.tar.xz deleted file mode 100644 index e4ec5ec..0000000 --- a/uhttpmock-0.5.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90843223c3a30bdb7f1eb3442373a03fee425af85a9df289cd687698ccff112f -size 318708 diff --git a/uhttpmock-0.5.5.tar.bz2 b/uhttpmock-0.5.5.tar.bz2 new file mode 100644 index 0000000..e9f8fd2 --- /dev/null +++ b/uhttpmock-0.5.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c26362d6781e62e158debe4573c5ab7376f6d60223bc88817932efcbc66f9d1 +size 47013 diff --git a/uhttpmock.changes b/uhttpmock.changes index 8c9761d..d7c02cf 100644 --- a/uhttpmock.changes +++ b/uhttpmock.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Sep 5 09:42:34 UTC 2022 - Bjørn Lie + +- 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 diff --git a/uhttpmock.spec b/uhttpmock.spec index 138e177..6ec56ee 100644 --- a/uhttpmock.spec +++ b/uhttpmock.spec @@ -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