]> git.pld-linux.org Git - packages/dreamchess.git/blob - dreamchess.spec
- initial
[packages/dreamchess.git] / dreamchess.spec
1 Summary:        3D chess game for X-Window
2 Summary(pl):    Trójwymiarowe szachy dla X-Window
3 Name:           dreamchess
4 Version:        0.1.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Games
8 Source0:        http://download.berlios.de/dreamchess/%{name}-%{version}.tar.gz
9 # Source0-md5:  0c265cbd95c003d478f7825581742765
10 Source1:        %{name}.desktop
11 URL:            http://www.dreamchess.org/
12 BuildRequires:  SDL-devel
13 BuildRequires:  SDL_image-devel
14 BuildRequires:  libjpeg-devel
15 BuildRequires:  libpng-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 DreamChess is an open source chess game. It features 3D OpenGL
21 graphics and provides various chess board sets, ranging from classic
22 wooden to flat figurines.
23
24 %description -l pl
25 DreamChess jest darmow± gr± posiadaj±c± otwarte ¼ród³a. Gra posiada
26 grafikê 3D OpenGL i dostarcza zró¿nicowane zestawy szachowe, pocz±wszy
27 od klasycznej drewnianej planszy i standardowych figur.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__aclocal}
34 %{__autoconf}
35 %{__autoheader}
36 %{__automake}
37 %configure
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
48 install desktop/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog NEWS README
56 %attr(755,root,root) %{_bindir}/*
57 %{_datadir}/%{name}
58 %{_desktopdir}/%{name}.desktop
59 %{_pixmapsdir}/%{name}.png
60 %{_mandir}/man6/*
This page took 0.045397 seconds and 3 git commands to generate.