diff --git a/gupnp-igd-0.2.5.tar.xz b/gupnp-igd-0.2.5.tar.xz deleted file mode 100644 index 85a9a7d..0000000 Binary files a/gupnp-igd-0.2.5.tar.xz and /dev/null differ diff --git a/gupnp-igd-1.2.0.tar.xz b/gupnp-igd-1.2.0.tar.xz new file mode 100644 index 0000000..270af5d Binary files /dev/null and b/gupnp-igd-1.2.0.tar.xz differ diff --git a/gupnp-igd.spec b/gupnp-igd.spec index e4db1ef..c8a921c 100644 --- a/gupnp-igd.spec +++ b/gupnp-igd.spec @@ -1,12 +1,12 @@ Name: gupnp-igd -Version: 0.2.5 -Release: 6 +Version: 1.2.0 +Release: 1 Summary: Library for handling port mapping between UPnP and IGD License: LGPLv2+ URL: https://wiki.gnome.org/Projects/GUPnP -Source0: https://download.gnome.org/sources/%{name}/0.2/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/1.2/%{name}-%{version}.tar.xz -BuildRequires: glib2-devel gobject-introspection-devel gupnp-devel +BuildRequires: glib2-devel gobject-introspection-devel gtk-doc gupnp-devel meson Provides: %{name}-python = %{version}-%{release} %{name}-python2 = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} %{name}-python2 < %{version}-%{release} @@ -22,16 +22,14 @@ Requires: %{name} = %{version}-%{release} pkgconfig This package contains libraries and header files for developing applications that use gupnp-igd. %prep -%autosetup -n %{name}-%{version} -p1 +%autosetup -p1 %build -%configure --disable-static --disable-python --enable-introspection=yes -sed -i -e 's$ -shared $ -Wl,--as-needed\0$g' libtool -%make_build LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" +%meson -Dgtk_doc=true +%meson_build %install -%make_install -%delete_la +%meson_install %post -p /sbin/ldconfig @@ -43,7 +41,7 @@ sed -i -e 's$ -shared $ -Wl,--as-needed\0$g' libtool %{_libdir}/*.so.* %{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib -%files devel +%files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}-1.0*.pc @@ -52,5 +50,8 @@ sed -i -e 's$ -shared $ -Wl,--as-needed\0$g' libtool %changelog +* Thu Jun 24 2021 Wenlong Ding - 1.2.0-1 +- Update to 1.2.0 + * Sat Oct 26 2019 Alex Chao - 0.2.5-6 - Package init