]> git.pld-linux.org Git - packages/dosbox.git/blame - dosbox.spec
- 0.73
[packages/dosbox.git] / dosbox.spec
CommitLineData
d08b350a
JB
1#
2# Conditional build:
3%bcond_without alsa # without ALSA support for MIDI
4#
12a12710 5Summary: x86/DOS emulator with sound/graphics primarily for games
2f8badcc 6Summary(pl.UTF-8): Emulator x86/DOS z dźwiękiem/grafiką głównie dla gier
12a12710 7Name: dosbox
58493561 8Version: 0.73
16ff57a3 9Release: 1
607f52bb 10License: GPL v2+
12a12710 11Group: Applications/Emulators
45dc4d4a 12Source0: http://dl.sourceforge.net/dosbox/%{name}-%{version}.tar.gz
58493561 13# Source0-md5: 0823a11242db711ac3d6ebfff6aff572
d1a62cda 14Source1: %{name}.desktop
15Source2: %{name}.png
16Source3: %{name}.conf
1c647cf6 17URL: http://dosbox.sourceforge.net/
ee3338e4
JB
18BuildRequires: OpenGL-devel
19# because of SDL_opengl deps
20BuildRequires: OpenGL-GLU-devel
21BuildRequires: SDL-devel >= 1.2.0
d08b350a 22BuildRequires: SDL_net-devel
0868dc72 23BuildRequires: SDL_sound-devel
d08b350a
JB
24%{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9.0}
25BuildRequires: autoconf
26BuildRequires: automake
12a12710 27BuildRequires: libpng-devel
65856a91 28BuildRequires: libstdc++-devel
12a12710 29%{?debug:BuildRequires: ncurses-devel}
12a12710 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
384ad7cd 32%define specflags -fmerge-all-constants -ffast-math
c7f436a2 33
12a12710 34%description
963bb6e4 35DOSBox emulates a 286/386 realmode/protected mode CPU, Directory
36FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a
37SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility
38with older games...
12a12710 39
5261669d 40You can "re-live" the good old days with the help of DOSBox, it can
41run plenty of the old classics that don't run on your new computer!
12a12710 42
8371508c 43%description -l pl.UTF-8
963bb6e4 44DOSBox emuluje tryb rzeczywisty/chroniony procesora 286/386, system
8371508c 45plików z katalogami, pamięć XMS/EMS, karty graficzne
963bb6e4 46Tandy/Hercules/CGA/EGA/VGA/VESA oraz karty muzyczne
47SoundBlaster/Gravis Ultra Sound w celu zapewnienia znakomitej
8371508c 48kompatybilności ze starymi grami.
12a12710 49
8371508c
JR
50Stare wspomnienia odżyją z pomocą DOSBoksa. Dzięki niemu można
51uruchomić mnóstwo klasyków, które nie odpalają się na nowych
5261669d 52komputerach.
12a12710 53
54%prep
55%setup -q
56
57%build
d08b350a 58# kill AM_PATH_SDL and AM_PATH_ALSA, leave only AH_{TOP,BOTTOM}
1272adbe 59tail -n +306 acinclude.m4 > acinclude.m4.tmp
d08b350a
JB
60mv -f acinclude.m4.tmp acinclude.m4
61%if !%{with alsa}
62echo 'AC_DEFUN([AM_PATH_ALSA], [$3])' >> acinclude.m4
63%endif
64%{__aclocal}
65%{__autoconf}
66%{__autoheader}
67%{__automake}
12a12710 68%configure \
69 --enable-shots \
70 %{?debug:--enable-debug}
71
72%{__make}
73
74%install
5261669d 75rm -rf $RPM_BUILD_ROOT
c7f436a2 76install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
d1a62cda 77
cbfc030d
PG
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
12a12710 80
d1a62cda 81install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
82install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
c7f436a2 83install %{SOURCE3} .
d1a62cda 84
12a12710 85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%files
89%defattr(644,root,root,755)
c7f436a2 90%doc AUTHORS NEWS README THANKS dosbox.conf
12a12710 91%attr(755,root,root) %{_bindir}/*
92%{_mandir}/man1/*
a1bb5f87 93%{_desktopdir}/*.desktop
d1a62cda 94%{_pixmapsdir}/*
This page took 1.062535 seconds and 4 git commands to generate.