]> git.pld-linux.org Git - packages/frotz.git/blob - frotz.spec
5e2b4a4e30c7819eafa7f24e65f569e7f415bbc0
[packages/frotz.git] / frotz.spec
1 Summary:        Interpreter for old Infocom text games
2 Summary(pl.UTF-8):   Interpreter dla starych tekstówek Infocomu
3 Name:           frotz
4 Version:        2.43
5 Release:        3
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 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-config.patch
12 URL:            http://www.ifarchive.org/
13 BuildRequires:  ncurses-devel
14 Provides:       zcode-interpreter
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.UTF-8
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         CC="%{__cc}" \
33         OPTS="%{rpmcflags} -I/usr/include/ncurses"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_sysconfdir}
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 install doc/frotz.conf-big $RPM_BUILD_ROOT%{_sysconfdir}/frotz.conf
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 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frotz.conf
51 %attr(755,root,root) %{_bindir}/frotz
52 %{_mandir}/man6/*
This page took 0.055233 seconds and 2 git commands to generate.