- Add db06bfa322.patch: add one more commit from upstream: [renderer] Fix pkgconfig dependency to GUPnP 1.2 OBS-URL: https://build.opensuse.org/request/show/1004694 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dleyna-renderer?expand=0&rev=16
91 lines
3.0 KiB
RPMSpec
91 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package dleyna-renderer
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: dleyna-renderer
|
|
Version: 0.7.2
|
|
Release: 0
|
|
Summary: Discover and manipulate Digital Media Renderers
|
|
License: LGPL-2.1-only
|
|
Group: System/Libraries
|
|
URL: https://github.com/phako/dleyna-renderer
|
|
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
# PATCH-FIX-UPSTREAM port-to-gupnp1_6.patch -- Fix build with gupnp 1.6
|
|
Patch0: port-to-gupnp1_6.patch
|
|
Patch1: https://gitlab.gnome.org/World/dLeyna/-/commit/db06bfa322.patch
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
BuildRequires: libxslt-tools
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(dleyna-core-1.0) >= 0.6.0
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.28
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
|
BuildRequires: pkgconfig(gssdp-1.6)
|
|
BuildRequires: pkgconfig(gupnp-1.6)
|
|
BuildRequires: pkgconfig(gupnp-av-1.0) >= 0.12.9
|
|
BuildRequires: pkgconfig(gupnp-dlna-2.0) >= 0.9.4
|
|
BuildRequires: pkgconfig(libsoup-3.0)
|
|
Provides: dbus(dleyna-renderer-service) = %{version}
|
|
Requires: dleyna-connector(dbus)
|
|
|
|
%description
|
|
dleyna-renderer is a library for implementing services that allow clients to discover and manipulate
|
|
Digital Media Renderers. An implementation of such a service for linux is also included
|
|
|
|
%package devel
|
|
Summary: Discover and manipulate Digital Media Renderers -- Development files
|
|
Group: Development/Languages/C and C++
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
dleyna-renderer is a library for implementing services that allow clients to discover and manipulate
|
|
Digital Media Renderers. An implementation of such a service for linux is also included
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson \
|
|
%{nil}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
# Remove spurious-executable-perm not needed, nor wanted
|
|
chmod -x ChangeLog
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc ChangeLog README.md
|
|
%{_mandir}/man5/dleyna-renderer-service.conf.5%{ext_man}
|
|
%dir %{_datadir}/dbus-1
|
|
%dir %{_datadir}/dbus-1/services
|
|
%{_datadir}/dbus-1/services/com.intel.dleyna-renderer.service
|
|
%dir %{_libdir}/%{name}
|
|
%{_libdir}/%{name}/libdleyna-renderer-1.0.so.*
|
|
%{_libexecdir}/dleyna-renderer-service
|
|
%config %{_sysconfdir}/dleyna-renderer-service.conf
|
|
|
|
%files devel
|
|
%{_includedir}/dleyna-1.0/
|
|
%{_libdir}/%{name}/libdleyna-renderer-1.0.so
|
|
%{_libdir}/pkgconfig/dleyna-renderer-service-1.0.pc
|
|
|
|
%changelog
|