]> git.pld-linux.org Git - packages/SDL_sound.git/commitdiff
- initial PLD release, TODO: docs
authoraflinta <aflinta@pld-linux.org>
Thu, 2 Jan 2003 22:08:49 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL_sound.spec -> 1.1

SDL_sound.spec [new file with mode: 0644]

diff --git a/SDL_sound.spec b/SDL_sound.spec
new file mode 100644 (file)
index 0000000..7c6dcae
--- /dev/null
@@ -0,0 +1,80 @@
+Summary:       An abstract soundfile decoder.
+Name:          SDL_sound
+Version:       1.0.0
+Release:       1
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.icculus.org/%{name}/downloads//%{name}-%{version}.tar.gz
+URL:           http://www.icculus.org/SDL_sound/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: SDL-devel >= 1.2.0
+Requires:      SDL >= 1.2.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+
+%description
+SDL_sound is a library that handles the decoding of several popular
+sound file formats, such as .WAV and .MP3. It is meant to make the
+programmer's sound playback tasks simpler. The programmer gives
+SDL_sound a filename, or feeds it data directly from one of many
+sources, and then reads the decoded waveform data back at her leisure.
+If resource constraints are a concern, SDL_sound can process sound
+data in programmer-specified blocks. Alternately, SDL_sound can decode
+a whole sound file and hand back a single pointer to the whole
+waveform. SDL_sound can also handle sample rate, audio format, and
+channel conversion on-the-fly and behind-the-scenes, if the programmer
+desires.
+
+%package devel
+Summary:       Header files and more to develop SDL_sound applications
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+Requires:      SDL-devel
+
+%description devel
+Header files and more to develop SDL_sound applications.
+
+%package static
+Summary:       Static SDL_sound libraries
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Statis SDL_net libraries.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/playsound
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/SDL/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.158949 seconds and 4 git commands to generate.