- updated to 1.1.0,
[packages/SDL_mixer.git] / SDL_mixer.spec
CommitLineData
4a37b7d1 1Summary: Simple DirectMedia Layer - Sample Mixer Library
2Name: SDL_mixer
876b177c 3Version: 1.1.0
fb85d8d7 4Release: 3
4a37b7d1 5License: LGPL
6Group: Libraries
5c4961a0 7Group(de): Libraries
876b177c 8Group(es): Bibliotecas
5c4961a0 9Group(fr): Librairies
10Group(pl): Biblioteki
4a37b7d1 11Source0: http://www.libsdl.org/projects/SDL_mixer/src/%{name}-%{version}.tar.gz
876b177c 12Patch0: %{name}-timidity_cfg.patch
4a37b7d1 13URL: http://www.libsdl.org/projects/SDL_mixer/index.html
14BuildRequires: esound-devel
15BuildRequires: SDL-devel >= 1.1.1
16BuildRequires: XFree86-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b346880d 18
fb85d8d7 19%define _prefix /usr/X11R6
20
b346880d 21%description
4a37b7d1 22Due to popular demand, here is a simple multi-channel audio mixer. It
23supports 4 channels of 16 bit stereo audio, plus a single channel of
24music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
b346880d 25libraries.
26
27%package devel
4a37b7d1 28Summary: Header files and more to develop SDL_mixer applications
29Group: Development/Libraries
5c4961a0 30Group(de): Entwicklung/Libraries
4a37b7d1 31Group(fr): Development/Librairies
32Group(pl): Programowanie/Biblioteki
33Requires: %{name} = %{version}
34Requires: SDL-devel
b346880d 35
36%description devel
4a37b7d1 37Header files and more to develop SDL_mixer applications.
38
39%package static
40Summary: Statis SDL_mixer libraries
41Group: Development/Libraries
5c4961a0 42Group(de): Entwicklung/Libraries
4a37b7d1 43Group(fr): Development/Librairies
44Group(pl): Programowanie/Biblioteki
45Requires: %{name}-devel = %{version}
46
47%description static
48Statis SDL_mixer libraries.
b346880d 49
50%prep
4a37b7d1 51%setup -q
876b177c 52%patch -p1
b346880d 53
54%build
4a37b7d1 55%configure
56%{__make}
b346880d 57
58%install
59rm -rf $RPM_BUILD_ROOT
4a37b7d1 60
61%{__make} install DESTDIR=$RPM_BUILD_ROOT
62
4a37b7d1 63gzip -9nf README CHANGES
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
b346880d 67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
4a37b7d1 72%defattr(644,root,root,755)
73%attr(755,root,root) %{_bindir}/playmus
74%attr(755,root,root) %{_bindir}/playwave
75%attr(755,root,root) %{_libdir}/lib*.so.*.*
b346880d 76
77%files devel
4a37b7d1 78%defattr(644,root,root,755)
79%doc *.gz
80%attr(755,root,root) %{_libdir}/lib*.so
81%attr(755,root,root) %{_libdir}/lib*.la
82%{_includedir}/SDL/*
83
84%files static
85%defattr(644,root,root,755)
86%{_libdir}/lib*.a
This page took 0.050605 seconds and 4 git commands to generate.