]> git.pld-linux.org Git - packages/asciijump.git/blob - asciijump.spec
- _applnkdir -> _desktopdir
[packages/asciijump.git] / asciijump.spec
1 # $Id: asciijump.spec,v 1.17 2003-12-10 16:06:34 grzegol Exp $
2 %define _ver    1.0.1beta
3 Summary:        (a)sci(i)jump game
4 Summary(pl):    Skoki narciarskie w ascii
5 Name:           asciijump
6 Version:        1.0.1
7 Release:        1.beta.1
8 License:        GPL
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
17 BuildRequires:  ctags
18 BuildRequires:  slang-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Ski jumping in text mode.
23
24 %description -l pl
25 Skoki narciarskie w trybie tekstowym.
26
27 %prep
28 %setup -q -n asciijump-%{_ver}
29 %patch0 -p1
30
31 %build
32 %{__autoconf}
33 %configure
34 %{__make}
35
36 %install
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
43 for i in gfx/*; do
44         rm -rf $i/.svn
45 done
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README README-pl
55 %attr(2755,root,games) %{_bindir}/asciijump
56 %attr(2755,root,games) %{_bindir}/aj-server
57 %attr(775,root,games) %{_var}/games/asciijump
58 %{_datadir}/asciijump
59 %{_mandir}/man6/asciijump.6*
60 %{_desktopdir}/asciijump.desktop
61 %{_pixmapsdir}/asciijump.png
This page took 0.755518 seconds and 4 git commands to generate.