dosbox/dosbox.spec

75 lines
2.5 KiB
RPMSpec

%define pkgver %(echo %version | tr _ -)
Name: dosbox
Version: 0.76.0
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: https://www.dosbox.com/
Source: https://github.com/dosbox-staging/dosbox-staging.git/v%{version}/dosbox-staging-%{version}.tar.bz2
#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
BuildRequires: libopusfile-devel
%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.
%debug_package
%prep
%setup -q -n %{name}-staging-%{version}
./autogen.sh
%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
* Thu Jun 24 2021 Automatic Build System <autodist@mambasoft.it> 0.76.0-1mamba
- automatic version update by autodist
* 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