-
Notifications
You must be signed in to change notification settings - Fork 8
/
MatrixBrandy.spec
95 lines (85 loc) · 3.91 KB
/
MatrixBrandy.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
Summary: A cross-platform BBC BASIC interpreter
Name: brandy
Version: 1.23.4
Release: %{extraverdata}.matrix%{?dist}
License: GPLv2+
Group: Development/Tools
Source: http://brandy.matrixnetwork.co.uk/releases/MatrixBrandy-%{version}.tar.xz
URL: http://brandy.matrixnetwork.co.uk/
# Dirty hack to ensure we have SDL-devel or sdl12-compat-devel
BuildRequires: /usr/include/SDL/SDL.h
%define debug_package %{nil}
%description
Brandy is an interpreter for BBC BASIC VI that runs under a variety of
operating systems. BASIC V and BASIC VI are versions of BASIC supplied with
computers running RISC OS. These were originally made by Acorn Computers and
more recently designed and manufactured by companies such as Advantage Six
and Castle Technology.
The Matrix Brandy fork includes support for much of the grahics modes
offered by RISC OS including Mode 7 (Teletext), and basic networking
both of which are used by the bundled "telstar" example. Many bugs are fixed
and mathematics are brought more in line with Acorn's BBC BASIC VI.
Some BASIC extensions from Richard Russell's BB4W and BBCSDL are also
supported, as are a few from Steve Drain's Basalt add-on for RISC OS.
BBC BASIC is a trademark of the British Broadcasting Corporation.
Matrix Brandy does not claim to be "BBC BASIC", however it aims to be an
interpreter of the BBC BASIC dialect of BASIC. The term "BBC BASIC" in
the documentation is used in reference to the dialect, and other
implementations where the name is used under licence (e.g. Acorn/RISC OS).
%prep
%setup -q -n MatrixBrandy-%{version}
chmod 0644 docs/*
%build
make clean %{?_smp_mflags}
make %{?_smp_mflags}
make -f makefile.text clean %{?_smp_mflags}
make -f makefile.text %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_datadir}/%{name}-%{version}/examples
install -s -m 0755 brandy %{buildroot}%{_bindir}
install -s -m 0755 sbrandy %{buildroot}%{_bindir}
install -s -m 0755 tbrandy %{buildroot}%{_bindir}
cp -r examples/* %{buildroot}%{_datadir}/%{name}-%{version}/examples
%clean
rm -rf %{buildroot}
%files
%doc READ.ME docs/ChangeLog docs/README docs/*.txt
%{_bindir}/brandy
%{_bindir}/sbrandy
%{_bindir}/tbrandy
%{_datadir}/%{name}-%{version}
%changelog
* Sat Aug 01 2020 Michael McConnell <[email protected]> - 1.22.7
- Removed BrandyApp from package as build mechanism has changed.
* Tue Jul 23 2019 Michael McConnell <[email protected]> - 1.22.0
- Re-tag as BASIC VI
* Sun Sep 02 2018 Michael McConnell <[email protected]> - 1.21.12
- Build both SDL and text-mode variants.
* Thu Aug 23 2018 Michael McConnell <[email protected]> - 1.21.11
- Adapted for Matrix Brandy.
* Fri Nov 18 2016 Huaren Zhong <[email protected]> 1.20.1
- Rebuild for Fedora
* Mon Feb 07 2011 Fedora Release Engineering <[email protected]> - 1.0.19-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 1.0.19-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Feb 23 2009 Fedora Release Engineering <[email protected]> - 1.0.19-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jul 14 2008 Tom "spot" Callaway <[email protected]> - 1.0.19-6
- fix license tag
* Tue Feb 19 2008 Fedora Release Engineering <[email protected]> - 1.0.19-5
- Autorebuild for GCC 4.3
* Thu Sep 14 2006 Paul F. Johnson <[email protected]> - 1.0.19-4
- rebuild
* Wed Aug 16 2006 Paul F. Johnson <[email protected]> - 1.0.19-3
- Added perl hack for proper flags going to gcc (Thanks Tibbs)
* Sun Aug 13 2006 Paul F. Johnson <[email protected]> - 1.0.19-2
- Fix for examples being correctly copied
- altered %%doc
- corrected initial import date
- added %%defattr
* Thu Aug 10 2006 Paul F. Johnson <[email protected]> - 1.0.19-1
- Initial import into FE