]> git.pld-linux.org Git - packages/asylum.git/blob - asylum.spec
72ce7e8ffea82098a77541e6bb8c8bfa30f18b9b
[packages/asylum.git] / asylum.spec
1 # TODO:
2 # - fix install score dir, because game crashes after start
3
4 Summary:        Port of Digital Psychosis' 1994 platform shooter
5 Summary(pl.UTF-8):      Port gry platformowej napisanej przez Digital Psychosis w 1994 roku
6 Name:           asylum
7 Version:        0.2.2
8 Release:        0.1
9 License:        GPL v3+
10 Group:          X11/Applications/Games
11 Source0:        http://dl.sourceforge.net/sdl-asylum/%{name}-%{version}.tar.gz
12 # Source0-md5:  e349a99bf099df818b0efc4f83359858
13 Patch0:         %{name}-makefile.patch
14 URL:            http://sourceforge.net/projects/sdl-asylum/
15 BuildRequires:  SDL-devel
16 BuildRequires:  SDL_mixer-devel
17 BuildRequires:  libstdc++-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A port of Digital Psychosis' 1994 platform shooter for the Acorn
22 Archimedes.
23
24 %description -l pl.UTF-8
25 Port napisaj przez Digital Psychosis w 1994 roku strzelaniny
26 platformowej dla komputera Acorn Archimedes.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %build
33 %{__make} \
34         CC="%{__cxx}" \
35         CFLAGS="%{rpmcxxflags} -DRESOURCEPATH=\\\"%{_datadir}/asylum\\\" -DSCOREPATH=\\\"/var/games/asylum\\\""
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %attr(2755,root,games) %{_bindir}/%{name}
50 %{_datadir}/%{name}
51 %attr(775,root,games) %dir /var/games/asylum
This page took 0.054675 seconds and 3 git commands to generate.