libSDL_mixer/libSDL_mixer.spec

102 lines
3.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: libSDL_mixer
Version: 1.2.12
Release: 1mamba
Summary: SDL_mixer is a sample multi-channel audio mixer library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.libsdl.org/projects/SDL_mixer/
Source: http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdirectfb-devel
BuildRequires: libSDL-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libvorbis-devel
BuildRequires: libsmpeg-devel
BuildRequires: libmikmod-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SDL_mixer is a sample multi-channel audio mixer library.
It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %name
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
SDL_mixer is a sample multi-channel audio mixer library.
It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
This package contains static libraries and header files need for development.
%prep
%setup -q -n SDL_mixer-%{version}
%build
%configure --disable-smpegtest
%make LDFLAGS=-lm
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall install-bin
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/playmus
%{_bindir}/playwave
%{_libdir}/libSDL_mixer*.so.*
%doc CHANGES COPYING README
%files devel
%defattr(-,root,root)
%dir %{_includedir}/SDL
%{_includedir}/SDL/*.h
%{_libdir}/libSDL_mixer.a
%{_libdir}/libSDL_mixer.la
%{_libdir}/libSDL_mixer.so
%{_libdir}/pkgconfig/SDL_mixer.pc
%changelog
* Mon Jan 23 2012 Automatic Build System <autodist@mambasoft.it> 1.2.12-1mamba
- automatic version update by autodist
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 1.2.11-3mamba
- automatic rebuild by autodist
* Fri Jul 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.2.11-2mamba
- update specfile
- own %{_includedir}/SDL
- force linking with the libm library
- install playmus and playwave binaries
- fix build requirements
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 1.2.11-1mamba
- automatic update by autodist
* Mon Oct 26 2009 Automatic Build System <autodist@mambasoft.it> 1.2.9-1mamba
- automatic update by autodist
* Fri Nov 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1mamba
- update to 1.2.8
* Wed Oct 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.7-1qilnx
- update to version 1.2.7 by autospec
* Thu Dec 23 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1qilnx
- update to version 1.2.6 by autospec
* Fri Aug 06 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.5-1qilnx
- package creation