File superfast.spec of Package superfast
#
# spec file for package superfast
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define _over 1.0-pre3
Name: superfast
Version: 1.0pre3
Release: 0
Summary: Codecs for fre:ac
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: https://freac.org
Source0: https://github.com/enzo1982/superfast/archive/v%{_over}.tar.gz#/%{name}-%{_over}.tar.gz
BuildRequires: BoCA-devel
BuildRequires: BoCA-plugins
BuildRequires: dos2unix
BuildRequires: gcc-c++
BuildRequires: smooth-devel
Requires: BoCA-plugins
%description
This packages provides multi-threaded MP3, AAC, Opus and Speex codec
drivers for use with the fre:ac audio converter. The components use
multiple instances of the respective codecs in parallel to provide
faster processing on systems with multiple CPU cores.
%prep
%setup -q -n %{name}-%{_over}
dos2unix Readme.md
%build
export CXXFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
%make_install libdir=%{_libdir}
%files
%doc Readme.md
%license COPYING
%{_libdir}/boca/boca_encoder_superfaac.1.0.so
%{_libdir}/boca/boca_encoder_superfdkaac.1.0.so
%{_libdir}/boca/boca_encoder_superlame.1.0.so
%{_libdir}/boca/boca_encoder_superopus.1.0.so
%{_libdir}/boca/boca_encoder_superspeex.1.0.so
%changelog