2021-02-25 03:50:50 +03:00
|
|
|
Summary: Portable C Audio Library
|
|
|
|
Name: pcaudiolib
|
2022-02-17 04:15:24 +03:00
|
|
|
Version: 1.2
|
2021-02-25 03:50:50 +03:00
|
|
|
Release: 1%{?dist}
|
2022-02-25 04:35:31 +03:00
|
|
|
License: GPLv3+
|
2021-02-25 03:50:50 +03:00
|
|
|
Vendor: Microsoft Corporation
|
2024-02-06 23:14:23 +03:00
|
|
|
Distribution: Azure Linux
|
2021-02-25 03:50:50 +03:00
|
|
|
URL: https://github.com/espeak-ng/pcaudiolib
|
|
|
|
#Source0: https://github.com/espeak-ng/%{name}/archive/%{version}.tar.gz
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: which
|
|
|
|
Requires: alsa-lib
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and header files for pcaudiolib
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libraries and header files for %{name}
|
|
|
|
|
|
|
|
%prep
|
2021-02-25 23:25:12 +03:00
|
|
|
%autosetup -p1
|
2021-02-25 03:50:50 +03:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure \
|
|
|
|
--with-alsa \
|
|
|
|
--without-pulseaudio \
|
|
|
|
--without-qsa \
|
|
|
|
--without-coreaudio \
|
|
|
|
--without-oss
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
# %check
|
2022-02-17 04:15:24 +03:00
|
|
|
# This library does not have a testing suite as of version 1.2
|
2021-02-25 03:50:50 +03:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS CHANGELOG.md README.md
|
|
|
|
%{_libdir}/libpcaudio.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/%{name}/audio.h
|
|
|
|
%{_libdir}/libpcaudio.a
|
|
|
|
%{_libdir}/libpcaudio.so
|
|
|
|
|
|
|
|
%changelog
|
2022-02-17 04:15:24 +03:00
|
|
|
* Mon Feb 14 2022 Minghe Ren <mingheren@microsoft.com> - 1.2-1
|
|
|
|
- Update to version 1.2
|
|
|
|
|
2021-02-25 03:50:50 +03:00
|
|
|
* Fri Feb 05 2021 Thomas Crain <thcrain@microsoft.com> - 1.1-1
|
|
|
|
- Original version for CBL-Mariner (license: MIT)
|
|
|
|
- License verified
|