]> git.pld-linux.org Git - packages/frotz.git/blob - frotz.spec
- let URL be URL, cosmetics
[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:            http://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},%{_datadir}/games/zcode}
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 install doc/frotz.conf-big $RPM_BUILD_ROOT%{_sysconfdir}/frotz.conf
42 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/games/zcode/wrapper.sh
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
50 %attr(755,root,root) %{_bindir}/frotz
51 %{_mandir}/man6/*
52 %dir %{_datadir}/games/zcode
53 %attr(755,root,root) %{_datadir}/games/zcode/wrapper.sh
54 %{_sysconfdir}/frotz.conf
This page took 0.054504 seconds and 3 git commands to generate.