Update to 1.2.0 and port to gupnp-1.2
This commit is contained in:
parent
bedfcc1657
commit
88072ff3c7
Binary file not shown.
BIN
gupnp-igd-1.2.0.tar.xz
Normal file
BIN
gupnp-igd-1.2.0.tar.xz
Normal file
Binary file not shown.
@ -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 <wenlong.ding@turbolinux.com.cn> - 1.2.0-1
|
||||
- Update to 1.2.0
|
||||
|
||||
* Sat Oct 26 2019 Alex Chao <zhaolei746@huawei.com> - 0.2.5-6
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user