ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: SDL_mixer
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: SDL_mixer
Version: 1.2.7
Release: alt2
Summary: Simple DirectMedia Layer - mixer
Group: System/Libraries
License: LGPL
Url: http://www.libsdl.org/projects/SDL_mixer/
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Source0: http://www.libsdl.org/projects/SDL_mixer/release/%name-%version.tar.gz
Patch0: SDL_mixer-fix-timidity-path.patch
# Automatically added by buildreq on Wed Dec 20 2006
BuildRequires: esound gcc-c++ libSDL-devel libsmpeg-devel libvorbis-devel
%description
SDL_mixer is a sample multi-channel audio mixer library. It supports any number
of simultaneously playing channels of 16 bit stereo audio, plus a single
channel of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
libraries.
%package -n lib%name
Summary: Main library for %name
Group: System/Libraries
%description -n lib%name
This package contains the library needed to run programs dynamically
linked with %name.
%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%package -n lib%name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This package contains the static libraries that programmers will need to develop
applications which will use %name.
%prep
%setup -q
%patch0 -p1
%build
%undefine __libtoolize
%configure \
--disable-music-mp3-shared \
--disable-music-ogg-shared \
--disable-music-libmikmod
%make_build
%install
%make DESTDIR=%buildroot install
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files -n lib%name
%doc README
%_libdir/lib*.so.*
%files -n lib%name-devel
%_includedir/SDL
%_libdir/*.so
%files -n lib%name-devel-static
%_libdir/*.a
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.2.7
Release: alt2
Summary: Simple DirectMedia Layer - mixer
Group: System/Libraries
License: LGPL
Url: http://www.libsdl.org/projects/SDL_mixer/
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Source0: http://www.libsdl.org/projects/SDL_mixer/release/%name-%version.tar.gz
Patch0: SDL_mixer-fix-timidity-path.patch
# Automatically added by buildreq on Wed Dec 20 2006
BuildRequires: esound gcc-c++ libSDL-devel libsmpeg-devel libvorbis-devel
%description
SDL_mixer is a sample multi-channel audio mixer library. It supports any number
of simultaneously playing channels of 16 bit stereo audio, plus a single
channel of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
libraries.
%package -n lib%name
Summary: Main library for %name
Group: System/Libraries
%description -n lib%name
This package contains the library needed to run programs dynamically
linked with %name.
%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%package -n lib%name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This package contains the static libraries that programmers will need to develop
applications which will use %name.
%prep
%setup -q
%patch0 -p1
%build
%undefine __libtoolize
%configure \
--disable-music-mp3-shared \
--disable-music-ogg-shared \
--disable-music-libmikmod
%make_build
%install
%make DESTDIR=%buildroot install
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files -n lib%name
%doc README
%_libdir/lib*.so.*
%files -n lib%name-devel
%_includedir/SDL
%_libdir/*.so
%files -n lib%name-devel-static
%_libdir/*.a
%changelog
…
Todas as alterações você pod ver aqui