]>
Commit | Line | Data |
---|---|---|
c1682a57 | 1 | %define _ver 1.0.2beta |
7a5f9d7f | 2 | Summary: (a)sci(i)jump game |
a1b028c7 | 3 | Summary(pl.UTF-8): Skoki narciarskie w ascii |
f4f12559 | 4 | Name: asciijump |
7dc18391 | 5 | Version: 1.0.2 |
c66eac9e | 6 | Release: 0.beta.4 |
f4f12559 | 7 | License: GPL |
8 | Group: Applications/Games | |
7a5f9d7f | 9 | Vendor: Grzegorz Moskal <g.moskal@opengroup.org> |
6585a3d4 | 10 | Source0: http://otak.k-k.pl/asciijump/tgz/%{name}-%{_ver}.tar.gz |
7dc18391 | 11 | # Source0-md5: 199228bbfb4a16914913fe594b775a6d |
c1682a57 | 12 | Patch0: %{name}-desktop.patch |
7a5f9d7f | 13 | URL: http://asciijump.prv.pl/ |
3c6cf727 | 14 | BuildRequires: autoconf |
f4f12559 | 15 | BuildRequires: conflib-devel |
7129798b | 16 | BuildRequires: ctags |
c66eac9e | 17 | BuildRequires: slang-devel >= 2.0.0 |
f4f12559 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Ski jumping in text mode. | |
22 | ||
3715c1b2 | 23 | %description -l pl.UTF-8 |
f4f12559 | 24 | Skoki narciarskie w trybie tekstowym. |
25 | ||
26 | %prep | |
7129798b | 27 | %setup -q -n asciijump-%{_ver} |
c1682a57 | 28 | %patch0 -p1 |
f4f12559 | 29 | |
30 | %build | |
92d256e8 | 31 | %{__autoconf} |
f4f12559 | 32 | %configure |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
c3b1c057 PG |
37 | %{__make} install \ |
38 | DESTDIR=$RPM_BUILD_ROOT | |
f4f12559 | 39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
87c29428 | 45 | %doc README README-pl |
3c6cf727 | 46 | %attr(2755,root,games) %{_bindir}/asciijump |
47 | %attr(2755,root,games) %{_bindir}/aj-server | |
92d256e8 | 48 | %attr(775,root,games) %{_var}/games/asciijump |
f4f12559 | 49 | %{_datadir}/asciijump |
a36554c1 | 50 | %{_mandir}/man6/asciijump.6* |
e7a1ef8e | 51 | %{_desktopdir}/asciijump.desktop |
f4f12559 | 52 | %{_pixmapsdir}/asciijump.png |