-
Notifications
You must be signed in to change notification settings - Fork 21
/
megazeux.spec
98 lines (75 loc) · 2.75 KB
/
megazeux.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
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
94
95
96
97
98
Name: megazeux
Version: 2.93b
Release: 1%{?dist}
Summary: A simple game creation system (GCS)
Group: Amusements/Games
License: GPLv2+
URL: https://www.digitalmzx.com/
Source: megazeux-2.93b.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: SDL2-devel
BuildRequires: libvorbis-devel
BuildRequires: libpng-devel
BuildRequires: zlib-devel
%description
MegaZeux is a Game Creation System (GCS), inspired by Epic MegaGames' ZZT,
first released by Alexis Janson in 1994. It has since been ported from 16-bit
MS DOS C/ASM to portable SDL C/C++, improving its platform support and
hardware compatibility.
Many features have been added since the original DOS version, and with the
help of an intuitive editor and a simple but powerful object-oriented
programming language, MegaZeux allows you to create your own ANSI-esque games
regardless of genre.
See https://www.digitalmzx.com/ for more information.
%prep
%setup -q -n mzx293b
%build
./config.sh --platform unix --enable-release --enable-lto --as-needed-hack \
--libdir %{_libdir} \
--gamesdir %{_bindir} \
--sharedir %{_datadir} \
--licensedir %{_datadir}/license \
--bindir %{_datadir}/megazeux/bin \
--sysconfdir %{_sysconfdir}
%make_build
%install
rm -rf "$RPM_BUILD_ROOT"
%make_install V=1
%check
%make_build test
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
%doc docs/changelog.txt docs/macro.txt
%{_bindir}/megazeux
%{_bindir}/mzxrun
%{_libdir}/megazeux
%{_datadir}/megazeux
%{_datadir}/applications/megazeux.desktop
%{_datadir}/applications/mzxrun.desktop
%{_datadir}/doc/megazeux
%{_datadir}/license/megazeux
%{_datadir}/icons/hicolor/128x128/apps/megazeux.png
%{_sysconfdir}/megazeux-config
%changelog
* Tue Sep 10 2024 Alice Rowan <[email protected]> 2.93b-1
- new upstream version, add --enable-lto
* Sun Dec 31 2023 Alice Rowan <[email protected]> 2.93-1
- new upstream version, fix icon path
* Sun Nov 22 2020 Alice Rowan <[email protected]> 2.92f-1
- new upstream version
* Sun Jul 19 2020 Alice Rowan <petrifiedrowan️@gmail.com> 2.92e-1
- new upstream version, replace __make with make_build.
* Fri May 08 2020 Alice Rowan <[email protected]> 2.92d-1
- new upstream version, add check
* Sun Mar 08 2020 Alice Rowan <[email protected]> 2.92c-1
- new upstream version, fix outdated info
* Sat Dec 22 2012 Alistair John Strachan <[email protected]> 2.84c-1
- new upstream version
* Sat Jun 02 2012 Alistair John Strachan <[email protected]> 2.84-1
- new upstream version
* Sat Nov 26 2009 Alistair John Strachan <[email protected]> 2.83-1
- new upstream version
* Thu Nov 27 2008 Alistair John Strachan <[email protected]> 2.82b-1
- initial RPM release