X-Git-Url: http://git.pld-linux.org/?p=packages%2FSDL_mixer.git;a=blobdiff_plain;f=SDL_mixer.spec;h=b939775b4553e2058e2747ee7f6fc6b6c95e1034;hp=eab29c548740f6b9a4427e99e76ddd6600a3bc13;hb=b5fb61bcda034688c960b41a6d565ca853574f26;hpb=b346880d27d2fb571365dac89c10cddd3735058a diff --git a/SDL_mixer.spec b/SDL_mixer.spec index eab29c5..b939775 100644 --- a/SDL_mixer.spec +++ b/SDL_mixer.spec @@ -1,63 +1,119 @@ -%define name @PACKAGE@ -%define version @VERSION@ -%define release 1 - -Summary: Simple DirectMedia Layer - Sample Mixer Library -Name: %{name} -Version: %{version} -Release: %{release} -Source0: %{name}-%{version}.tar.gz -Copyright: LGPL -Group: System Environment/Libraries -BuildRoot: /var/tmp/%{name}-buildroot -Prefix: %{_prefix} +Summary: Simple DirectMedia Layer - Sample Mixer Library +Summary(pl): Prosta biblioteka miksera +Name: SDL_mixer +Version: 1.2.0 +Release: 4 +License: LGPL +Group: Libraries +Group(de): Libraries +Group(es): Bibliotecas +Group(fr): Librairies +Group(pl): Biblioteki +Group(pt_BR): Bibliotecas +Group(ru): âÉÂÌÉÏÔÅËÉ +Group(uk): â¦Â̦ÏÔÅËÉ +Source0: http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz +Patch0: %{name}-timidity_cfg.patch +URL: http://www.libsdl.org/projects/SDL_mixer/ +BuildRequires: SDL-devel >= 1.2.0 +BuildRequires: XFree86-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: esound-devel +BuildRequires: libtool +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 %description -Due to popular demand, here is a simple multi-channel audio mixer. -It supports 4 channels of 16 bit stereo audio, plus a single channel -of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 +Due to popular demand, here is a simple multi-channel audio mixer. It +supports 4 channels of 16 bit stereo audio, plus a single channel of +music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 libraries. +%description -l pl +Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego +dzwiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny +MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3. + %package devel -Summary: Libraries, includes and more to develop SDL applications. -Group: Development/Libraries -Requires: %{name} +Summary: Header files and more to develop SDL_mixer applications +Summary(pl): Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name} = %{version} +Requires: SDL-devel %description devel -Due to popular demand, here is a simple multi-channel audio mixer. -It supports 4 channels of 16 bit stereo audio, plus a single channel -of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 -libraries. +Header files and more to develop SDL_mixer applications. + +%description -l pl devel +Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer + +%package static +Summary: Static SDL_mixer libraries +Summary(pl): Statyczne biblioteki SDL_mixer +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name}-devel = %{version} + +%description static +Static SDL_mixer libraries. + +%description -l pl static +Statyczne biblioteki SDL_mixer. %prep -%setup +%setup -q +%patch -p1 %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} -make +rm -f missing +libtoolize --copy --force +aclocal +autoconf +automake -a -c +%configure +%{__make} %install rm -rf $RPM_BUILD_ROOT -make install prefix=$RPM_BUILD_ROOT/%{prefix} + +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +gzip -9nf README CHANGES %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files -%defattr(-,root,root) -%doc README CHANGES COPYING -%{prefix}/bin/playmus -%{prefix}/bin/playwave -%{prefix}/lib/lib*.so.* -%{prefix}/lib/lib*.so +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/playmus +%attr(755,root,root) %{_bindir}/playwave +%attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel -%defattr(-,root,root) -%{prefix}/lib/*a -%{prefix}/include/SDL/ - -%changelog -* Wed Jan 19 2000 Sam Lantinga -- converted to get package information from configure -* Sun Jan 16 2000 Hakan Tandogan -- initial spec file +%defattr(644,root,root,755) +%doc *.gz +%attr(755,root,root) %{_libdir}/lib*.so +%attr(755,root,root) %{_libdir}/lib*.la +%{_includedir}/SDL/* + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a