1 |
%define name zoom |
2 |
%define version 1.1.4 |
3 |
%define release %mkrel 1 |
4 |
|
5 |
Name: %{name} |
6 |
Summary: Z-Machine: it plays text adventure games written in ZCode |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
URL: http://www.logicalshift.co.uk/unix/zoom/ |
10 |
Source0: http://www.logicalshift.co.uk/unix/zoom/%{name}-%{version}.tar.gz |
11 |
Patch0: zoom-1.1.3-enable-antialiasing.patch |
12 |
License: GPLv2+ |
13 |
Group: Games/Other |
14 |
#BuildRequires: xorg-x11-devel fontconfig-devel zlib-devel libpng-devel t1lib-devel #from ALT linux |
15 |
BuildRequires: X11-devel libxrender-devel |
16 |
BuildRequires: libpng-devel t1lib-devel libxft-devel fontconfig-devel zlib-devel |
17 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
18 |
|
19 |
%description |
20 |
Zoom is an interpreter for playing all of Infocom's text adventures and |
21 |
newer games using the same format (Z-CODE), like the ones produced using |
22 |
the Inform compiler. |
23 |
|
24 |
It has a fast interpreter core behind an X11 interface. |
25 |
|
26 |
%prep |
27 |
%setup -q |
28 |
%patch0 -p0 |
29 |
|
30 |
%build |
31 |
%configure --bindir=%{_gamesbindir} --datadir=%{_gamesdatadir} |
32 |
%make |
33 |
|
34 |
%install |
35 |
rm -rf %{buildroot} |
36 |
%makeinstall bindir=%{buildroot}%{_gamesbindir} datadir=%{buildroot}%{_gamesdatadir} |
37 |
mkdir %{buildroot}%{_gamesdatadir}/%{name}/games |
38 |
|
39 |
%clean |
40 |
rm manual/Makefile* -f |
41 |
rm -rf %{buildroot} |
42 |
|
43 |
%files |
44 |
%defattr(-,root,root,0755) |
45 |
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO manual |
46 |
%{_gamesbindir}/%name |
47 |
%dir %_gamesdatadir/%name |
48 |
%_gamesdatadir/%name/%{name}rc |
49 |
%dir %_gamesdatadir/%name/games |
50 |
|
51 |
|