diff --git a/dosemu.spec b/dosemu.spec index 2dbac10..424561e 100644 --- a/dosemu.spec +++ b/dosemu.spec @@ -1,5 +1,6 @@ +%define gitcommit %(echo %version | cut -d+ -f2 | cut -d. -f2) Name: dosemu -Version: 1.4.0.8 +Version: 1.4.0.8+20130803git.35054b Release: 1mamba Summary: A DOS emulator that allows you to run DOS and many DOS programs Group: Applications/Emulators @@ -7,33 +8,39 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.dosemu.org/ -Source: git://git.code.sf.net/p/dosemu/code.git/dosemu-%{version}/code-%{version}.tar.bz2 +Source: git://git.code.sf.net/p/dosemu/code.git/master@%{gitcommit}/code-%{version}.tar.bz2 Source1: http://downloads.sourceforge.net/sourceforge/dosemu/dosemu-freedos-1.0-bin.tgz -#Source: http://prdownloads.sourceforge.net/dosemu/dosemu-%{version}.tgz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libalsa-devel -BuildRequires: libgpm-devel -BuildRequires: libSDL-devel -BuildRequires: libslang-devel -BuildRequires: libsndfile-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXxf86vm-devel +BuildRequires: libalsa-devel +BuildRequires: libfluidsynth-devel +BuildRequires: libgpm-devel +BuildRequires: libsdl12-compat-devel +BuildRequires: libslang-devel +BuildRequires: libsndfile-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description DOSEMU stands for DOS Emulation, and allows you to run DOS and many DOS programs, including many DPMI applications such as DOOM and Windows 3.1, under Linux. +%debug_package + %prep %setup -q -n code-%{version} +# NOTE: dubious workaround for linker error: +# section .note.gnu.property LMA [0000000000000000,000000000000002f] overlaps section .text LMA [0000000000000000,0000000000000293] +sed -i "s|text,0|text,40|" src/commands/Makefile %build %configure \ --sysconfdir=%{_sysconfdir}/dosemu \ - --with-fdtarball=%{SOURCE1} + --with-fdtarball=%{SOURCE1} \ + --with-svgalib \ + --with-x %make @@ -93,6 +100,9 @@ chmod +x %{buildroot}%{_libdir}/dosemu/*.so #%doc README.bindist %changelog +* Fri Nov 01 2024 Silvan Calarco 1.4.0.8+20130803git.35054b-1mamba +- update to 1.4.0.8+20130803git.35054b + * Mon Sep 16 2013 Automatic Build System 1.4.0.8-1mamba - update to 1.4.0.8