Update to 1.2.2

- Switch to the meson build system
This commit is contained in:
Kalev Lember 2020-03-12 11:25:46 +01:00
parent bba9005f77
commit 7584a5c9b5
3 changed files with 26 additions and 23 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/gupnp-1.0.2.tar.xz
/gupnp-1.0.3.tar.xz
/gupnp-1.0.4.tar.xz
/gupnp-1.2.2.tar.xz

View File

@ -1,18 +1,19 @@
Name: gupnp
Version: 1.0.4
Release: 3%{?dist}
Version: 1.2.2
Release: 1%{?dist}
Summary: A framework for creating UPnP devices & control points
License: LGPLv2+
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.2/%{name}-%{version}.tar.xz
BuildRequires: gssdp-devel >= 0.14.15
BuildRequires: gssdp-devel >= 1.1.3
BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel >= 1.36
BuildRequires: gobject-introspection-devel
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel
BuildRequires: libuuid-devel
BuildRequires: meson
BuildRequires: vala
Requires: dbus
@ -40,42 +41,43 @@ This package contains developer documentation for %{name}.
%prep
%setup -q
# Use Python 3
sed -i '1s|^#! /usr/bin/env python$|#!/usr/bin/python3|' tools/gupnp-binding-tool
%build
%configure --disable-static --with-context-manager=network-manager
make %{?_smp_mflags} V=1
%meson \
-Dcontext_manager=network-manager \
-Dgtk_doc=true
%meson_build
%install
%make_install
#Remove libtool archives.
find %{buildroot} -name '*.la' -delete
%meson_install
%check
make check %{?_smp_mflags} V=1
%meson_test
%ldconfig_scriptlets
%files
%license COPYING
%doc AUTHORS README
%{_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
%files devel
%{_bindir}/gupnp-binding-tool
%{_libdir}/pkgconfig/gupnp-1.0.pc
%{_libdir}/libgupnp-1.0.so
%{_includedir}/gupnp-1.0
%{_datadir}/gir-1.0/GUPnP-1.0.gir
%{_bindir}/gupnp-binding-tool-1.2
%{_includedir}/gupnp-1.2/
%{_libdir}/libgupnp-1.2.so
%{_libdir}/pkgconfig/gupnp-1.2.pc
%{_datadir}/gir-1.0/GUPnP-1.2.gir
%{_datadir}/vala/vapi/%{name}*
%{_mandir}/man1/gupnp-binding-tool-1.2.1*
%files docs
%doc %{_datadir}/gtk-doc/html/%{name}
%changelog
* Thu Mar 12 2020 Kalev Lember <klember@redhat.com> - 1.2.2-1
- Update to 1.2.2
- Switch to the meson build system
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gupnp-1.0.4.tar.xz) = 54a133ce043e9b3d5ea23041c04fbbf5483aea98a72421cdb59bada0ab2e3ab3fc85452c4c743b794eeb7c929f5ef38bf0e6ba7f9539d86182a77612c898205a
SHA512 (gupnp-1.2.2.tar.xz) = 08a715b06f30b9d9d11b914136f89b0c53d6b07b09dddf622619073fc6f144fc8d711eec28ede80fd14fc71a6addfe88de15740d0748302522ce71555fd18d2a