1 # $Id: asciijump.spec,v 1.17 2003-12-10 16:06:34 grzegol Exp $
3 Summary: (a)sci(i)jump game
4 Summary(pl): Skoki narciarskie w ascii
9 Group: Applications/Games
10 Vendor: Grzegorz Moskal <g.moskal@opengroup.org>
11 Source0: http://otak.k-k.pl/asciijump/tgz/%{name}-%{_ver}.tar.gz
12 # Source0-md5: d566ac2b38c03d4cf726e49e5fe7eb21
13 Patch0: %{name}-desktop_install.patch
14 URL: http://asciijump.prv.pl/
15 BuildRequires: autoconf
16 BuildRequires: conflib-devel
18 BuildRequires: slang-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Ski jumping in text mode.
25 Skoki narciarskie w trybie tekstowym.
28 %setup -q -n asciijump-%{_ver}
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/var/games/asciijump
39 # get rid of those subversion related directories
40 # FixMe: replace with find?
41 # find . -type d -name '\.svn' -exec rm -rf {} \;
42 rm -rf hills/.svn gfx/.svn
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %attr(2755,root,games) %{_bindir}/asciijump
56 %attr(2755,root,games) %{_bindir}/aj-server
57 %attr(775,root,games) %{_var}/games/asciijump
59 %{_mandir}/man6/asciijump.6*
60 %{_desktopdir}/asciijump.desktop
61 %{_pixmapsdir}/asciijump.png