]> git.pld-linux.org Git - packages/SDL_sound.git/blob - SDL_sound.spec
- massive attack: adding Source-md5
[packages/SDL_sound.git] / SDL_sound.spec
1 Summary:        An abstract soundfile decoder
2 Summary(pl):    Abstrakcyjny dekoder plików d¼wiêkowych
3 Name:           SDL_sound
4 Version:        1.0.0
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.icculus.org/%{name}/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  864a3b6e899d9a3aba45ce19ceba2ae2
10 URL:            http://www.icculus.org/SDL_sound/
11 BuildRequires:  SDL-devel >= 1.2.5-2
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 Requires:       SDL >= 1.2.5-2
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 SDL_sound is a library that handles the decoding of several popular
20 sound file formats, such as .WAV and .MP3. It is meant to make the
21 programmer's sound playback tasks simpler. The programmer gives
22 SDL_sound a filename, or feeds it data directly from one of many
23 sources, and then reads the decoded waveform data back at her leisure.
24 If resource constraints are a concern, SDL_sound can process sound
25 data in programmer-specified blocks. Alternately, SDL_sound can decode
26 a whole sound file and hand back a single pointer to the whole
27 waveform. SDL_sound can also handle sample rate, audio format, and
28 channel conversion on-the-fly and behind-the-scenes, if the programmer
29 desires.
30
31 %description -l pl
32 SDL_sound to biblioteka obs³uguj±ca dekodowanie kilku popularnych
33 formatów plików d¼wiêkowych, takich jak .WAV lub .MP3. Jej celem
34 jest uproszczenie pracy programisty przy odtwarzaniu d¼wiêku.
35 Programista przekazuje SDL_sound nazwê pliku lub dostarcza dane
36 bezpo¶rednio z jednego z wielu ¼róde³, a nastêpnie odczytuje strumieñ
37 zdekodowanych danych. Je¶li ograniczenia zasobów s± istotne, SDL_sound
38 mo¿e obs³ugiwaæ dane d¼wiêkowe w podanych blokach. Alternatywnie,
39 SDL_sound mo¿e dekodowaæ ca³y plik d¼wiêkowy i przekazywaæ z powrotem
40 pojedynczy wska¼nik do ca³o¶ci zdekodowanych danych. SDL_sound mo¿e
41 tak¿e obs³ugiwaæ w locie konwersjê czêstotliwo¶ci próbkowania, formatu
42 d¼wiêku i liczby kana³ów.
43
44 %package devel
45 Summary:        Header files and more to develop SDL_sound applications
46 Summary(pl):    Pliki nag³ówkowe do tworzenia aplikacji z u¿yciem SDL_sound
47 Group:          Development/Libraries
48 Requires:       %{name} = %{version}
49 Requires:       SDL-devel
50
51 %description devel
52 Header files and more to develop SDL_sound applications.
53
54 %description devel -l pl
55 Pliki nag³ówkowe do tworzenia aplikacji z u¿yciem SDL_sound.
56
57 %package static
58 Summary:        Static SDL_sound libraries
59 Summary(pl):    Statyczne biblioteki SDL_sound
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}
62
63 %description static
64 Static SDL_sound libraries.
65
66 %description static -l pl
67 Statyczne biblioteki SDL_sound.
68
69 %prep
70 %setup -q
71
72 %build
73 %configure
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/playsound
90 %attr(755,root,root) %{_libdir}/lib*.so.*.*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc README
95 %attr(755,root,root) %{_libdir}/lib*.so
96 %{_libdir}/lib*.la
97 %{_includedir}/SDL/*
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/lib*.a
This page took 0.181674 seconds and 4 git commands to generate.