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