gupnp-igd/gupnp-igd.spec
lyn1001 9e0c3c7224 Remove old so
(cherry picked from commit 707783d675807a5208c82a9cf9f096ad8f8170ee)
2024-03-11 09:35:27 +08:00

68 lines
1.6 KiB
RPMSpec

Name: gupnp-igd
Version: 1.6.0
Release: 2
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 meson
BuildRequires: cmake
BuildRequires: gupnp-devel
Provides: %{name}-python = %{version}-%{release} %{name}-python2 = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release} %{name}-python2 < %{version}-%{release}
%description
%{name} is a library for handling UPnP IGD port mapping.
%package devel
Summary: Development files for gupnp-igd
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
This package contains libraries and header files for developing applications that use gupnp-igd.
%prep
%autosetup -p1
%build
%meson -Dgtk_doc=true
%meson_build
%install
%meson_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc README
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/GUPnPIgd-1.6.typelib
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}-1.6*.pc
%{_datadir}/gtk-doc/html/%{name}/
%{_datadir}/gir-1.0/GUPnPIgd-1.6.gir
%changelog
* Thu Mar 7 2024 liyanan <liyanan61@h-partners.com> - 1.6.0-2
- Remove old so
* 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 <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