Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37761741
en ru br
ALT Linux repos
S:1.0.4-alt1

Group :: System/Libraries
RPM: liblc3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define _name lc3

%def_enable tools
%def_disable check

Name: lib%_name
Version: 1.0.4
Release: alt1

Summary: Low Complexity Communication Codec (LC3)
License: Apache-2.0
Group: System/Libraries
Url: https://github.com/google/liblc3

Vcs: https://github.com/google/liblc3.git
Source: https://github.com/google/liblc3/archive/v%version/%name-%version.tar.gz

BuildRequires(pre): rpm-macros-meson
BuildRequires: meson libgomp-devel
%{?_enable_check:BuildRequires: python3(scipy) python3(numpy) libnumpy-py3-devel}

%description
Low Complexity Communication Codec (LC3) Library

%package devel
Summary: Development files for LC3 library
Group: Development/C
Requires: %name = %EVR

%description devel
This package provides LC3 development files.

%package tools
Summary: The LC3 library command line tools
Group: Sound
Requires: %name = %EVR

%description tools
This package provides LC3 tools.


%prep
%setup

%build
%meson \
   %{?_enable_tools:-Dtools=true}
%nil
%meson_build

%install
%meson_install

%check
%__meson_test

%files
%_libdir/%name.so.*
%doc README*

%files devel
%_libdir/%name.so
%_includedir/%{_name}*.h
%_pkgconfigdir/%_name.pc

%if_enabled tools
%files tools
%_bindir/e%_name
%_bindir/d%_name
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin