]>
Commit | Line | Data |
---|---|---|
3c6cf727 | 1 | # $Id: asciijump.spec,v 1.16 2003-08-31 21:02:39 undefine Exp $ |
6585a3d4 | 2 | %define _ver 1.0.1beta |
7a5f9d7f TP |
3 | Summary: (a)sci(i)jump game |
4 | Summary(pl): Skoki narciarskie w ascii | |
f4f12559 | 5 | Name: asciijump |
6585a3d4 | 6 | Version: 1.0.1 |
3c6cf727 | 7 | Release: 1.beta |
f4f12559 | 8 | License: GPL |
9 | Group: Applications/Games | |
7a5f9d7f | 10 | Vendor: Grzegorz Moskal <g.moskal@opengroup.org> |
6585a3d4 AG |
11 | # Source0-md5: d566ac2b38c03d4cf726e49e5fe7eb21 |
12 | Source0: http://otak.k-k.pl/asciijump/tgz/%{name}-%{_ver}.tar.gz | |
7a5f9d7f | 13 | URL: http://asciijump.prv.pl/ |
3c6cf727 | 14 | BuildRequires: autoconf |
f4f12559 | 15 | BuildRequires: conflib-devel |
7129798b | 16 | BuildRequires: ctags |
c3b1c057 | 17 | BuildRequires: slang-devel |
f4f12559 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Ski jumping in text mode. | |
22 | ||
23 | %description -l pl | |
24 | Skoki narciarskie w trybie tekstowym. | |
25 | ||
26 | %prep | |
7129798b | 27 | %setup -q -n asciijump-%{_ver} |
f4f12559 | 28 | |
29 | %build | |
92d256e8 | 30 | %{__autoconf} |
f4f12559 | 31 | %configure |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
92d256e8 | 36 | install -d $RPM_BUILD_ROOT/var/games/asciijump |
44665320 AG |
37 | # get rid of those subversion related directories |
38 | # FixMe: replace with find? | |
39 | # find . -type d -name '\.svn' -exec rm -rf {} \; | |
40 | rm -rf hills/.svn gfx/.svn | |
e0406f2d | 41 | for i in gfx/*; do |
44665320 AG |
42 | rm -rf $i/.svn |
43 | done | |
c3b1c057 PG |
44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
f4f12559 | 46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
87c29428 | 52 | %doc README README-pl |
3c6cf727 | 53 | %attr(2755,root,games) %{_bindir}/asciijump |
54 | %attr(2755,root,games) %{_bindir}/aj-server | |
92d256e8 | 55 | %attr(775,root,games) %{_var}/games/asciijump |
f4f12559 | 56 | %{_datadir}/asciijump |
a36554c1 | 57 | %{_mandir}/man6/asciijump.6* |
f4f12559 | 58 | %{_applnkdir}/Games/Arcade/asciijump.desktop |
59 | %{_pixmapsdir}/asciijump.png |