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