]>
Commit | Line | Data |
---|---|---|
8c8fbd0a | 1 | Summary: Port of Digital Psychosis' 1994 platform shooter |
69c92074 | 2 | Summary(pl.UTF-8): Port gry platformowej napisanej przez Digital Psychosis w 1994 roku |
8c8fbd0a | 3 | Name: asylum |
4 | Version: 0.2 | |
5 | Release: 0.1 | |
6 | License: GPL v3+ | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://dl.sourceforge.net/sdl-asylum/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 38ce8d0b2b58748a5499239aa8dfd090 | |
10 | Patch0: %{name}-makefile.patch | |
11 | URL: http://sourceforge.net/projects/sdl-asylum/ | |
48acb8ce | 12 | BuildRequires: SDL-devel |
8c8fbd0a | 13 | BuildRequires: SDL_mixer-devel |
48acb8ce | 14 | BuildRequires: libstdc++-devel |
8c8fbd0a | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | A port of Digital Psychosis' 1994 platform shooter for the Acorn | |
19 | Archimedes. | |
20 | ||
21 | %description -l pl.UTF-8 | |
69c92074 JB |
22 | Port napisaj przez Digital Psychosis w 1994 roku strzelaniny |
23 | platformowej dla komputera Acorn Archimedes. | |
8c8fbd0a | 24 | |
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | ||
29 | %build | |
30 | %{__make} \ | |
dec61002 JB |
31 | CC="%{__cxx}" \ |
32 | CFLAGS="%{rpmcxxflags} -DRESOURCEPATH=\\\"%{_datadir}/asylum\\\" -DSCOREPATH=\\\"/var/games/asylum\\\"" | |
8c8fbd0a | 33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
dec61002 JB |
40 | install -d $RPM_BUILD_ROOT/var/games/asylum |
41 | ||
8c8fbd0a | 42 | %clean |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc README | |
dec61002 | 48 | %attr(2755,root,games) %{_bindir}/%{name} |
8c8fbd0a | 49 | %{_datadir}/%{name} |
dec61002 | 50 | %attr(775,root,games) %dir /var/games/asylum |