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