Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
openal-soft
openal-soft.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openal-soft.spec of Package openal-soft
# # spec file for package openal-soft (Version 1.5.304) # # Copyright (c) 2008 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/ # # norootforbuild Name: openal-soft Version: 1.5.304 Release: 1 License: LGPL v2.0 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake >= 2.4.4 Group: System/Libraries Icon: openal.xpm Source0: %{name}-%{version}.tar.bz2 Source1: libopenalcompat.c Source2: openal-soft-rpmlintrc Summary: OpenAL Soft Url: http://kcat.strangesoft.net/openal.html Conflicts: openal <= 0.0.8 Provides: openal = 0.0.9 %if 0%{?mandriva_version} >= 2006 BuildRequires: -alsa-plugins libalsa-oss-devel %else BuildRequires: alsa-devel %endif Patch0: 0001-install-pkgconfig-file-to-LIB_INSTALL_DIR.diff %description OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL Soft is an alternative software implementation with a shared and a cleaned up codebase, based on the windows reference implementation. Authors: -------- Chris Robinson %package devel License: LGPL v2.0 or later Summary: OpenAL Soft Group: Development/Languages/C and C++ Requires: %{name} = %{version} glibc-devel Provides: openal-devel = 0.0.9 Conflicts: openal-devel <= 0.0.8 %description devel OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL Soft is an alternative software implementation with a shared and a cleaned up codebase, based on the windows reference implementation. Authors: -------- Chris Robinson %package -n libopenal0-soft License: LGPL v2.0 or later Summary: OpenAL Soft Group: System/Libraries %if 0%{?suse_version} > 1010 Recommends: openal-soft %endif %description -n libopenal0-soft OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL Soft is an alternative software implementation with a shared and a cleaned up codebase, based on the windows reference implementation. Authors: -------- Chris Robinson %package -n libopenal1-soft License: LGPL v2.0 or later Summary: OpenAL Soft Group: System/Libraries %if 0%{?suse_version} > 1010 Recommends: openal-soft %endif %description -n libopenal1-soft OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL Soft is an alternative software implementation with a shared and a cleaned up codebase, based on the windows reference implementation. Authors: -------- Chris Robinson %prep %setup -q %patch0 -p1 %build cd CMakeConf cmake \ -D LIB_INSTALL_DIR=%{_lib} \ -D CMAKE_INSTALL_PREFIX=%{_prefix} \ -D CMAKE_C_FLAGS:STRING="$RPM_OPT_FLAGS" \ .. make VERBOSE=1 %{?jobs:-j %jobs} # dummy library for compatibility #doesnt work #gcc -Wall $RPM_OPT_FLAGS -Wl,-soname,libopenal.so.0 -shared -Wl,-f,libopenal.so.1 -o libopenal.so.0 %SOURCE1 gcc -Wall $RPM_OPT_FLAGS -fPIC -DPIC -Wl,-soname,libopenal.so.0 -shared -L. -lopenal -o libopenal.so.0 %SOURCE1 %install cd CMakeConf make DESTDIR=$RPM_BUILD_ROOT install install -d %buildroot/etc/openal install -m644 libopenal.so.0 %buildroot%{_libdir} %post -n libopenal0-soft -p /sbin/ldconfig %postun -n libopenal0-soft -p /sbin/ldconfig %post -n libopenal1-soft -p /sbin/ldconfig %postun -n libopenal1-soft -p /sbin/ldconfig %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc alsoftrc.sample %dir /etc/openal %{_bindir}/openal-info %files -n libopenal1-soft %defattr(-,root,root) %{_libdir}/libopenal.so.1 %{_libdir}/libopenal.so.1.* %files -n libopenal0-soft %defattr(-,root,root) %{_libdir}/libopenal.so.0 %files devel %defattr(-,root,root) %{_libdir}/libopenal.so %{_libdir}/pkgconfig/openal.pc %dir %{_includedir}/AL %{_includedir}/AL/al.h %{_includedir}/AL/alc.h %{_includedir}/AL/alext.h %changelog * Wed Aug 20 2008 lnussel@suse.de - new version 1.5.304 * reduces buffer size to reduce latency * installs pkg-config file * better EFX compliance * fixes doppler shift * needs less memory in the mixer * Thu Jul 17 2008 lnussel@suse.de - backport patch to reduce buffer size from git - fix mandriva build * Thu Jun 05 2008 lnussel@suse.de - split package to have libraries in subpackages * Thu Jun 05 2008 lnussel@suse.de - new package version 1.4.272 based on b-s-a's and ickruis' work
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