]> git.pld-linux.org Git - packages/SDL_sound.git/blame - SDL_sound.spec
- initial PLD release, TODO: docs
[packages/SDL_sound.git] / SDL_sound.spec
CommitLineData
e204f46d 1Summary: An abstract soundfile decoder.
2Name: SDL_sound
3Version: 1.0.0
4Release: 1
5License: LGPL
6Group: Libraries
7Source0: http://www.icculus.org/%{name}/downloads//%{name}-%{version}.tar.gz
8URL: http://www.icculus.org/SDL_sound/
9BuildRequires: autoconf
10BuildRequires: automake
11BuildRequires: libtool
12BuildRequires: SDL-devel >= 1.2.0
13Requires: SDL >= 1.2.0
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _prefix /usr/X11R6
17
18%description
19SDL_sound is a library that handles the decoding of several popular
20sound file formats, such as .WAV and .MP3. It is meant to make the
21programmer's sound playback tasks simpler. The programmer gives
22SDL_sound a filename, or feeds it data directly from one of many
23sources, and then reads the decoded waveform data back at her leisure.
24If resource constraints are a concern, SDL_sound can process sound
25data in programmer-specified blocks. Alternately, SDL_sound can decode
26a whole sound file and hand back a single pointer to the whole
27waveform. SDL_sound can also handle sample rate, audio format, and
28channel conversion on-the-fly and behind-the-scenes, if the programmer
29desires.
30
31%package devel
32Summary: Header files and more to develop SDL_sound applications
33Group: Development/Libraries
34Requires: %{name} = %{version}
35Requires: SDL-devel
36
37%description devel
38Header files and more to develop SDL_sound applications.
39
40%package static
41Summary: Static SDL_sound libraries
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}
44
45%description static
46Statis SDL_net libraries.
47
48%prep
49%setup -q
50
51%build
52%configure
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%post -p /sbin/ldconfig
64%postun -p /sbin/ldconfig
65
66%files
67%defattr(644,root,root,755)
68%attr(755,root,root) %{_bindir}/playsound
69%attr(755,root,root) %{_libdir}/lib*.so.*.*
70
71%files devel
72%defattr(644,root,root,755)
73%doc README
74%attr(755,root,root) %{_libdir}/lib*.so
75%{_libdir}/lib*.la
76%{_includedir}/SDL/*
77
78%files static
79%defattr(644,root,root,755)
80%{_libdir}/lib*.a
This page took 0.071124 seconds and 4 git commands to generate.