]>
Commit | Line | Data |
---|---|---|
1904e84d | 1 | Summary: Interpreter for old Infocom text games |
3b38b808 | 2 | Summary(pl.UTF-8): Interpreter dla starych tekstówek Infocomu |
1904e84d AG |
3 | Name: frotz |
4 | Version: 2.43 | |
ad23208d | 5 | Release: 3 |
1904e84d AG |
6 | License: GPL |
7 | Group: Applications/Games | |
924c516d | 8 | Source0: ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/%{name}-%{version}.tar.gz |
36c579d7 | 9 | # Source0-md5: efe51879e012b92bb8d5f4a82e982677 |
924c516d | 10 | Patch0: %{name}-DESTDIR.patch |
11 | Patch1: %{name}-config.patch | |
07ba0ff8 | 12 | URL: http://www.ifarchive.org/ |
1904e84d | 13 | BuildRequires: ncurses-devel |
b22cc202 | 14 | Provides: zcode-interpreter |
1904e84d AG |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Interpreter for old Infocom text games, so called Interactive Fiction | |
19 | Adventure. | |
20 | ||
1a467f7f JR |
21 | %description -l pl.UTF-8 |
22 | Interpreter dla starych tekstówek Infocomu, zwanych także Interactive | |
1904e84d AG |
23 | Fiction Adventure. |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | %patch1 -p1 | |
29 | ||
30 | %build | |
ef87c4e2 JB |
31 | %{__make} \ |
32 | CC="%{__cc}" \ | |
33 | OPTS="%{rpmcflags} -I/usr/include/ncurses" | |
1904e84d AG |
34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
b22cc202 | 37 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
07ba0ff8 JB |
38 | |
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
924c516d | 41 | |
1904e84d | 42 | install doc/frotz.conf-big $RPM_BUILD_ROOT%{_sysconfdir}/frotz.conf |
1904e84d AG |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc AUTHORS BUGS ChangeLog HOW_TO_PLAY README README.1st SPEECH TODO | |
ed60fe78 | 50 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frotz.conf |
1904e84d AG |
51 | %attr(755,root,root) %{_bindir}/frotz |
52 | %{_mandir}/man6/* |