]> git.pld-linux.org Git - packages/atakks.git/blame - atakks.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/atakks.git] / atakks.spec
CommitLineData
4597e4e9 1Summary: atakks game
afc2a67f 2Summary(pl.UTF-8): Gra atakks
3deba703 3Name: atakks
4Version: 1.0
5Release: 1
6License: GPL
7Group: X11/Applications/Games
4597e4e9 8Source0: http://team.gcu-squad.org/~fab/down/%{name}.tgz
ceeaea34 9# Source0-md5: 9153c731620bf85bb60d00a1c93b621e
3deba703 10Source1: %{name}.desktop
11Patch0: %{name}-dir.patch
12URL: http://team.gcu-squad.org/~fab/
4597e4e9 13BuildRequires: SDL-devel >= 1.2.4
3deba703 14BuildRequires: SDL_image-devel
15Requires: SDL >= 1.2.4
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
3deba703 18%description
4597e4e9 19Ataxx is some old Chinese reflexion game, like othello, and can be
3deba703 20played by two players.
21
145dc95f
JR
22%description -l pl.UTF-8
23Ataxx to stara chińska gra umysłowa, jak otello, w którą może grać
24dwóch graczy.
4597e4e9 25
3deba703 26%prep
27%setup -q -n %{name}_%{version}
28%patch0 -p1
29
30%build
31rm -f atakks
32
4597e4e9
JB
33LDFLAGS="%{rpmldflags} -lSDL -lpthread -L/usr/X11R6/lib"
34CFLAGS="%{rpmcflags} -Wall -ansi -DUS -I/usr/X11R6/include"
35%{__cc} $LDFLAGS $CFLAGS -o %{name} *.c
3deba703 36
37%install
38rm -rf $RPM_BUILD_ROOT
39
3ed012de 40install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT%{_applnkdir}/Games
3deba703 41install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
42
43install *.bmp $RPM_BUILD_ROOT%{_datadir}/%{name}
44install %{name} $RPM_BUILD_ROOT%{_bindir}
45
46install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc README
3deba703 54%attr(755,root,root) %{_bindir}/*
4597e4e9 55%{_datadir}/%{name}
3deba703 56%{_applnkdir}/Games/*
This page took 0.064331 seconds and 4 git commands to generate.