1 # $Id: asciijump.spec,v 1.10 2003-05-03 20:48:53 adamg 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/%{name}-%{_ver}.tar.gz
12 URL: http://asciijump.prv.pl/
13 BuildRequires: conflib-devel
14 BuildRequires: slang-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Ski jumping in text mode.
22 Skoki narciarskie w trybie tekstowym.
25 %setup -q -n asciijump-%{_ver}
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT/var/games/asciijump
36 # get rid of those subversion related directories
37 # FixMe: replace with find?
38 # find . -type d -name '\.svn' -exec rm -rf {} \;
39 rm -rf hills/.svn gfx/.svn
43 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %attr(2750,root,games) %{_bindir}/asciijump
52 %attr(2750,root,games) %{_bindir}/aj-server
53 %attr(775,root,games) %{_var}/games/asciijump
55 %{_mandir}/man6/asciijump.6*
56 %{_applnkdir}/Games/Arcade/asciijump.desktop
57 %{_pixmapsdir}/asciijump.png