forked from pool/SDL_sound
91 lines
2.4 KiB
RPMSpec
91 lines
2.4 KiB
RPMSpec
|
#
|
||
|
# spec file for package SDL_sound (Version 1.0.1)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: SDL_sound
|
||
|
BuildRequires: SDL-devel flac-devel libmikmod-devel libogg-devel libvorbis-devel physfs-devel speex-devel
|
||
|
Url: http://icculus.org/SDL_sound/
|
||
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
||
|
Version: 1.0.1
|
||
|
Release: 1
|
||
|
Source0: %{name}-svn536-nompglib.tar.bz2
|
||
|
License: LGPL v2.1 or later
|
||
|
Group: System/Libraries
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
SDL_sound is a library that handles the decoding of several popular
|
||
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
||
|
play a file or alternatively decode a file and hand back a single
|
||
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
||
|
on-the-fly and behind-the-scenes.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Ryan C. Gordon <icculus at clutteredmind dot org>
|
||
|
|
||
|
%package devel
|
||
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
||
|
Group: System/Libraries
|
||
|
Requires: %{name} = %{version}
|
||
|
Requires: SDL-devel flac-devel libmikmod-devel libvorbis-devel libogg-devel speex-devel physfs-devel
|
||
|
|
||
|
%description devel
|
||
|
SDL_sound is a library that handles the decoding of several popular
|
||
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
||
|
play a file or alternatively decode a file and hand back a single
|
||
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
||
|
on-the-fly and behind-the-scenes.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Ryan C. Gordon <icculus at clutteredmind dot org>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}
|
||
|
|
||
|
%build
|
||
|
./bootstrap
|
||
|
%configure --disable-smpeg --disable-mpglib
|
||
|
make %{?jobs:-j %jobs}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
%post
|
||
|
/sbin/ldconfig
|
||
|
|
||
|
%postun
|
||
|
/sbin/ldconfig
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc CHANGELOG COPYING CREDITS README TODO
|
||
|
%{_bindir}/playsound*
|
||
|
%{_libdir}/lib*.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/SDL
|
||
|
%{_libdir}/*a
|
||
|
%{_libdir}/lib*.so
|
||
|
%changelog
|
||
|
* Tue Nov 06 2007 - prusnak@suse.cz
|
||
|
- created package (version 1.0.1)
|
||
|
sources from SVN - revision 536, stripped internal mpglib sources
|