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