]> git.pld-linux.org Git - packages/brutalchess.git/blob - brutalchess.spec
- alpha-0.5.1
[packages/brutalchess.git] / brutalchess.spec
1 # TODO
2 # - use system fonts
3 #
4 %define _alpha  alpha
5 Summary:        3D chess game for X-Window
6 Summary(pl):    Trójwymiarowe szachy dla X-Window
7 Name:           brutalchess
8 Version:        0.5.1
9 Release:        0.%{_alpha}.1
10 License:        GPL v2+
11 Group:          X11/Applications/Games
12 Source0:        http://dl.sourceforge.net/brutalchess/%{name}-%{_alpha}-%{version}-src.tar.gz
13 # Source0-md5:  f600fd6181f7c69935dc4207aeb3a266
14 Source1:        %{name}.desktop
15 Source2:        %{name}.xpm
16 URL:            http://brutalchess.sourceforge.net/
17 BuildRequires:  SDL-devel
18 BuildRequires:  SDL_image-devel
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  freetype-devel
22 BuildRequires:  sed >= 4.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Brutal Chess features full 3D graphics, an advanced engine, and
27 several different levels of intelligent AI.
28
29 %description -l pl
30 Brutal Chess cechuje pe³na trójwymiarowa grafika, zaawansowany silnik
31 i kilka ró¿nych poziomów sztucznej inteligencji.
32
33 %prep
34 %setup -q
35 rm -f models/.cvsignore
36
37 %build
38 %{__aclocal}
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog NEWS README
61 %attr(755,root,root) %{_bindir}/*
62 %{_datadir}/%{name}
63 %{_desktopdir}/%{name}.desktop
64 %{_pixmapsdir}/%{name}.xpm
This page took 0.064236 seconds and 3 git commands to generate.