From b346880d27d2fb571365dac89c10cddd3735058a Mon Sep 17 00:00:00 2001 From: kloczek Date: Sun, 2 Jul 2000 19:57:12 +0000 Subject: [PATCH] - raw version. Changed files: SDL_mixer.spec -> 1.1 --- SDL_mixer.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 SDL_mixer.spec diff --git a/SDL_mixer.spec b/SDL_mixer.spec new file mode 100644 index 0000000..eab29c5 --- /dev/null +++ b/SDL_mixer.spec @@ -0,0 +1,63 @@ +%define name @PACKAGE@ +%define version @VERSION@ +%define release 1 + +Summary: Simple DirectMedia Layer - Sample Mixer Library +Name: %{name} +Version: %{version} +Release: %{release} +Source0: %{name}-%{version}.tar.gz +Copyright: LGPL +Group: System Environment/Libraries +BuildRoot: /var/tmp/%{name}-buildroot +Prefix: %{_prefix} + +%description +Due to popular demand, here is a simple multi-channel audio mixer. +It supports 4 channels of 16 bit stereo audio, plus a single channel +of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 +libraries. + +%package devel +Summary: Libraries, includes and more to develop SDL applications. +Group: Development/Libraries +Requires: %{name} + +%description devel +Due to popular demand, here is a simple multi-channel audio mixer. +It supports 4 channels of 16 bit stereo audio, plus a single channel +of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 +libraries. + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT +make install prefix=$RPM_BUILD_ROOT/%{prefix} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README CHANGES COPYING +%{prefix}/bin/playmus +%{prefix}/bin/playwave +%{prefix}/lib/lib*.so.* +%{prefix}/lib/lib*.so + +%files devel +%defattr(-,root,root) +%{prefix}/lib/*a +%{prefix}/include/SDL/ + +%changelog +* Wed Jan 19 2000 Sam Lantinga +- converted to get package information from configure +* Sun Jan 16 2000 Hakan Tandogan +- initial spec file -- 2.43.0