Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
libao
libao.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libao.spec of Package libao
# # spec file for package libao # # Copyright (c) 2011 SUSE LINUX Products 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 _SO_nr 4 # Check configure.ac for the plugin versioning %define PLUGIN_VERSION 4 Name: libao Version: to_be_filled_by_service Release: 4 License: GPLv2+ %define my_provides /tmp/my-provides Summary: A Cross-Platform Audio Output Library Url: http://www.xiph.org/ao/ Group: System/Libraries Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM libao-alsa-fix.diff https://trac.xiph.org/ticket/1762 reddwarf@opensuse.org -- From tiwai. Fix buffer size with some sound cards Patch: libao-alsa-fix.diff # PATCH-FIX-OPENSUSE lib64.dif -- General problem, but no general fix... openSUSE specific. Patch1: lib64.dif # PATCH-FIX-UPSTREAM libao-missing_headers.diff https://trac.xiph.org/ticket/1760 reddwarf@opensuse.org -- Missing #include for isspace(). Since it returns an int it shouldn't cause any real problem. Patch2: libao-missing_headers.diff # PATCH-FIX-UPSTREAM https://trac.xiph.org/ticket/1689 libao not working correctly with pulse audio Patch3: ao-pulse-fixes.patch BuildRequires: arts-devel BuildRequires: libesd-devel BuildRequires: libpulse-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libao is a cross-platform audio output library. It currently supports ESD, OSS, Solaris, and IRIX. %package -n libao%{_SO_nr} Summary: A Cross-Platform Audio Output Library Group: System/Libraries Requires: libao-plugins%{PLUGIN_VERSION} %description -n libao%{_SO_nr} Libao is a cross-platform audio output library. It currently supports ESD, OSS, Solaris, and IRIX. %package plugins%{PLUGIN_VERSION} Summary: Main output plugins for libao Group: System/Libraries Provides: libao-pulse = 0.9.3 Obsoletes: libao-pulse <= 0.9.3 %description plugins%{PLUGIN_VERSION} This package contains the main output plugins for libao. %package devel License: GPLv2+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libao%{_SO_nr} = %{version} %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %package plugin%{PLUGIN_VERSION}-arts Summary: ARts output plugin for libao Group: System/Libraries Supplements: packageand(arts:libao%{_SO_nr}) %description plugin%{PLUGIN_VERSION}-arts This package contains the aRts output plugin for libao. %package plugin%{PLUGIN_VERSION}-esd Summary: ESD output plugin for libao Group: System/Libraries Supplements: packageand(esound-daemon:libao%{_SO_nr}) %description plugin%{PLUGIN_VERSION}-esd This package contains the ESD output plugin for libao. %prep %setup -q %patch %patch2 %patch3 if [ "%{_lib}" == "lib64" ]; then %patch1 fi ### If there is anything wrong it should be reported upstream # remove obsolete macros #rm -f acinclude.m4 %build %configure --disable-static make %{?_smp_mflags} %install %makeinstall docdir=%{_docdir}/%{name}-devel # cleanup buildroot, remove unpackaged files rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*/*/*.la # exclude plugins from the provide-list cat << EOF > %{my_provides} grep -v %{_libdir}/ao/ | %{__find_provides} EOF chmod 755 %{my_provides} %define __find_provides %{my_provides} %post -n libao%{_SO_nr} -p /sbin/ldconfig %postun -n libao%{_SO_nr} -p /sbin/ldconfig %clean [ %{buildroot} != "/" ] && rm -rf %{buildroot} rm -f %{my_provides} %files -n libao%{_SO_nr} %defattr(0644,root,root,0755) %doc AUTHORS CHANGES COPYING README TODO %{_libdir}/libao.so.%{_SO_nr}* %dir %{_libdir}/ao %dir %{_libdir}/ao/plugins-%{PLUGIN_VERSION} %files plugins%{PLUGIN_VERSION} %defattr(0644,root,root,0755) %{_libdir}/ao/plugins-%{PLUGIN_VERSION}/libalsa.so %{_libdir}/ao/plugins-%{PLUGIN_VERSION}/liboss.so %{_libdir}/ao/plugins-%{PLUGIN_VERSION}/libpulse.so %files devel %defattr(-,root,root) %{_docdir}/%{name}-devel %{_mandir}/*/* %{_includedir}/ao %{_libdir}/libao.so %{_datadir}/aclocal/*.m4 %{_libdir}/pkgconfig/*.pc %files plugin%{PLUGIN_VERSION}-arts %defattr(0644,root,root,0755) %{_libdir}/ao/plugins-%{PLUGIN_VERSION}/libarts.so %files plugin%{PLUGIN_VERSION}-esd %defattr(0644,root,root,0755) %{_libdir}/ao/plugins-%{PLUGIN_VERSION}/libesd.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor