File bluez-glib2.spec of Package bluez-glib

#
# spec file for package bluez-glib2
#
# Copyright (c) 2023 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:           bluez-glib2
Version:        1.0
Release:        0
Summary:	GLib BlueZ interface library
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        Apache-2.0
URL:            http://docs.automotivelinux.org
Source:         bluez-glib-045d4a1.tar.gz
BuildRequires:  meson
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(systemd)
BuildRequires:  cmake
ExclusiveArch:  x86_64 aarch64

%package devel
Summary: Devel package for %{name}
Requires: %{name}%{?_isa} = %{version}

%description devel
%{summary}

%description
%{summary}

%prep
%autosetup -n bluez-glib-045d4a1

%build
%meson
%meson_build

%install
%meson_install

%post
%postun

%files
# FIXME add license
%{_libdir}/libbluez-glib.so.1.0.0
%{_libdir}/libbluez-glib.so.0

%files devel
%{_includedir}/bluez-glib.h
%{_libdir}/libbluez-glib.so
%{_libdir}/pkgconfig/bluez-glib.pc

%changelog

openSUSE Build Service is sponsored by