forked from dosemu2/dosemu2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dosemu2.spec.in
79 lines (67 loc) · 1.67 KB
/
dosemu2.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# spec file for package Dosemu2
#
# Written by Mateusz Viste for the DOSEMU2 project.
# updated by stsp
#
Name: dosemu2
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: The DOS emulator for Linux
Group: System/Emulator
License: GPL-2.0+
URL: www.github.com/stsp/dosemu2
Source0: %{name}-%{version}.tar.gz
BuildRequires: SDL2-devel
BuildRequires: libXext-devel
BuildRequires: alsa-lib-devel
BuildRequires: fluidsynth-devel
BuildRequires: gpm-devel
BuildRequires: libao-devel
BuildRequires: ladspa-devel
BuildRequires: slang-devel
BuildRequires: bison
BuildRequires: flex
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bdftopcf
BuildRequires: mkfontdir
BuildRequires: sed
# the below is not strictly required, as dosemu can dynamically
# load plugins. But we want the fully-featured install.
Requires: SDL2
Requires: libXext
Requires: alsa-lib
Requires: fluidsynth
Requires: gpm-libs
Requires: libao
Requires: ladspa
Requires: slang
%description
DOSEMU2 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.
%prep
%setup
%build
./autogen.sh
./default-configure --sysconfdir=%{_sysconfdir}/dosemu --prefix=/usr \
--libdir=%{_libdir} \
--with-fdtarball=%{_sourcedir}/dosemu-freedos-bin.tgz
make
%check
%install
make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir}/dosemu install
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%lang(ru) %dir %{_mandir}/ru
%lang(ru) %dir %{_mandir}/ru/man1
%lang(ru) %{_mandir}/ru/man1/*
%{_libdir}/dosemu
%{_datadir}/dosemu
%doc %{_docdir}/dosemu
%dir %{_sysconfdir}/dosemu
%config(noreplace) %{_sysconfdir}/dosemu/dosemu.conf
%changelog