File bionic-translation.spec of Package bionic-translation

#
# spec file for package bionic-translation
#
# Copyright (c) 2024 mantarimay
#
# 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:           bionic-translation
Version:        0
Release:        0
Summary:        A set of libraries for loading bionic-linked .so files on musl/glibc
License:        Unlicense
URL:            https://gitlab.com/android_translation_layer/bionic_translation
Source:         %{name}-%{version}.tar.zst
BuildRequires:  libelf-devel
BuildRequires:  meson
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(libbsd)
BuildRequires:  pkgconfig(libunwind)

%description
%summary.

%package devel
Summary:        Development files for bionic-translation
Requires:       %{name} = %{version}

%description devel
This subpackage contains libraries and header files for developing
applications that want to make use of the bionic-translation library.

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install

#check
#meson_test

%ldconfig_scriptlets

%files
#license LICEN*
%doc README*
%{_libdir}/libc_bio.so.0
%{_libdir}/libdl_bio.so.0
%{_libdir}/libdl_bio.so.0.0.1
%{_libdir}/libpthread_bio.so.0
%{_libdir}/libstdc++_bio.so.0

%files devel
%{_libdir}/*.so
%{_datadir}/bionic_translation

%changelog
openSUSE Build Service is sponsored by