Update to 1.1.2

- Switch to the meson build system
This commit is contained in:
Kalev Lember 2019-02-25 12:46:59 +01:00
parent 869db287bf
commit 5ea20159c2
3 changed files with 24 additions and 22 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/gupnp-1.0.1.tar.xz /gupnp-1.0.1.tar.xz
/gupnp-1.0.2.tar.xz /gupnp-1.0.2.tar.xz
/gupnp-1.0.3.tar.xz /gupnp-1.0.3.tar.xz
/gupnp-1.1.2.tar.xz

View File

@ -1,18 +1,19 @@
Name: gupnp Name: gupnp
Version: 1.0.3 Version: 1.1.2
Release: 2%{?dist} Release: 1%{?dist}
Summary: A framework for creating UPnP devices & control points Summary: A framework for creating UPnP devices & control points
License: LGPLv2+ License: LGPLv2+
URL: http://www.gupnp.org/ URL: http://www.gupnp.org/
Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/%{name}/1.1/%{name}-%{version}.tar.xz
BuildRequires: gssdp-devel >= 0.14.15 BuildRequires: gssdp-devel >= 1.1
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel >= 1.36 BuildRequires: gobject-introspection-devel >= 1.36
BuildRequires: libsoup-devel BuildRequires: libsoup-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: meson
BuildRequires: vala BuildRequires: vala
Requires: dbus Requires: dbus
@ -40,42 +41,42 @@ This package contains developer documentation for %{name}.
%prep %prep
%setup -q %setup -q
# Use Python 3
sed -i '1s|^#! /usr/bin/env python$|#!/usr/bin/python3|' tools/gupnp-binding-tool
%build %build
%configure --disable-static --with-context-manager=network-manager %meson \
make %{?_smp_mflags} V=1 -Dcontext_manager=network-manager \
-Dgtk_doc=true
%meson_build
%install %install
%make_install %meson_install
#Remove libtool archives.
find %{buildroot} -name '*.la' -delete
%check %check
make check %{?_smp_mflags} V=1 %meson_test
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%license COPYING %license COPYING
%doc AUTHORS README %doc AUTHORS README
%{_libdir}/libgupnp-1.0.so.* %{_libdir}/libgupnp-1.2.so.*
%{_libdir}/girepository-1.0/GUPnP-1.0.typelib %{_libdir}/girepository-1.0/GUPnP-1.2.typelib
%files devel %files devel
%{_bindir}/gupnp-binding-tool %{_bindir}/gupnp-binding-tool-1.2
%{_libdir}/pkgconfig/gupnp-1.0.pc %{_libdir}/pkgconfig/gupnp-1.2.pc
%{_libdir}/libgupnp-1.0.so %{_libdir}/libgupnp-1.2.so
%{_includedir}/gupnp-1.0 %{_includedir}/gupnp-1.2
%{_datadir}/gir-1.0/GUPnP-1.0.gir %{_datadir}/gir-1.0/GUPnP-1.2.gir
%{_datadir}/vala/vapi/%{name}* %{_datadir}/vala/vapi/%{name}*
%files docs %files docs
%doc %{_datadir}/gtk-doc/html/%{name} %doc %{_datadir}/gtk-doc/html/%{name}
%changelog %changelog
* Mon Feb 25 2019 Kalev Lember <klember@redhat.com> - 1.1.2-1
- Update to 1.1.2
- Switch to the meson build system
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gupnp-1.0.3.tar.xz) = f256757ddf1a31f1dc93dc138401329e40aa063e7452dccaabe53682eebcb1b98cb6429c01d806290587ca9d01d91afce0603627d2d8675ddb68ef919efb6448 SHA512 (gupnp-1.1.2.tar.xz) = e350e3667fa028bb9d863e5b94b8b33a7ec938b21a02ccf292be065e32f8915824db42fc053142d80088da4f0c09ac444fc8abac7519372f7414d0f8aa9516d1