/
zoom.spec
78 lines (63 loc) · 1.92 KB
/
zoom.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
%define _disable_lto 1
Name: zoom
Version: 1.1.5
Release: 4
Summary: Z-Machine: it plays text adventure games written in ZCode
Group: Games/Other
License: GPLv2+
URL: http://www.logicalshift.co.uk/unix/zoom/
Source0: http://www.logicalshift.co.uk/unix/zoom/%{name}-%{version}.tar.gz
Patch0: zoom-1.1.3-enable-antialiasing.patch
Patch1: zoom-1.1.4-xft.patch
Patch2: zoom-1.1.5-automake1.13.patch
Patch3: zoom-1.1.5-clang.patch
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xrender) >= 0.9.6
BuildRequires: pkgconfig(xft)
BuildRequires: png-devel
BuildRequires: t1lib-devel
%description
Zoom is an interpreter for playing all of Infocom's text adventures and
newer games using the same format (Z-CODE), like the ones produced using
the Inform compiler.
It has a fast interpreter core behind an X11 interface.
%prep
%setup -q
%patch0 -p0
%patch1 -p0 -b .xft
%patch2 -p0 -b .autoconf113
%patch3 -p1
%build
autoreconf -fi -Im4
%configure2_5x --bindir=%{_gamesbindir} --datadir=%{_gamesdatadir}
%make
%install
%__rm -rf %{buildroot}
%makeinstall_std
%__mkdir_p %{buildroot}%{_gamesdatadir}/%{name}/games
%__rm -f manual/Makefile*
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,0755)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO manual
%{_gamesbindir}/%{name}
%dir %{_gamesdatadir}/%{name}
%{_gamesdatadir}/%{name}/%{name}rc
%dir %{_gamesdatadir}/%{name}/games
%changelog
* Fri Mar 30 2012 Andrey Bondrov <abondrov@mandriva.org> 1.1.5-1mdv2011.0
+ Revision: 788381
- New version 1.1.5, spec cleanup, update BR
* Fri Jan 21 2011 Funda Wang <fwang@mandriva.org> 1.1.4-2
+ Revision: 631999
- check libxft via pkgconfig
- drop unused lib check
* Tue Jun 02 2009 Samuel Verschelde <stormi@mandriva.org> 1.1.4-1mdv2010.0
+ Revision: 382278
- update to new version 1.1.4
* Fri May 22 2009 Samuel Verschelde <stormi@mandriva.org> 1.1.3-1mdv2010.0
+ Revision: 378684
- fix buildrequires
- import zoom