dosbox/dosbox.spec
2024-01-05 21:54:56 +01:00

67 lines
2.2 KiB
RPMSpec

%define pkgver %(echo %version | tr _ -)
Name: dosbox
Version: 0.74_3
Release: 1mamba
Summary: A DOS-emulator that uses the SDL-library
Group: Applications/Emulators
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://dosbox.sourceforge.net
Source: https://freefr.dl.sourceforge.net/project/dosbox/dosbox/%{pkgver}/dosbox-%{pkgver}.tar.gz
#Source: https://sourceforge.net/projects/dosbox/files/dosbox/%{pkgver}/dosbox-%{pkgver}.tar.gz
License: GPL
BuildRequires: libSDL_net-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL-devel
#BuildRequires: libGL-Mesa-X11-devel
BuildRequires: libalsa-devel
BuildRequires: libSDL_sound
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
DOSBox is a DOS-emulator that uses the SDL-library which makes DOSBox very easy to port to different platforms. DOSBox has already been ported to many different platforms, such as Windows, BeOS, Linux, MacOS X.
DOSBox also emulates CPU:286/386 realmode/protected mode, Directory FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility with older games.
%prep
%setup -q -n %{name}-%{pkgver}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/dosbox
%{_mandir}/man1/dosbox.*
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%changelog
* Tue Feb 23 2021 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.74_3-1mamba
- update to 0.74_3
* Tue Sep 04 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.74_2-1mamba
- update to 0.74_2
* Wed May 12 2010 Automatic Build System <autodist@mambasoft.it> 0.74-1mamba
- automatic update to 0.74 by autodist
* Thu May 28 2009 Automatic Build System <autodist@mambasoft.it> 0.73-1mamba
- automatic update to 0.73 by autodist
* Tue Sep 04 2007 Aleph0 <aleph0@openmamba.org> 0.72-1mamba
- update to 0.72
* Mon Jul 30 2007 Aleph0 <aleph0@openmamba.org> 0.71-1mamba
- update to 0.71
* Fri Mar 31 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.65-1qilnx
- package created by autospec