Revert back to 1.0.3

Almost none of the dependant packages seem to be ready for gssdp and
gupnp 1.2 API version bumps. This commit simply reverts back to the
previous version as the new builds never got shipped in f30/rawhide.

This reverts commit f1a411309f.
This reverts commit 5ea20159c2.
This commit is contained in:
Kalev Lember 2019-02-25 14:13:57 +01:00
parent f1a411309f
commit 4396fb761e
3 changed files with 20 additions and 28 deletions

1
.gitignore vendored
View File

@ -3,4 +3,3 @@
/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,20 +1,18 @@
Name: gupnp Name: gupnp
Version: 1.1.2 Version: 1.0.3
Release: 1%{?dist} Release: 2%{?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.1/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
BuildRequires: gupnp 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
@ -42,20 +40,21 @@ 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
%meson \ %configure --disable-static --with-context-manager=network-manager
-Dcontext_manager=network-manager \ make %{?_smp_mflags} V=1
-Dgtk_doc=true
%meson_build
%install %install
%meson_install %make_install
# Temporary ABI compatibility with the old soname #Remove libtool archives.
cp -a %{_libdir}/libgupnp-1.0.so.* $RPM_BUILD_ROOT%{_libdir}/ find %{buildroot} -name '*.la' -delete
%check %check
%meson_test make check %{?_smp_mflags} V=1
%ldconfig_scriptlets %ldconfig_scriptlets
@ -63,26 +62,20 @@ cp -a %{_libdir}/libgupnp-1.0.so.* $RPM_BUILD_ROOT%{_libdir}/
%license COPYING %license COPYING
%doc AUTHORS README %doc AUTHORS README
%{_libdir}/libgupnp-1.0.so.* %{_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-1.2 %{_bindir}/gupnp-binding-tool
%{_libdir}/pkgconfig/gupnp-1.2.pc %{_libdir}/pkgconfig/gupnp-1.0.pc
%{_libdir}/libgupnp-1.2.so %{_libdir}/libgupnp-1.0.so
%{_includedir}/gupnp-1.2 %{_includedir}/gupnp-1.0
%{_datadir}/gir-1.0/GUPnP-1.2.gir %{_datadir}/gir-1.0/GUPnP-1.0.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
- Ship old soname for temporary ABI compatibility
* 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.1.2.tar.xz) = e350e3667fa028bb9d863e5b94b8b33a7ec938b21a02ccf292be065e32f8915824db42fc053142d80088da4f0c09ac444fc8abac7519372f7414d0f8aa9516d1 SHA512 (gupnp-1.0.3.tar.xz) = f256757ddf1a31f1dc93dc138401329e40aa063e7452dccaabe53682eebcb1b98cb6429c01d806290587ca9d01d91afce0603627d2d8675ddb68ef919efb6448