- raw version.
[packages/SDL_mixer.git] / SDL_mixer.spec
CommitLineData
b346880d 1%define name @PACKAGE@
2%define version @VERSION@
3%define release 1
4
5Summary: Simple DirectMedia Layer - Sample Mixer Library
6Name: %{name}
7Version: %{version}
8Release: %{release}
9Source0: %{name}-%{version}.tar.gz
10Copyright: LGPL
11Group: System Environment/Libraries
12BuildRoot: /var/tmp/%{name}-buildroot
13Prefix: %{_prefix}
14
15%description
16Due to popular demand, here is a simple multi-channel audio mixer.
17It supports 4 channels of 16 bit stereo audio, plus a single channel
18of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
19libraries.
20
21%package devel
22Summary: Libraries, includes and more to develop SDL applications.
23Group: Development/Libraries
24Requires: %{name}
25
26%description devel
27Due to popular demand, here is a simple multi-channel audio mixer.
28It supports 4 channels of 16 bit stereo audio, plus a single channel
29of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
30libraries.
31
32%prep
33%setup
34
35%build
36CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
37make
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make install prefix=$RPM_BUILD_ROOT/%{prefix}
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(-,root,root)
48%doc README CHANGES COPYING
49%{prefix}/bin/playmus
50%{prefix}/bin/playwave
51%{prefix}/lib/lib*.so.*
52%{prefix}/lib/lib*.so
53
54%files devel
55%defattr(-,root,root)
56%{prefix}/lib/*a
57%{prefix}/include/SDL/
58
59%changelog
60* Wed Jan 19 2000 Sam Lantinga
61- converted to get package information from configure
62* Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
63- initial spec file
This page took 0.069393 seconds and 4 git commands to generate.