diff --git a/gupnp-igd-1.2.0.tar.xz b/gupnp-igd-1.2.0.tar.xz deleted file mode 100644 index 270af5d..0000000 Binary files a/gupnp-igd-1.2.0.tar.xz and /dev/null differ diff --git a/gupnp-igd-1.6.0.tar.xz b/gupnp-igd-1.6.0.tar.xz new file mode 100644 index 0000000..168b055 Binary files /dev/null and b/gupnp-igd-1.6.0.tar.xz differ diff --git a/gupnp-igd.spec b/gupnp-igd.spec index c8a921c..9fbf8a0 100644 --- a/gupnp-igd.spec +++ b/gupnp-igd.spec @@ -1,12 +1,14 @@ Name: gupnp-igd -Version: 1.2.0 +Version: 1.6.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}/1.2/%{name}-%{version}.tar.xz -BuildRequires: glib2-devel gobject-introspection-devel gtk-doc gupnp-devel meson +BuildRequires: glib2-devel gobject-introspection-devel gtk-doc meson +BuildRequires: cmake +BuildRequires: gupnp-devel Provides: %{name}-python = %{version}-%{release} %{name}-python2 = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} %{name}-python2 < %{version}-%{release} @@ -31,25 +33,31 @@ This package contains libraries and header files for developing applications tha %install %meson_install +cp %{_libdir}/libgupnp-igd-1.0.so.* %{buildroot}%{_libdir}/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + + %files %license COPYING %doc README %{_libdir}/*.so.* -%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib +%{_libdir}/girepository-1.0/GUPnPIgd-1.6.typelib %files devel %{_includedir}/* %{_libdir}/*.so -%{_libdir}/pkgconfig/%{name}-1.0*.pc +%{_libdir}/pkgconfig/%{name}-1.6*.pc %{_datadir}/gtk-doc/html/%{name}/ -%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir +%{_datadir}/gir-1.0/GUPnPIgd-1.6.gir %changelog +* Mon Aug 07 2023 xu_ping <707078654@qq.com> - 1.6.0-1 +- Update version to 1.6.0 + * Thu Jun 24 2021 Wenlong Ding - 1.2.0-1 - Update to 1.2.0