Fix FTBFS (rhbz#1555579)
Enable mp3 support now that it is allowed in Fedora (rhbz#1561308)
This commit is contained in:
parent
4d3cfd5dd1
commit
468656de06
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
SDL_sound-1.0.3.tar.gz
|
SDL_sound-1.0.3.tar.gz
|
||||||
|
/SDL_sound-1.0.3-clean.tar.gz
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
Name: SDL_sound
|
Name: SDL_sound
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
Summary: Library handling decoding of several popular sound file formats
|
Summary: Library handling decoding of several popular sound file formats
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.icculus.org/SDL_sound
|
URL: http://www.icculus.org/SDL_sound
|
||||||
# This is:
|
# This is:
|
||||||
# http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
|
# http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
|
||||||
# With all the files except the Makefiles under decoders/mpglib (patented)
|
# With PBProjects.tar.gz (contains binaries) removed
|
||||||
# and PBProjects.tar.gz (contains binaries) removed
|
Source0: %{name}-%{version}-clean.tar.gz
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
BuildRequires: SDL-devel flac-devel speex-devel libvorbis-devel libogg-devel
|
BuildRequires: SDL-devel flac-devel speex-devel libvorbis-devel libogg-devel
|
||||||
BuildRequires: mikmod-devel libmodplug-devel physfs-devel doxygen
|
BuildRequires: mikmod-devel libmodplug-devel physfs-devel doxygen
|
||||||
|
# SDL_sound uses a very stripped down mpg123-libs called mpglib
|
||||||
|
Provides: bundled(mpglib)
|
||||||
|
Provides: bundled(mpg123-libs)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SDL_sound is a library that handles the decoding of several popular sound file
|
SDL_sound is a library that handles the decoding of several popular sound file
|
||||||
@ -46,9 +48,10 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# no smpeg and internal mpglib because of patents!
|
export CFLAGS="$RPM_OPT_FLAGS -D__EXPORT__= -Wno-pointer-sign -Wno-deprecated-declarations"
|
||||||
|
# no smpeg because of patents!
|
||||||
%configure --disable-dependency-tracking --disable-static \
|
%configure --disable-dependency-tracking --disable-static \
|
||||||
--disable-smpeg --disable-mpglib --enable-mikmod --enable-ogg \
|
--disable-smpeg --enable-mpglib --enable-mikmod --enable-ogg \
|
||||||
--enable-modplug --enable-speex --enable-flac --enable-midi
|
--enable-modplug --enable-speex --enable-flac --enable-midi
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
doxygen Doxyfile
|
doxygen Doxyfile
|
||||||
@ -93,13 +96,12 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc COPYING README TODO
|
%doc README TODO
|
||||||
%{_bindir}/playsound*
|
%{_bindir}/playsound*
|
||||||
%{_libdir}/libSDL_sound-1.0.so.*
|
%{_libdir}/libSDL_sound-1.0.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc docs/html
|
%doc docs/html
|
||||||
%{_libdir}/libSDL_sound*.so
|
%{_libdir}/libSDL_sound*.so
|
||||||
%{_includedir}/SDL/SDL_sound.h
|
%{_includedir}/SDL/SDL_sound.h
|
||||||
@ -107,6 +109,10 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 28 2018 Hans de Goede <j.w.r.degoede@hhs.nl> - 1.0.3-21
|
||||||
|
- Fix FTBFS (rhbz#1555579)
|
||||||
|
- Enable mp3 support now that it is allowed in Fedora (rhbz#1561308)
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-20
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-20
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user