]> git.pld-linux.org Git - packages/frotz.git/blob - frotz.spec
- Updated to work with *.z8
[packages/frotz.git] / frotz.spec
1 Summary:        Interpreter for old Infocom text games
2 Summary(pl):    Interpreter dla starych tekstówek Infocomu
3 Name:           frotz
4 Version:        2.43
5 Release:        1
6 License:        GPL
7 Group:          Applications/Games
8 Source0:        ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/%{name}-%{version}.tar.gz
9 # Source0-md5:  efe51879e012b92bb8d5f4a82e982677
10 Source1:        %{name}-wrapper
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-config.patch
13 URL:            www.ifarchive.org
14 BuildRequires:  ncurses-devel
15 Requires:       ncurses
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Interpreter for old Infocom text games, so called Interactive Fiction
20 Adventure.
21
22 %description -l pl
23 Interpreter dla starych tekstówek Infocomu, zwanych tak¿e Interactive
24 Fiction Adventure.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29 %patch1 -p1
30
31 %build
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_sysconfdir}
37 install -d $RPM_BUILD_ROOT%{_datadir}/games/zcode
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40 install doc/frotz.conf-big $RPM_BUILD_ROOT%{_sysconfdir}/frotz.conf
41 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/games/zcode/wrapper.sh
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS BUGS ChangeLog HOW_TO_PLAY README README.1st SPEECH TODO
49 %attr(755,root,root) %{_bindir}/frotz
50 %{_mandir}/man6/*
51 %dir %{_datadir}/games/zcode
52 %attr(755,root,root) %{_datadir}/games/zcode/wrapper.sh
53 %{_sysconfdir}/frotz.conf
This page took 0.044977 seconds and 3 git commands to generate.