package created using the webbuild interface [release 2.0.4-1mamba;Fri Feb 26 2021]
This commit is contained in:
parent
9442760f86
commit
210a213226
@ -1,2 +1,5 @@
|
||||
# sdl2_mixer
|
||||
|
||||
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 FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
|
||||
|
||||
|
84
sdl2_mixer.spec
Normal file
84
sdl2_mixer.spec
Normal file
@ -0,0 +1,84 @@
|
||||
Name: sdl2_mixer
|
||||
Version: 2.0.4
|
||||
Release: 1mamba
|
||||
Summary: a sample multi-channel audio mixer library.
|
||||
Group: System/Multimedia
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||
URL: https://www.libsdl.org/projects/SDL_mixer/
|
||||
Source: https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-%{version}.zip
|
||||
License: zlib/libpng
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libSDL2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires(post): %{__install_info}
|
||||
Requires(preun): %{__install_info}
|
||||
|
||||
%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 FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n SDL2_mixer-%{version}
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%post -n lib%{name}-devel
|
||||
%install_info %{name}.info
|
||||
exit 0
|
||||
|
||||
%preun -n lib%{name}-devel
|
||||
%uninstall_info %{name}.info
|
||||
exit 0
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/SDL2/*.h
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%doc README.txt
|
||||
|
||||
%changelog
|
||||
* Fri Feb 26 2021 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.0.4-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user