Files
dleyna-core/dleyna-core.spec
Dominique Leuenberger 263a93b3ee Accepting request 1002700 from GNOME:Next
GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already)

OBS-URL: https://build.opensuse.org/request/show/1002700
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dleyna-core?expand=0&rev=16
2022-09-13 08:37:19 +00:00

91 lines
3.0 KiB
RPMSpec

#
# spec file for package dleyna-core
#
# 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/
#
%define _sover 6
Name: dleyna-core
Version: 0.7.0
Release: 0
Summary: Utility functions used by higher level dLeyna libraries
License: LGPL-2.1-only
Group: Productivity/Multimedia/Other
URL: https://github.com/phako/dleyna-core
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM port-to-gupnp-1_6.patch -- Backport of commits to support gpup-1.6
Patch: port-to-gupnp-1_6.patch
BuildRequires: meson >= 0.54.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.28
BuildRequires: pkgconfig(glib-2.0) >= 2.28
BuildRequires: pkgconfig(gmodule-2.0) >= 2.28
BuildRequires: pkgconfig(gupnp-1.6)
%description
dleyna-core is a library of utility functions that are used by the higher level dLeyna libraries that
communicate with DLNA devices, e.g., dleyna-server.
In brief, it provides APIs for logging, error, settings and task management and an IPC abstraction API.
%package -n libdleyna-core-1_0-%{_sover}
Summary: Utility functions used by higher level dLeyna libraries
Group: System/Libraries
%description -n libdleyna-core-1_0-%{_sover}
dleyna-core is a library of utility functions that are used by the higher level dLeyna libraries that
communicate with DLNA devices, e.g., dleyna-server.
In brief, it provides APIs for logging, error, settings and task management and an IPC abstraction API.
%package devel
Summary: Development files for the dLeyna libraries
Group: Development/Languages/C and C++
Requires: libdleyna-core-1_0-%{_sover} = %{version}
%description devel
dleyna-core is a library of utility functions that are used by the higher level dLeyna libraries that
communicate with DLNA devices, e.g., dleyna-server.
In brief, it provides APIs for logging, error, settings and task management and an IPC abstraction API.
%prep
%autosetup -p1
%build
%meson \
%{nil}
%meson_build
%install
%meson_install
%post -n libdleyna-core-1_0-%{_sover} -p /sbin/ldconfig
%postun -n libdleyna-core-1_0-%{_sover} -p /sbin/ldconfig
%files -n libdleyna-core-1_0-%{_sover}
%license COPYING
%{_libdir}/libdleyna-core-1.0.so.*
%files devel
%doc ChangeLog README.md
%{_includedir}/dleyna-1.0/
%{_libdir}/libdleyna-core-1.0.so
%{_libdir}/pkgconfig/dleyna-core-1.0.pc
%changelog