File freealut.spec of Package freealut
#
# spec file for package freealut (Version 1.1.0)
#
# Copyright (c) 2009 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: freealut
BuildRequires: openal-devel
License: LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
Version: 1.1.0
Release: 209
Url: http://connect.creativelabs.com/openal/default.aspx
Summary: freealut is a free implementation of OpenAL's ALUT standard
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
freealut is a free implementation of OpenAL's ALUT standard.
Authors:
--------
Steve Baker <sjbaker1@airmail.net>
Sven Panne <sven.panne@aedion.de>
Erik Hofman <erik@ehofman.com>
Prakash Punnoor <prakash@punnoor.de>
%package devel
License: LGPL v2.1 or later
Summary: Static libraries, header files and tests for openal library
Provides: openal:/usr/include/AL/alut.h
Requires: %{name} = %{version} glibc-devel openal-devel
Group: Development/Libraries/C and C++
%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.
Authors:
--------
Garin Hiebert <ghiebert@creativelabs.com>
%prep
%setup -q
%build
%{?suse_update_config:%{suse_update_config -f linux}}
%configure --disable-static --with-pic
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/libalut.so.*
%files devel
%defattr(-,root,root)
%{_prefix}/bin/*-config
%{_includedir}/AL
%{_libdir}/libalut.so
%{_libdir}/pkgconfig/*.pc
%changelog