|
cvsextras |
7cbe57f |
Name: dosbox
|
|
|
4f76251 |
Version: 0.74
|
|
|
aa9f7d2 |
Release: 17%{?dist}
|
|
|
3adf11d |
|
|
|
814da2c |
Summary: x86/DOS emulator with sound and graphics
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
Group: Applications/Emulators
|
|
|
6111651 |
License: GPLv2+
|
|
|
5c79cec |
URL: http://www.dosbox.com
|
|
cvsextras |
7cbe57f |
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
cvsextras |
7cbe57f |
Source1: dosbox.desktop
|
|
|
814da2c |
Source2: dosbox.png
|
|
|
5c79cec |
# add translations {da,de,es,fr,it,ko,pt,ru} rhbz#752307
|
|
|
5c79cec |
Source10: DOSBox-0.74-DK.zip
|
|
|
5c79cec |
Source11: DOSBox-german-lang-0.74.zip
|
|
|
5c79cec |
Source12: DOSBox-spanish-074.zip
|
|
|
5c79cec |
Source13: DOSBox-0.74-lang-french.zip
|
|
|
5c79cec |
Source14: DOSBox-ita-lang-0.74.zip
|
|
|
5c79cec |
Source15: DOSBox-Kor-Lang-0.74.zip
|
|
|
5c79cec |
Source16: DOSBox-portuguese-br-lang-074.zip
|
|
|
5c79cec |
Source17: DOSBox-russian-lang-074.zip
|
|
|
5c79cec |
|
|
|
dec258c |
# From openSUSE:
|
|
|
dec258c |
# https://build.opensuse.org/package/view_file?file=gcc46.patch&package=dosbox&project=Emulators
|
|
|
dec258c |
Patch0: %{name}-%{version}-gcc46.patch
|
|
|
66f5cc5 |
# fix a crash in the joy-button mapping init when compiled with gcc-4.8
|
|
|
66f5cc5 |
Patch1: %{name}-%{version}-init-crash.patch
|
|
|
6437978 |
# fix format-security
|
|
|
6437978 |
Patch2: %{name}-0.74-formatsecurity.patch
|
|
|
aa9f7d2 |
# We apply these two mainly so that patch5 applies cleanly, they're
|
|
|
aa9f7d2 |
# bugfixes that don't really apply to us (OS X and clang compilation)
|
|
|
aa9f7d2 |
# but they're safe and one allegedly gives a small speed improvement
|
|
|
aa9f7d2 |
Patch3: 0001-update-64bit-recompiler-core-to-handle-OSX-memory-ad.patch
|
|
|
aa9f7d2 |
Patch4: 0001-Workaround-clang-confusing-itself-compile-error-resu.patch
|
|
|
aa9f7d2 |
# fix crash in many things when built with GCC 5
|
|
|
aa9f7d2 |
# http://sourceforge.net/p/dosbox/bugs/413/
|
|
|
aa9f7d2 |
# backport of http://sourceforge.net/p/dosbox/code-0/3951/
|
|
|
aa9f7d2 |
Patch5: 0001-Apply-patch-by-gulikoza-to-add-support-for-absolute-.patch
|
|
|
6437978 |
|
|
cvsextras |
7cbe57f |
BuildRequires: libpng-devel
|
|
cvsextras |
7cbe57f |
BuildRequires: SDL-devel
|
|
|
ccbfd2f |
BuildRequires: SDL_net-devel
|
|
|
23eadc4 |
BuildRequires: SDL_sound-devel
|
|
cvsextras |
7cbe57f |
BuildRequires: desktop-file-utils
|
|
|
94f888e |
BuildRequires: alsa-lib-devel
|
|
|
a31485e |
BuildRequireS: libGLU-devel
|
|
cvsextras |
7cbe57f |
|
|
|
c78bb13 |
Requires: hicolor-icon-theme
|
|
|
c78bb13 |
|
|
cvsextras |
7cbe57f |
%description
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
DOSBox is a DOS-emulator using SDL for easy portability to different
|
|
cvsextras |
7cbe57f |
platforms. DOSBox has already been ported to several different platforms,
|
|
cvsextras |
7cbe57f |
such as Windows, BeOS, Linux, Mac OS X...
|
|
cvsextras |
7cbe57f |
DOSBox emulates a 286/386 realmode CPU, Directory FileSystem/XMS/EMS,
|
|
cvsextras |
7cbe57f |
a SoundBlaster card for excellent sound compatibility with older games...
|
|
cvsextras |
7cbe57f |
You can "re-live" the good old days with the help of DOSBox, it can run plenty
|
|
cvsextras |
7cbe57f |
of the old classics that don't run on your new computer!
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
%prep
|
|
cvsextras |
7cbe57f |
%setup -q
|
|
|
dec258c |
%patch0 -p0
|
|
|
66f5cc5 |
%patch1 -p1
|
|
|
6437978 |
%patch2 -p1 -b.formatsecurity
|
|
|
aa9f7d2 |
%patch3 -p1
|
|
|
aa9f7d2 |
%patch4 -p1
|
|
|
aa9f7d2 |
%patch5 -p1
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
%build
|
|
|
3d88bb5 |
%configure --enable-core-inline
|
|
|
5c79cec |
%{__make} %{_smp_mflags}
|
|
cvsextras |
7cbe57f |
|
|
|
814da2c |
|
|
|
814da2c |
%check
|
|
cvsextras |
7cbe57f |
%{__make} check
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
%install
|
|
|
5c79cec |
make install DESTDIR=%{buildroot}
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
desktop-file-install \
|
|
|
66f5cc5 |
%if 0%{?fedora} && 0%{?fedora} < 19
|
|
|
66f5cc5 |
--vendor fedora \
|
|
|
66f5cc5 |
%endif
|
|
|
5c79cec |
--dir=%{buildroot}%{_datadir}/applications \
|
|
cvsextras |
7cbe57f |
%{SOURCE1}
|
|
cvsextras |
7cbe57f |
|
|
|
5c79cec |
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
|
5c79cec |
install -p -m 0644 %SOURCE2 %{buildroot}%{_datadir}/pixmaps
|
|
|
5c79cec |
|
|
|
5c79cec |
mkdir -p %{buildroot}%{_datadir}/dosbox/translations/{da,de,es,fr,it,ko,pt,ru}
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/da
|
|
|
5c79cec |
unzip -j %{SOURCE10}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/de
|
|
|
5c79cec |
unzip %{SOURCE11}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/es
|
|
|
5c79cec |
unzip %{SOURCE12}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/fr
|
|
|
5c79cec |
unzip %{SOURCE13}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/it
|
|
|
5c79cec |
unzip -j %{SOURCE14}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/ko
|
|
|
5c79cec |
unzip %{SOURCE15}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/pt
|
|
|
5c79cec |
unzip %{SOURCE16}
|
|
|
5c79cec |
popd
|
|
|
5c79cec |
pushd %{buildroot}%{_datadir}/dosbox/translations/ru
|
|
|
5c79cec |
unzip %{SOURCE17}
|
|
|
5c79cec |
popd
|
|
|
814da2c |
|
|
cvsextras |
7cbe57f |
%files
|
|
cvsextras |
7cbe57f |
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
|
|
cvsextras |
7cbe57f |
%{_bindir}/*
|
|
cvsextras |
7cbe57f |
%{_mandir}/man1/*
|
|
cvsextras |
7cbe57f |
%{_datadir}/applications/*
|
|
|
3cdadba |
%{_datadir}/pixmaps/dosbox.png
|
|
|
5c79cec |
%{_datadir}/dosbox
|
|
cvsextras |
7cbe57f |
|
|
|
814da2c |
|
|
cvsextras |
7cbe57f |
%changelog
|
|
|
aa9f7d2 |
* Wed Jan 06 2016 Adam Williamson <awilliam@redhat.com> - 0.74-17
|
|
|
aa9f7d2 |
- backport upstream patch to fix crashes when built with GCC 5 (SF #413)
|
|
|
aa9f7d2 |
|
|
|
224cfd4 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-16
|
|
|
224cfd4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
224cfd4 |
|
|
|
c7856fa |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.74-15
|
|
|
c7856fa |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
c7856fa |
|
|
|
5c79cec |
* Mon Jan 05 2015 Andreas Bierfert <andreas.bierfert@lowlatency.de>
|
|
|
5c79cec |
- 0.74-14
|
|
|
5c79cec |
- add 0.74 translations (rhbz#752307)
|
|
|
5c79cec |
- cleanup spec
|
|
|
5c79cec |
|
|
|
6b3abd7 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-13
|
|
|
6b3abd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
6b3abd7 |
|
|
|
505524e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-12
|
|
|
505524e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
505524e |
|
|
|
6437978 |
* Wed Dec 18 2013 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
6437978 |
- 0.74-11
|
|
|
6437978 |
- fix format security (rhbz#1037041)
|
|
|
6437978 |
|
|
|
5ef3d14 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-10
|
|
|
5ef3d14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5ef3d14 |
|
|
|
66f5cc5 |
* Fri May 10 2013 Hans de Goede <hdegoede@redhat.com> - 0.74-9
|
|
|
66f5cc5 |
- Fix crash on startup when compiled with gcc-4.8
|
|
|
66f5cc5 |
|
|
|
762df9e |
* Tue Feb 12 2013 Jon Ciesla <limburgher@gmail.com> - 0.74-8
|
|
|
762df9e |
- Drop desktop vendor tag.
|
|
|
762df9e |
|
|
|
7e95c32 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-7
|
|
|
7e95c32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7e95c32 |
|
|
|
83a5c0e |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-6
|
|
|
83a5c0e |
- Rebuilt for c++ ABI breakage
|
|
|
83a5c0e |
|
|
|
18f2a53 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-5
|
|
|
18f2a53 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
18f2a53 |
|
|
|
a760751 |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.74-4
|
|
|
a760751 |
- Rebuild for new libpng
|
|
|
a760751 |
|
|
|
dec258c |
* Thu Jun 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.74-3
|
|
|
dec258c |
- Adopt openSUSE's gcc46.patch (Fix FTBFS BZ#715677).
|
|
|
dec258c |
|
|
|
bcdde0e |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-2
|
|
|
bcdde0e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
bcdde0e |
|
|
|
4f76251 |
* Mon May 24 2010 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
4f76251 |
- 0.74-1
|
|
|
4f76251 |
- version upgrade (#592894)
|
|
|
4f76251 |
|
|
|
fe2d0ff |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-2
|
|
|
fe2d0ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
fe2d0ff |
|
|
|
f0a15ba |
* Sat May 30 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
f0a15ba |
- 0.73-1
|
|
|
f0a15ba |
- version upgrade
|
|
|
f0a15ba |
|
|
|
5fda7b7 |
* Sun Mar 08 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.72-7
|
|
|
5fda7b7 |
- Fix build with GCC 4.4
|
|
|
5fda7b7 |
- Fix key mapping with evdev driver (#473875)
|
|
|
5fda7b7 |
|
|
|
4f6e803 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72-6
|
|
|
4f6e803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4f6e803 |
|
|
|
7b2bdb2 |
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.72-5
|
|
|
7b2bdb2 |
- Fix Patch0:/%%patch mismatch.
|
|
|
7b2bdb2 |
|
|
|
23eadc4 |
* Fri Feb 22 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
23eadc4 |
- 0.72-4
|
|
|
23eadc4 |
- fix gcc43 build (#433990) with patch from Erik van Pienbroek
|
|
|
23eadc4 |
- add BR SDL_sound-devel
|
|
|
23eadc4 |
|
|
|
f4a6031 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.72-3
|
|
|
f4a6031 |
- Autorebuild for GCC 4.3
|
|
|
f4a6031 |
|
|
|
fd88ef7 |
* Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0.72-2
|
|
|
fd88ef7 |
- Rebuilt for gcc43
|
|
|
fd88ef7 |
|
|
|
17e2634 |
* Mon Aug 27 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
17e2634 |
- 0.72-1
|
|
|
17e2634 |
- version upgrade
|
|
|
17e2634 |
|
|
|
6111651 |
* Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
6111651 |
0.71-2
|
|
|
6111651 |
- new license tag
|
|
|
6111651 |
- rebuild for buildid
|
|
|
6111651 |
|
|
|
8253708 |
* Thu Aug 09 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
8253708 |
0.71-1
|
|
|
8253708 |
- version upgrade (#250149)
|
|
|
8253708 |
- new version has x86_64 dynamic core support (#247791)
|
|
|
8253708 |
|
|
|
c78bb13 |
* Fri Apr 27 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
c78bb13 |
0.70-3
|
|
|
c78bb13 |
- proper fix for #230902
|
|
|
c78bb13 |
- require hicolor-icon-theme
|
|
|
c78bb13 |
- drop X-Fedora category
|
|
|
c78bb13 |
|
|
|
234d56c |
* Wed Apr 25 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
234d56c |
0.70-2
|
|
|
234d56c |
- fix #230902
|
|
|
234d56c |
|
|
|
3d88bb5 |
* Sun Mar 04 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
234d56c |
0.70-1
|
|
|
3d88bb5 |
- version upgrade (#230768)
|
|
|
3d88bb5 |
|
|
|
e55ac1b |
* Tue Sep 12 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
e55ac1b |
0.65-3
|
|
|
e55ac1b |
- FE6 rebuild
|
|
|
e55ac1b |
|
|
|
ccbfd2f |
* Mon Jul 10 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
ccbfd2f |
0.65-2
|
|
|
ccbfd2f |
- add ipx support (#198057)
|
|
|
ccbfd2f |
|
|
|
a31485e |
* Thu Mar 30 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
a31485e |
0.65-1
|
|
|
a31485e |
- version upgrade
|
|
|
a31485e |
|
|
|
20970ba |
* Tue Feb 14 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
20970ba |
0.63-9
|
|
|
20970ba |
- Rebuild for Fedora Extras 5
|
|
|
20970ba |
|
|
|
52ccd02 |
* Wed Jan 25 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
52ccd02 |
0.63-8
|
|
|
52ccd02 |
- apply upstream patch
|
|
|
52ccd02 |
- fix typos
|
|
|
52ccd02 |
|
|
|
38c74a5 |
* Sun Jan 22 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
52ccd02 |
0.63-7
|
|
|
38c74a5 |
- add dist
|
|
|
38c74a5 |
- rebuild
|
|
|
b454083 |
- add gcc4.1 patch
|
|
|
38c74a5 |
|
|
|
44130b0 |
* Mon May 30 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
52ccd02 |
0.63-6
|
|
|
fe848d0 |
- add a x86_64 bugfix from upstream
|
|
|
fe848d0 |
|
|
|
fe848d0 |
* Mon May 30 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
52ccd02 |
0.63-5
|
|
|
bab8274 |
- more build fixes and cleanups...
|
|
|
bab8274 |
|
|
|
bab8274 |
* Mon May 30 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
44130b0 |
- more x86_64 build fixes...
|
|
|
44130b0 |
|
|
|
b53030b |
* Mon May 23 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
b53030b |
0.63-3
|
|
|
b53030b |
- fix x86_64 build (#158446)
|
|
|
b53030b |
|
|
|
3adf11d |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
3adf11d |
- rebuilt
|
|
|
3adf11d |
|
|
|
94f888e |
* Thu Nov 25 2004 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
94f888e |
0:0.63-1
|
|
|
94f888e |
- new version
|
|
|
94f888e |
- added missing BuildRequires
|
|
|
94f888e |
- merged with preextras spec
|
|
|
94f888e |
|
|
|
94f888e |
* Wed Nov 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
3cdadba |
- Add a desktop file icon from upstream package (fixes fedora.us #1144).
|
|
|
3cdadba |
|
|
|
94f888e |
* Mon May 31 2004 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
94f888e |
0:0.61-0.fdr.1
|
|
|
94f888e |
- new version
|
|
|
94f888e |
|
|
|
94f888e |
* Mon Dec 22 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
94f888e |
0:0.60-0.fdr.1
|
|
|
94f888e |
- new version
|
|
|
94f888e |
- closed bug #1144
|
|
cvsextras |
7cbe57f |
* Sun Jul 27 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
cvsextras |
7cbe57f |
0:0.58-0.fdr.3
|
|
cvsextras |
7cbe57f |
- Fixed minor stuff from #442 #3
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
* Sun Jul 13 2003 Andreas Bierfert (awjb) <andreas.bierfert[AT]awbsworld.de>
|
|
cvsextras |
7cbe57f |
0:0.58-0.fdr.2
|
|
cvsextras |
7cbe57f |
- Added desktop entry
|
|
cvsextras |
7cbe57f |
- Fixed minor stuff
|
|
cvsextras |
7cbe57f |
|
|
cvsextras |
7cbe57f |
* Mon Jun 30 2003 Andreas Bierfert (awjb) <andreas.bierfert[AT]awbsworld.de>
|
|
cvsextras |
7cbe57f |
0:0.58-0.fdr.1
|
|
cvsextras |
7cbe57f |
- Initial RPM release.
|