2013-07-30 13:00:20 +00:00
|
|
|
Name: SDL2
|
2017-09-23 08:19:51 +00:00
|
|
|
Version: 2.0.6
|
|
|
|
Release: 1%{?dist}
|
2013-07-30 13:00:20 +00:00
|
|
|
Summary: A cross-platform multimedia library
|
2016-07-10 19:10:53 +00:00
|
|
|
|
2013-07-30 13:00:20 +00:00
|
|
|
License: zlib and MIT
|
2016-07-10 19:10:53 +00:00
|
|
|
URL: http://www.libsdl.org/
|
2013-09-04 08:16:13 +00:00
|
|
|
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
2013-08-24 09:14:16 +00:00
|
|
|
Source1: SDL_config.h
|
2016-07-10 19:10:53 +00:00
|
|
|
|
2013-08-24 09:14:16 +00:00
|
|
|
Patch0: multilib.patch
|
2016-07-10 19:10:53 +00:00
|
|
|
|
2013-07-30 13:00:20 +00:00
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: audiofile-devel
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
BuildRequires: mesa-libGLU-devel
|
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
BuildRequires: mesa-libGLES-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXi-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libXScrnSaver-devel
|
|
|
|
BuildRequires: libusb-devel
|
2013-12-10 09:20:33 +00:00
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
BuildRequires: systemd-devel
|
2016-07-10 19:03:40 +00:00
|
|
|
# PulseAudio
|
|
|
|
BuildRequires: pkgconfig(libpulse-simple)
|
2017-09-23 08:19:51 +00:00
|
|
|
# Jack
|
|
|
|
BuildRequires: pkgconfig(jack)
|
2016-07-10 19:03:40 +00:00
|
|
|
# D-Bus
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2016-07-10 18:54:11 +00:00
|
|
|
# IBus
|
|
|
|
BuildRequires: pkgconfig(ibus-1.0)
|
2014-03-08 19:07:00 +00:00
|
|
|
# Wayland
|
2016-07-10 19:03:40 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
2016-09-05 14:23:21 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
2016-07-10 19:03:40 +00:00
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
2017-09-23 08:19:51 +00:00
|
|
|
# Vulkan
|
|
|
|
BuildRequires: vulkan-devel
|
2013-07-30 13:00:20 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed
|
|
|
|
to provide fast access to the graphics frame buffer and audio device.
|
|
|
|
|
|
|
|
%package devel
|
2016-07-10 19:10:53 +00:00
|
|
|
Summary: Files needed to develop Simple DirectMedia Layer applications
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: mesa-libEGL-devel%{?_isa}
|
|
|
|
Requires: mesa-libGLES-devel%{?_isa}
|
|
|
|
Requires: libX11-devel%{?_isa}
|
2013-07-30 13:00:20 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed
|
|
|
|
to provide fast access to the graphics frame buffer and audio device. This
|
|
|
|
package provides the libraries, include files, and other resources needed for
|
|
|
|
developing SDL applications.
|
|
|
|
|
2016-02-25 19:39:56 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static libraries for SDL2
|
|
|
|
|
|
|
|
%description static
|
|
|
|
Static libraries for SDL2.
|
|
|
|
|
2013-07-30 13:00:20 +00:00
|
|
|
%prep
|
2016-10-20 12:28:27 +00:00
|
|
|
%autosetup -p1
|
2013-07-30 13:00:20 +00:00
|
|
|
# Compilation without ESD
|
|
|
|
sed -i -e 's/.*AM_PATH_ESD.*//' configure.in
|
|
|
|
sed -i -e 's/\r//g' TODO.txt README.txt WhatsNew.txt BUGS.txt COPYING.txt CREDITS.txt README-SDL.txt
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-sdl-dlopen \
|
|
|
|
--disable-arts \
|
|
|
|
--disable-esd \
|
|
|
|
--disable-nas \
|
|
|
|
--enable-pulseaudio-shared \
|
2017-09-23 08:19:51 +00:00
|
|
|
--enable-jack-shared \
|
2013-07-30 13:00:20 +00:00
|
|
|
--enable-alsa \
|
2014-03-08 19:07:00 +00:00
|
|
|
--enable-video-wayland \
|
2017-09-23 08:19:51 +00:00
|
|
|
--enable-video-vulkan \
|
|
|
|
--enable-sse2=no \
|
|
|
|
--enable-sse3=no \
|
2013-07-30 13:00:20 +00:00
|
|
|
--disable-rpath
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-10-24 11:01:15 +00:00
|
|
|
%make_install
|
2013-07-30 13:00:20 +00:00
|
|
|
|
2013-08-24 09:14:16 +00:00
|
|
|
# Rename SDL_config.h to SDL_config-<arch>.h to avoid file conflicts on
|
|
|
|
# multilib systems and install SDL_config.h wrapper
|
2013-08-24 09:24:31 +00:00
|
|
|
mv %{buildroot}%{_includedir}/SDL2/SDL_config.h %{buildroot}%{_includedir}/SDL2/SDL_config-%{_arch}.h
|
2013-08-24 09:14:16 +00:00
|
|
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h
|
|
|
|
|
2013-07-30 13:00:20 +00:00
|
|
|
# remove libtool .la file
|
2017-09-23 08:19:51 +00:00
|
|
|
rm -vf %{buildroot}%{_libdir}/*.la
|
2013-07-30 13:00:20 +00:00
|
|
|
# remove static .a file
|
2016-02-25 19:39:56 +00:00
|
|
|
# rm -f %{buildroot}%{_libdir}/*.a
|
2013-07-30 13:00:20 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2016-02-25 19:39:56 +00:00
|
|
|
%license COPYING.txt
|
|
|
|
%doc BUGS.txt CREDITS.txt README-SDL.txt
|
2013-07-30 13:00:20 +00:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc README.txt TODO.txt WhatsNew.txt
|
|
|
|
%{_bindir}/*-config
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/sdl2.pc
|
2016-01-04 15:46:36 +00:00
|
|
|
%{_libdir}/cmake/SDL2/
|
2013-07-30 13:00:20 +00:00
|
|
|
%{_includedir}/SDL2
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
|
2016-02-25 19:39:56 +00:00
|
|
|
%files static
|
|
|
|
%license COPYING.txt
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
|
2013-07-30 13:00:20 +00:00
|
|
|
%changelog
|
2017-09-23 08:19:51 +00:00
|
|
|
* Sat Sep 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.6-1
|
|
|
|
- Update to 2.0.6
|
|
|
|
|
2017-08-02 17:14:38 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:20:59 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 05:33:08 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-27 08:05:07 +00:00
|
|
|
* Fri Jan 27 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.0.5-3
|
|
|
|
- Fix NULL dereference (RHBZ #1416945)
|
|
|
|
|
2016-10-26 09:01:40 +00:00
|
|
|
* Wed Oct 26 2016 Dan Horák <dan[at]danny.cz> - 2.0.5-2
|
|
|
|
- fix FTBFS on ppc64/ppc64le
|
|
|
|
|
2016-10-20 12:28:27 +00:00
|
|
|
* Thu Oct 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.5-1
|
|
|
|
- Update to 2.0.5 (RHBZ #1387238)
|
|
|
|
|
2016-09-05 14:23:21 +00:00
|
|
|
* Mon Sep 05 2016 Kalev Lember <klember@redhat.com> - 2.0.4-9
|
|
|
|
- Backport Wayland fixes from upstream
|
|
|
|
|
2016-08-14 07:13:49 +00:00
|
|
|
* Sun Aug 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.0.4-8
|
|
|
|
- Fix whitespaces in CMake file (RHBZ #1366868)
|
|
|
|
|
2016-07-10 19:10:53 +00:00
|
|
|
* Sun Jul 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.4-7
|
|
|
|
- Remove useless Requirements from -devel subpkg
|
|
|
|
|
2016-07-10 18:54:11 +00:00
|
|
|
* Sun Jul 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.4-6
|
|
|
|
- Add ibus support
|
|
|
|
|
2016-07-10 17:17:26 +00:00
|
|
|
* Sun Jul 10 2016 Joseph Mullally <jwmullally@gmail.com> - 2.0.4-5
|
|
|
|
- fix Wayland dynamic symbol loading (bz1354155)
|
|
|
|
|
2016-02-25 19:39:56 +00:00
|
|
|
* Thu Feb 25 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.4-4
|
|
|
|
- enable static subpackage (bz1253930)
|
|
|
|
|
2016-02-05 17:28:51 +00:00
|
|
|
* Fri Feb 5 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.4-3
|
|
|
|
- fix compile against latest wayland
|
|
|
|
|
2016-02-03 15:48:37 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-04 15:46:36 +00:00
|
|
|
* Mon Jan 04 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.4-1
|
|
|
|
- update to 2.0.4
|
|
|
|
|
2015-09-09 16:08:00 +00:00
|
|
|
* Fri Sep 04 2015 Michal Toman <mtoman@fedoraproject.org> - 2.0.3-7
|
|
|
|
- Add support for MIPS architecture to SDL_config.h
|
|
|
|
|
2015-06-16 23:21:46 +00:00
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-02 18:50:20 +00:00
|
|
|
* Tue Jun 2 2015 Tom Callaway <spot@fedoraproject.org> - 2.0.3-5
|
|
|
|
- remove code preventing builds with ancient gcc
|
|
|
|
|
2014-08-15 19:30:25 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-11 14:33:10 +00:00
|
|
|
* Wed Jun 11 2014 Karsten Hopp <karsten@redhat.com> 2.0.3-3
|
|
|
|
- fix filename of SDL_config.h for ppc64le
|
|
|
|
|
2014-06-06 23:37:36 +00:00
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-18 20:30:06 +00:00
|
|
|
* Wed Mar 19 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.3-1
|
|
|
|
- 2.0.3 upstream release
|
|
|
|
|
2014-03-08 19:07:00 +00:00
|
|
|
* Sat Mar 08 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.2-1
|
|
|
|
- 2.0.2 upstream release
|
|
|
|
- Enable wayland backend
|
|
|
|
|
2013-12-10 09:20:33 +00:00
|
|
|
* Tue Dec 10 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.1-2
|
|
|
|
- Add libXinerama, libudev, libXcursor support (RHBZ #1039702)
|
|
|
|
|
2013-10-24 10:23:45 +00:00
|
|
|
* Thu Oct 24 2013 Tom Callaway <spot@fedoraproject.org> - 2.0.1-1
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2013-08-24 09:14:16 +00:00
|
|
|
* Sat Aug 24 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-3
|
|
|
|
- Fix multilib issues
|
|
|
|
|
2013-08-13 09:43:55 +00:00
|
|
|
* Tue Aug 13 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-2
|
|
|
|
- SDL2 is released. Announce:
|
|
|
|
- http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-August/089854.html
|
|
|
|
|
2013-08-10 07:14:19 +00:00
|
|
|
* Sat Aug 10 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1.rc4
|
|
|
|
- Update to latest SDL2 (08.08.2013)
|
|
|
|
|
2013-07-30 13:00:20 +00:00
|
|
|
* Tue Jul 30 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1.rc3
|
|
|
|
- Fix Licenses
|
|
|
|
- some cleanups in spec
|
|
|
|
|
|
|
|
* Tue Jul 30 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1.rc2
|
|
|
|
- Delete -static package
|
|
|
|
- Fix License tag
|
|
|
|
- Fix end-of-line in documents
|
|
|
|
- Remove all spike-nails EL-specify (if someone will want to do - 'patches are welcome')
|
|
|
|
- Change Release tag to .rcX%%{?dist} (maintainer has changed released tarballs)
|
|
|
|
|
|
|
|
* Mon Jul 29 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1.rc1
|
|
|
|
- Some fixes in spec and cleanup
|
|
|
|
|
|
|
|
* Mon Jul 29 2013 Jon Ciesla <limburgher@gmail.com> - 2.0.0-1
|
|
|
|
- Ported from SDL 1.2.15-10
|