From 50d20d8f1ae9134e61e4c302b1764c34b7d79984 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:34:04 +0100 Subject: [PATCH] update to 1.2.2 [release 1.2.2-1mamba;Mon Apr 20 2020] --- libgupnp.spec | 61 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/libgupnp.spec b/libgupnp.spec index d244e6e..27005b3 100644 --- a/libgupnp.spec +++ b/libgupnp.spec @@ -1,6 +1,6 @@ %define majver %(echo %version | cut -d. -f1-2) Name: libgupnp -Version: 1.0.3 +Version: 1.2.2 Release: 1mamba Summary: An object-oriented open source framework for creating UPnP devices and control points Group: System/Libraries @@ -12,17 +12,12 @@ Source: ftp://ftp.gnome.org/pub/gnome/sources/gupnp/%{majver}/gupnp-%{ver License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libgcrypt-devel +BuildRequires: ldconfig BuildRequires: libglib-devel -BuildRequires: libgnutls-devel -BuildRequires: libgpg-error-devel BuildRequires: libgssdp-devel -BuildRequires: libselinux-devel BuildRequires: libsoup-devel -BuildRequires: libtasn1-devel BuildRequires: libuuid-devel BuildRequires: libxml2-devel -BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -39,18 +34,33 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} GUPnP is an object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. GUPnP implements the UPnP specification: resource announcement and discovery, description, control, event notification, and presentation (GUPnP includes basic web server functionality through libsoup). GUPnP does not include helpers for construction or control of specific standardized resources (e.g. MediaServer); this is left for higher level libraries utilizing the GUPnP framework. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. + +%package tools +Summary: Tools package for %{name} +Group: System/Tools +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +GUPnP is an object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. +GUPnP implements the UPnP specification: resource announcement and discovery, description, control, event notification, and presentation (GUPnP includes basic web server functionality through libsoup). GUPnP does not include helpers for construction or control of specific standardized resources (e.g. MediaServer); this is left for higher level libraries utilizing the GUPnP framework. + +This package contains tools provided with %{name}. + +%debug_package %prep %setup -q -n gupnp-%{version} %build -%configure -%make +%meson \ + -Dgtk_doc=true + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -61,27 +71,32 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_bindir}/gupnp-binding-tool -%{_libdir}/libgupnp-1.0.so.* -%{_libdir}/girepository-1.0/GUPnP-1.0.typelib +%{_libdir}/libgupnp-1.2.so.* +%{_libdir}/girepository-1.0/GUPnP-1.2.typelib %doc AUTHORS COPYING +%files tools +%defattr(-,root,root) +%{_bindir}/gupnp-binding-tool-1.2 +%{_mandir}/man1/gupnp-binding-tool-1.2.1* + %files devel %defattr(-,root,root) -%dir %{_includedir}/gupnp-1.0 -%dir %{_includedir}/gupnp-1.0/libgupnp -%{_includedir}/gupnp-1.0/libgupnp/*.h -%{_libdir}/libgupnp-1.0.a -%{_libdir}/libgupnp-1.0.la -%{_libdir}/libgupnp-1.0.so +%dir %{_includedir}/gupnp-1.2 +%dir %{_includedir}/gupnp-1.2/libgupnp +%{_includedir}/gupnp-1.2/libgupnp/*.h +%{_libdir}/libgupnp-1.2.so %{_datadir}/gtk-doc/html/gupnp/* -%{_datadir}/gir-1.0/GUPnP-1.0.gir -%{_datadir}/vala/vapi/gupnp-1.0.deps -%{_datadir}/vala/vapi/gupnp-1.0.vapi +%{_datadir}/gir-1.0/GUPnP-1.2.gir +%{_datadir}/vala/vapi/gupnp-1.2.deps +%{_datadir}/vala/vapi/gupnp-1.2.vapi %{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS README %changelog +* Mon Apr 20 2020 Silvan Calarco 1.2.2-1mamba +- update to 1.2.2 + * Tue Jul 31 2018 Automatic Build System 1.0.3-1mamba - automatic version update by autodist