]>
Commit | Line | Data |
---|---|---|
5b46b6a9 | 1 | Summary: 3D chess game for X-Window |
5cd99a88 | 2 | Summary(pl.UTF-8): Trójwymiarowe szachy dla X-Window |
5b46b6a9 | 3 | Name: dreamchess |
abb27f1f | 4 | Version: 0.2.0 |
5b46b6a9 | 5 | Release: 1 |
abb27f1f | 6 | License: GPL v3+ |
5b46b6a9 | 7 | Group: X11/Applications/Games |
8 | Source0: http://download.berlios.de/dreamchess/%{name}-%{version}.tar.gz | |
abb27f1f | 9 | # Source0-md5: 0e837e14819c1e7d0232c6beb4d5c185 |
5b46b6a9 | 10 | Source1: %{name}.desktop |
11 | URL: http://www.dreamchess.org/ | |
12 | BuildRequires: SDL-devel | |
13 | BuildRequires: SDL_image-devel | |
abb27f1f | 14 | BuildRequires: SDL_mixer-devel |
9b4401e3 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
5b46b6a9 | 17 | BuildRequires: libjpeg-devel |
abb27f1f | 18 | BuildRequires: libogg-devel |
5b46b6a9 | 19 | BuildRequires: libpng-devel |
abb27f1f | 20 | BuildRequires: libvorbis-devel |
21 | BuildRequires: mxml | |
5b46b6a9 | 22 | BuildRequires: zlib-devel |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | DreamChess is an open source chess game. It features 3D OpenGL | |
27 | graphics and provides various chess board sets, ranging from classic | |
28 | wooden to flat figurines. | |
29 | ||
3b4fa75d JR |
30 | %description -l pl.UTF-8 |
31 | DreamChess jest darmową grą posiadającą otwarte źródła. Gra posiada | |
32 | grafikę 3D OpenGL i dostarcza zróżnicowane zestawy szachowe, począwszy | |
5b46b6a9 | 33 | od klasycznej drewnianej planszy i standardowych figur. |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %configure | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
54 | install desktop/%{name}.png $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 ChangeLog NEWS README | |
62 | %attr(755,root,root) %{_bindir}/* | |
63 | %{_datadir}/%{name} | |
64 | %{_desktopdir}/%{name}.desktop | |
65 | %{_pixmapsdir}/%{name}.png | |
66 | %{_mandir}/man6/* |