]>
Commit | Line | Data |
---|---|---|
87494842 | 1 | Summary: A 3D game of Parcheesi |
55a29267 | 2 | Summary(pl.UTF-8): Trójwymiarowa gra w chińczyka |
87494842 | 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/ | |
1725e9c3 | 11 | BuildRequires: OpenGL-devel |
8b33f582 | 12 | BuildRequires: OpenGL-glut-devel |
87494842 | 13 | BuildRequires: SDL-devel |
30ae0934 | 14 | BuildRequires: SDL_image-devel |
87494842 | 15 | BuildRequires: SDL_mixer-devel |
16 | BuildRequires: SDL_ttf-devel | |
17 | Buildrequires: autoconf | |
18 | BuildRequires: automake | |
b9ff228d | 19 | BuildRequires: libxml2-devel |
3c7c86d9 | 20 | BuildRequires: sed >= 4.0 |
87494842 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | glParchis is a 3D game of Parcheesi. | |
25 | ||
55a29267 JR |
26 | %description -l pl.UTF-8 |
27 | glParchis jest trójwymiarową grą w chińczyka. | |
87494842 | 28 | |
29 | %prep | |
30 | %setup -q | |
3c7c86d9 | 31 | %{__sed} -i 's@%{_prefix}/local@%{_prefix}@' src/textura.cpp |
87494842 | 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} |