From 3a9b88c336d852260c17861946cacf6d83c5ebbaabd6420abccdb92dd77b7a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Sat, 5 Jan 2019 23:52:17 +0000 Subject: [PATCH] Accepting request 663082 from GNOME:Factory My bad, I was sure I was in GN working on this OBS-URL: https://build.opensuse.org/request/show/663082 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gssdp?expand=0&rev=84 --- baselibs.conf | 2 +- gssdp-1.0.2.tar.xz | 3 +++ gssdp-1.1.1.tar.xz | 3 --- gssdp.changes | 39 ---------------------------------- gssdp.spec | 53 ++++++++++++++++++---------------------------- 5 files changed, 25 insertions(+), 75 deletions(-) create mode 100644 gssdp-1.0.2.tar.xz delete mode 100644 gssdp-1.1.1.tar.xz diff --git a/baselibs.conf b/baselibs.conf index 178d45e..7d7b033 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libgssdp-1_2-0 +libgssdp-1_0-3 \ No newline at end of file diff --git a/gssdp-1.0.2.tar.xz b/gssdp-1.0.2.tar.xz new file mode 100644 index 0000000..d651502 --- /dev/null +++ b/gssdp-1.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1e17c09c7e1a185b0bd84fd6ff3794045a3cd729b707c23e422ff66471535dc +size 312352 diff --git a/gssdp-1.1.1.tar.xz b/gssdp-1.1.1.tar.xz deleted file mode 100644 index cd72191..0000000 --- a/gssdp-1.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:29b9191698490425dfc677d4d265ab47d2db0165abe7388ff1de0e3d459b9e77 -size 58608 diff --git a/gssdp.changes b/gssdp.changes index bf0455a..287628e 100644 --- a/gssdp.changes +++ b/gssdp.changes @@ -1,42 +1,3 @@ -------------------------------------------------------------------- -Sat Jan 5 20:32:15 UTC 2019 - bjorn.lie@gmail.com - -- Update to version 1.1.1: - + Fix a crash with sniffer. - + Fix pktinfo handling on OS X. - + Fix mssing network mask in GSSDPClient. - + Several build test simplifications. - + Add property for address family in GSSDPClient. - + Remove address family hack in sniffer. - + Add property for UDA version in GSSDPClient. -- Changes from version 1.1.0.1: - + Re-release of 1.1.0 because of meson tarball naming. -- Changes from version 1.1.0: - + Bump API and ABI versions. - + Port to new GLib type macros. - + Remove the custom marshaller. - + Make error enum a type. - + Drop deprecated properties and functions. - + Clean up Sniffer UI. - + Refactor get_host_ip into separate files. - + Use several GLib helper functions like g_clear_object etc. - + Fix deprecations with GTK 3.22 in sniffer. - + Port build system to Meson. - + Drop meta-data file and custom vala for vapi. - + Port sniffer to use UI from GResource. - + Make sniffer UI more GNOME 3 hig-ish. - + Some usability improvements for sniffer. - + Add rescan for sniffer. - + Introduce more debug logging while creating the GSSDP client. - + Recreate the socket sources on errors. - + Fix a memory leak in sniffer. - + Add IPv6 support. - + Have sniffer show the network interface. -- Switch to meson buildsystem, add meson and gtk-doc BuildRequires - and macros. -- Add soname and sover defines and set them to 1_2-0 and 1.2, make - future API and ABI bumps easier. - ------------------------------------------------------------------- Wed Feb 28 16:31:30 UTC 2018 - dimstar@opensuse.org diff --git a/gssdp.spec b/gssdp.spec index b43d287..929b09e 100644 --- a/gssdp.spec +++ b/gssdp.spec @@ -1,7 +1,7 @@ # # spec file for package gssdp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# When bumping soname, do not forget to bump in baselibs.conf too. -%define soname 1_2-0 -%define sover 1.2 - Name: gssdp -Version: 1.1.1 +Version: 1.0.2 Release: 0 Summary: Library for resource discovery and announcement over SSDP License: LGPL-2.0-or-later Group: Development/Libraries/C and C++ URL: http://www.gupnp.org/ -Source0: https://download.gnome.org/sources/gssdp/1.1/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gssdp/1.0/%{name}-%{version}.tar.xz Source1: baselibs.conf - -BuildRequires: gtk-doc -BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gobject-introspection-1.0) @@ -53,11 +46,11 @@ announcement over SSDP. This package contains a device sniffer. -%package -n libgssdp-%{soname} +%package -n libgssdp-1_0-3 Summary: Library for resource discovery and announcement over SSDP Group: Development/Libraries/C and C++ -%description -n libgssdp-%{soname} +%description -n libgssdp-1_0-3 gssdp offers a GObject-based API for handling resource discovery and announcement over SSDP. @@ -74,7 +67,7 @@ This package provides the GObject Introspection bindings for gssdp. %package -n libgssdp-devel Summary: Library for resource discovery and announcement over SSDP - Development Files Group: Development/Libraries/C and C++ -Requires: libgssdp-%{soname} = %{version} +Requires: libgssdp-1_0-3 = %{version} Requires: typelib-1_0-GSSDP-1_0 = %{version} %description -n libgssdp-devel @@ -82,45 +75,41 @@ gssdp offers a GObject-based API for handling resource discovery and announcement over SSDP. %prep -%autosetup -p1 +%setup -q %build -%meson \ - -Dgtk_doc=true \ - -Dsniffer=true \ - -Dintrospection=true \ - -Dvapi=true \ - -Dexamples=false \ - %{nil} -%meson_build +%configure --disable-static +make %{?_smp_mflags} %install -%meson_install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print -%post -n libgssdp-%{soname} -p /sbin/ldconfig -%postun -n libgssdp-%{soname} -p /sbin/ldconfig +%post -n libgssdp-1_0-3 -p /sbin/ldconfig +%postun -n libgssdp-1_0-3 -p /sbin/ldconfig %files utils %{_bindir}/* +%{_datadir}/%{name} -%files -n libgssdp-%{soname} +%files -n libgssdp-1_0-3 %license COPYING %doc AUTHORS NEWS README %{_libdir}/*.so.* %files -n typelib-1_0-GSSDP-1_0 -%{_libdir}/girepository-1.0/GSSDP-%{sover}.typelib +%{_libdir}/girepository-1.0/GSSDP-1.0.typelib %files -n libgssdp-devel -%{_includedir}/%{name}-%{sover}/ +%{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%{_datadir}/gir-1.0/GSSDP-%{sover}.gir +%{_datadir}/gir-1.0/GSSDP-1.0.gir %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/%{name} %dir %{_datadir}/vala/vapi -%{_datadir}/vala/vapi/gssdp-%{sover}.deps -%{_datadir}/vala/vapi/gssdp-%{sover}.vapi +%{_datadir}/vala/vapi/gssdp-1.0.deps +%{_datadir}/vala/vapi/gssdp-1.0.vapi %changelog