]>
Commit | Line | Data |
---|---|---|
871d940c | 1 | Summary: A conversion of an Amiga Doom clone "Cytadela" |
2 | Summary(pl.UTF-8): Konwersja amigowego klona gry Doom "Cytadela" | |
3 | Name: cytadela | |
4 | Version: 0.7 | |
5 | Release: 1 | |
6 | License: GPL v3+ | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://dl.sourceforge.net/cytadela/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: db2c0a39462c928a6277b75d8f0e3ce7 | |
10 | Source1: %{name}.desktop | |
11 | Patch0: %{name}-useless_files.patch | |
12 | URL: http://sourceforge.net/projects/cytadela/ | |
df972289 | 13 | BuildRequires: OpenGL-GLU-devel |
871d940c | 14 | BuildRequires: OpenGL-devel |
15 | BuildRequires: SDL_mixer-devel | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Cytadela is a conversion of an Amiga game also called Cytadela, | |
22 | created by Virtual Design team. The conversion contains an | |
23 | implementation of several algorithms taken from the original. Major | |
24 | part of graphics, all music, sounds and levels are taken from the | |
25 | original, but in some cases they are processed and/or modified in | |
26 | order to make them easier to use with the conversion and to correct | |
27 | some bugs. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Cytadela jest konwersją amigowej gry pod tym samym tytułem, | |
31 | stworzonej przez grupę Virtual Design. W konwersji wykorzystanych | |
32 | jest kilka algorytmów pochodzących z oryginału. Cała muzyka, | |
33 | większość grafiki, wszystkie dźwięki i poziomy pochodzą z wersji | |
34 | oryginalnej, ale w niektórych przypadkach zostały przetworzone i/lub | |
35 | zmodyfikowane w celu ułatwienia wykorzystania ich w konwersji i | |
36 | poprawienia kilku błędów. | |
37 | ||
38 | %prep | |
39 | %setup -q -n %{name} | |
40 | %patch0 -p1 | |
41 | ||
42 | %build | |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__automake} | |
46 | %configure | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | install data/icons/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir} | |
57 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc AUTHORS ChangeLog NEWS README data/doc/{*.html,*.txt} | |
65 | %attr(755,root,root) %{_bindir}/%{name} | |
66 | %{_datadir}/%{name} | |
67 | %{_desktopdir}/%{name}.desktop | |
68 | %{_pixmapsdir}/%{name}.xpm |