]> git.pld-linux.org Git - packages/dreamchess.git/blob - dreamchess.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/dreamchess.git] / dreamchess.spec
1 Summary:        3D chess game for X-Window
2 Summary(pl.UTF-8):      Trójwymiarowe szachy dla X-Window
3 Name:           dreamchess
4 Version:        0.2.0
5 Release:        1
6 License:        GPL v3+
7 Group:          X11/Applications/Games
8 Source0:        http://download.berlios.de/dreamchess/%{name}-%{version}.tar.gz
9 # Source0-md5:  0e837e14819c1e7d0232c6beb4d5c185
10 Source1:        %{name}.desktop
11 URL:            http://www.dreamchess.org/
12 BuildRequires:  SDL-devel
13 BuildRequires:  SDL_image-devel
14 BuildRequires:  SDL_mixer-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libjpeg-devel
18 BuildRequires:  libogg-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libvorbis-devel
21 BuildRequires:  mxml
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
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
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/*
This page took 0.153362 seconds and 3 git commands to generate.