Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.56 KB

SDL2_mixer.spec.in

File metadata and controls

64 lines (52 loc) · 1.56 KB
 
2
3
4
5
6
7
8
9
%define version @VERSION@
%define release 1
Summary: Simple DirectMedia Layer - Sample Mixer Library
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
11
12
13
14
15
16
17
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
18
of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
19
Tremor, libmpg123 and libmad MP3 libraries.
20
21
22
23
24
25
26
27
28
%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
29
of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
30
Tremor, libmpg123 and libmad MP3 libraries.
36
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
38
39
40
41
42
43
44
45
46
47
%install
rm -rf $RPM_BUILD_ROOT
make install prefix=$RPM_BUILD_ROOT/%{prefix}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
48
%doc README.txt CHANGES.txt COPYING.txt
49
50
51
52
%{prefix}/lib/lib*.so.*
%files devel
%defattr(-,root,root)
53
%{prefix}/lib/lib*.a
55
%{prefix}/lib/lib*.so
57
%{prefix}/lib/pkgconfig/*.pc
58
59
60
61
62
63
%changelog
* Wed Jan 19 2000 Sam Lantinga
- converted to get package information from configure
* Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
- initial spec file