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