-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFrodo.spec
59 lines (50 loc) · 1.52 KB
/
Frodo.spec
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
%define name Frodo
%define version 4.5
%define release 1
Summary: Commodore 64 emulator
Name: %{name}
Version: %{version}
Release: %{release}
License: GPLv2
Group: Applications/Emulators
Source: %{name}-%{version}.tar.gz
URL: https://frodo.cebix.net
BuildRequires: gcc-c++
BuildRequires: SDL2-devel >= 2.30
BuildRequires: gtk3-devel >= 3.24
BuildRequires: desktop-file-utils
BuildRoot: %{_tmppath}/%{name}-root
Prefix: %{_prefix}
%description
Frodo is a free, portable Commodore 64 emulator that runs on a variety
of platforms, with a focus on the exact reproduction of special graphical
effects possible on the C64.
Frodo comes in two flavours: The regular "Frodo" which uses a cycle-exact
emulation, and the simplified "Frodo Lite" which is less compatible but runs
better on slower machines.
%prep
%setup -q
%build
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix}
make
%install
rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=${RPM_BUILD_ROOT} install
%post
update-desktop-database &> /dev/null || :
update-mime-database %{_datadir}/mime/packages &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
update-mime-database %{_datadir}/mime/packages &> /dev/null || :
%files
%defattr(-,root,root)
%doc CHANGES COPYING
%doc docs/*.html
%{_bindir}/Frodo
%{_bindir}/FrodoLite
%{_datadir}/Frodo/Frodo.ui
%{_datadir}/Frodo/Frodo_Logo.png
%{_datadir}/applications/Frodo.desktop
%{_datadir}/applications/FrodoLite.desktop
%{_datadir}/icons/hicolor/128x128/apps/Frodo.png
%{_datadir}/mime/packages/vnd.cbm-Frodo.xml