Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37422465
en ru br
ALT Linux repos
S:2.0.0-alt1_2

Group :: Sound
RPM: libsoundio

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-macros-mageia-compat
BuildRequires: gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major 2
%define libname libsoundio%{major}
%define devel libsoundio-devel

Name: libsoundio
Version: 2.0.0
Release: alt1_2
Summary: C library for cross-platform real-time audio input and output
Group: Sound
License: MIT
URL: http://libsound.io/
Source0: https://github.com/andrewrk/libsoundio/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires: ccmake cmake ctest
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpulse)
Source44: import.info

%description
C library providing cross-platform audio input and output. The API is suitable
for real-time software such as digital audio workstations as well as consumer
software such as music players.

This library is an abstraction; however in the delicate balance between
performance and power, and API convenience, the scale is tipped closer to the
former. Features that only exist in some sound backends are exposed.


%package -n %{libname}
Summary: Library files for %{name}
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: libsoundio-%{_lib}soundio1 < 1.1.0-2

%description -n %{libname}
This package contains the library files for %{name}

%package -n %{devel}
Summary: Development files for %{name}
Group: Development/C++
Requires: %{libname} = %{version}-%{release}
Provides: soundio-devel = %{version}-%{release}
Obsoletes: libsoundio-%{_lib}soundio-devel < 1.1.0-2
Obsoletes: libsoundio-%{_lib}soundio-static-devel < 1.1.0-2

%description -n %{devel}
The %{devel} package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q



%build
%{mageia_cmake}
%mageia_cmake_build


%install
%mageia_cmake_install


%files
%doc LICENSE README.md
%{_bindir}/*

%files -n %{libname}
%{_libdir}/*.so.%{major}
%{_libdir}/*.so.%{major}.*

%files -n %{devel}
%{_includedir}/*
%{_libdir}/*.so


%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