|
|
|
@ -16,16 +16,16 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define soname 4
|
|
|
|
|
%define sover 4
|
|
|
|
|
# Check configure.ac for the plugin versioning
|
|
|
|
|
%define plugver 4
|
|
|
|
|
%define my_provides /tmp/my-provides
|
|
|
|
|
Name: libao
|
|
|
|
|
Version: 1.2.2+git20180114.d522165
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: A Cross-Platform Audio Output Library
|
|
|
|
|
Summary: An Audio Output Library
|
|
|
|
|
License: GPL-2.0+
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Url: http://www.xiph.org/ao/
|
|
|
|
|
# Switched to git release as there are no releases for >3 years
|
|
|
|
|
#Source: http://downloads.xiph.org/releases/ao/%{name}-%{version}.tar.gz
|
|
|
|
@ -43,18 +43,20 @@ BuildRequires: pkgconfig(libpulse-simple)
|
|
|
|
|
Obsoletes: plugin4-esd
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libao is a cross-platform audio output library.
|
|
|
|
|
Libao is an audio output library, supporting a number of
|
|
|
|
|
outputs, such as ALSA, PulseAudio, and PCM files.
|
|
|
|
|
|
|
|
|
|
%package -n libao%{soname}
|
|
|
|
|
Summary: A Cross-Platform Audio Output Library
|
|
|
|
|
%package -n libao%{sover}
|
|
|
|
|
Summary: An Audio Output Library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Requires: libao-plugins%{plugver}
|
|
|
|
|
# libao was last used in openSUSE 11.3
|
|
|
|
|
Provides: libao = 1.1.0
|
|
|
|
|
Obsoletes: libao < 1.1.0
|
|
|
|
|
|
|
|
|
|
%description -n libao%{soname}
|
|
|
|
|
Libao is a cross-platform audio output library.
|
|
|
|
|
%description -n libao%{sover}
|
|
|
|
|
Libao is an audio output library, supporting a number of
|
|
|
|
|
outputs, such as ALSA, PulseAudio, and PCM files.
|
|
|
|
|
|
|
|
|
|
%package plugins%{plugver}
|
|
|
|
|
Summary: Main output plugins for libao
|
|
|
|
@ -64,14 +66,14 @@ Group: System/Libraries
|
|
|
|
|
This package contains the main output plugins for libao.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
|
|
|
Summary: Development files for libao, an audio outputl ibrary
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: glibc-devel
|
|
|
|
|
Requires: libao%{soname} = %{version}
|
|
|
|
|
Requires: libao%{sover} = %{version}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
|
to develop applications that require these.
|
|
|
|
|
This package contains the headers for developing applications that
|
|
|
|
|
want to make use of libao.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
@ -103,13 +105,13 @@ chmod 755 %{my_provides}
|
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
%define __find_provides %{my_provides}
|
|
|
|
|
|
|
|
|
|
%post -n libao%{soname} -p /sbin/ldconfig
|
|
|
|
|
%postun -n libao%{soname} -p /sbin/ldconfig
|
|
|
|
|
%post -n libao%{sover} -p /sbin/ldconfig
|
|
|
|
|
%postun -n libao%{sover} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n libao%{soname}
|
|
|
|
|
%files -n libao%{sover}
|
|
|
|
|
%doc AUTHORS CHANGES README TODO
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/libao.so.%{soname}*
|
|
|
|
|
%{_libdir}/libao.so.%{sover}*
|
|
|
|
|
%dir %{_libdir}/ao
|
|
|
|
|
%dir %{_libdir}/ao/plugins-%{plugver}
|
|
|
|
|
|
|
|
|
|