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