]>
Commit | Line | Data |
---|---|---|
1 | Summary: A 3D game of Parcheesi | |
2 | Summary(pl.UTF-8): Trójwymiarowa gra w chińczyka | |
3 | Name: glparchis | |
4 | Version: 20061101 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://dl.sourceforge.net/glparchis/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: fd42345bf9093c87b2105f41ec2bf30e | |
10 | URL: http://glparchis.sourceforge.net/ | |
11 | BuildRequires: OpenGL-devel | |
12 | BuildRequires: OpenGL-glut-devel | |
13 | BuildRequires: SDL-devel | |
14 | BuildRequires: SDL_image-devel | |
15 | BuildRequires: SDL_mixer-devel | |
16 | BuildRequires: SDL_ttf-devel | |
17 | Buildrequires: autoconf | |
18 | BuildRequires: automake | |
19 | BuildRequires: libxml2-devel | |
20 | BuildRequires: sed >= 4.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | glParchis is a 3D game of Parcheesi. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | glParchis jest trójwymiarową grą w chińczyka. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | %{__sed} -i 's@%{_prefix}/local@%{_prefix}@' src/textura.cpp | |
32 | ||
33 | %build | |
34 | %{__aclocal} | |
35 | %{__autoconf} | |
36 | %{__autoheader} | |
37 | %{__automake} | |
38 | %configure | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files -f %{name}.lang | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog NEWS* TODO | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %{_datadir}/%{name} |