]> git.pld-linux.org Git - packages/frotz.git/blob - frotz.spec
ca5afd630d5f5186b60120af69b07e2ab7c07d12
[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 Source1:        %{name}-wrapper
10 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-config.patch
12 URL:            www.ifarchive.org
13 BuildRequires:  ncurses-devel
14 Requires:       ncurses
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
21 %description -l pl
22 Interpreter dla starych tekstówek Infocomu, zwanych tak¿e Interactive
23 Fiction Adventure.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28 %patch1 -p1
29
30 %build
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_sysconfdir}
36 install -d $RPM_BUILD_ROOT%{_datadir}/games/zcode
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39 install doc/frotz.conf-big $RPM_BUILD_ROOT%{_sysconfdir}/frotz.conf
40 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/games/zcode/wrapper.sh
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc AUTHORS BUGS ChangeLog HOW_TO_PLAY README README.1st SPEECH TODO
48 %attr(755,root,root) %{_bindir}/frotz
49 %{_mandir}/man6/*
50 %dir %{_datadir}/games/zcode
51 %attr(755,root,root) %{_datadir}/games/zcode/wrapper.sh
52 %{_sysconfdir}/frotz.conf
This page took 0.18656 seconds and 2 git commands to generate.