]> git.pld-linux.org Git - packages/gnurobbo.git/blob - gnurobbo.spec
- 0.56
[packages/gnurobbo.git] / gnurobbo.spec
1 Summary:        A clone of the famous 8bit Atari game Robbo
2 Summary(pl):    Klon s³ynnej gry Robbo znanej z 8-bitowych Atari
3 Name:           gnurobbo
4 Version:        0.56
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://telia.dl.sourceforge.net/sourceforge/gnurobbo/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 URL:            http://gnurobbo.sf.net/
12 BuildRequires:  SDL_ttf-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/X11R6
16 %define         _mandir         %{_prefix}/man
17
18 %description
19 GNU Robbo is very addictive logic game. You must help
20 little robot to get out of unfriendly planet, collecting
21 parts of emergency capsule.
22
23 %description -l pl
24 GNU Robbo jest bardzo uzale¿niaj±c± gr± logiczn±. Nale¿y pomóc
25 ma³emu robotowi uciec z nieprzyjaznych planet zbieraj±c czê¶ci
26 kapsu³y ratunkowej.
27
28 %prep
29 %setup -q
30
31 # workaround for bad timestamps on files in source tarball
32 #find . -type f | xargs touch
33
34 %build
35 rm -f missing
36 %{__libtoolize}
37 %{__aclocal}
38 %{__autoconf}
39 cp config.h{,.in}
40 %{__automake}
41 %configure \
42         CPPFLAGS="-I/usr/X11R6/include" \
43         LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
54 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS Bugs ChangeLog README TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/%{name}
64 %{_applnkdir}/Games/*
65 %{_pixmapsdir}/*
This page took 0.062719 seconds and 3 git commands to generate.