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