-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdbgl.spec
More file actions
93 lines (70 loc) · 2.08 KB
/
dbgl.spec
File metadata and controls
93 lines (70 loc) · 2.08 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Name: dbgl
Summary: DBGL - DOSBox Game Launcher
URL: http://home.quicknet.nl/qn/prive/blankendaalr/dbgl/
Group: Applications/Multimedia
Version: 0.78
Release: 1%{?dist}
BuildArch: noarch
License: GPLv2
BuildRequires: eclipse-swt
BuildRequires: hsqldb
BuildRequires: jpackage-utils
BuildRequires: p7zip
BuildRequires: unzip
BuildRequires: xerces-j2
Requires: dosbox >= 0.70
Requires: eclipse-swt
Requires: hsqldb
Requires: java >= 1.5
Requires: jpackage-utils
Requires: SDL_net
Requires: SDL_sound
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Source0: http://members.quicknet.nl/blankendaalr/dbgl/download/%{name}078_generic.tar.gz
Source2: dbgl.png
Source3: dbgl
BuildRequires: liboil
%description
DBGL is a Java front-end for DOSBox, based largely upon the proven
interface of D-Fend.
The front-end is by no means finished. It is a work in progress
and lacking many features, but the core is working, and I think
the product is somewhat usable as it is. Please bear in mind that
the interface is still quite rough around the edges.
Autor: Ronald Blankendaal <r.blankendaal@quicknet.nl>
%prep
%setup -c
%build
%install
# jars
%__install -dm 755 %{buildroot}%{_javadir}/%{name}/
cp -af * %{buildroot}/%{_javadir}/%{name}/
# startscript
%__install -dm 755 %{buildroot}%{_bindir}
install -m 644 %{SOURCE3} %{buildroot}%{_bindir}
# icons
%__install -dm 755 %{buildroot}%{_datadir}/pixmaps
%__install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
# menu
%__install -dm 755 %{buildroot}%{_datadir}/applications
%__cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=dbgl
Icon=/usr/share/pixmaps/dbgl.png
Terminal=false
Name=DOSBox Game Launcher
Comment=%{summary}
Categories=Utility;
EOF
%files
%{_bindir}/%{name}
%{_javadir}/%{name}
%{_datadir}/pixmaps/*.png
%{_datadir}/applications/%{name}.desktop
%changelog
* Wed Dec 10 2014 Oleg Kishinskiy <legunt@yandex.ru> - 0.78-1
- Update for new vertion
* Mon Jul 29 2013 David Vásquez <davidjeremias82 AT gmail DOT com> - 0.76-2
- Initial build rpm