]> git.pld-linux.org Git - packages/adom.git/blob - adom.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/adom.git] / adom.spec
1 %define         _ver    %(echo %{version} | tr -d .)
2
3 Summary:        Very popular rogue-like adventure game
4 Summary(pl):    Bardzo popularna tekstowa gra przygodowa
5 Name:           adom
6 Version:        1.0.0
7 Release:        2
8 Epoch:          1
9 License:        postcardware
10 Group:          Applications/Games
11 Source0:        http://www.adom.de/adom/download/linux/%{name}-%{_ver}-elf.tar.gz
12 Source1:        %{name}.desktop
13 Source2:        %{name}.png
14 URL:            http://www.adom.de/
15 ExclusiveArch:  %{ix86}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define _scoredir       /var/games/adom
19
20 %description
21 ADOM stands for Ancient Domains of Mystery. ADOM is a so-called
22 rogue-like game. This means that it is a single-user game which allows
23 you to play the role of an intrepid adventurer exploring a large
24 dungeon with some specific goal in mind. The graphics in the game are
25 based on simple text characters and the game is controlled with a
26 large number of keyboard commands.
27
28 %description -l pl
29 ADOM to skrót od "Ancient Domains of Mystery". ADOM to tak zwana gra
30 rogue-podobna. To znaczy, ¿e jest to gra dla jednej osoby, która
31 pozwala na wcielenie siê w postaæ poszukiwacza przygód przeszukuj±cego
32 olbrzymie podziemia próbuj±c wype³niæ pewn± misjê. Grafika w grze jest
33 oparta na prostym trybie tekstowym, a sama gra jest kontrolowana przy
34 u¿yciu du¿ej liczby poleceñ z klawiatury.
35
36 %prep
37 %setup -q -n adom
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_prefix}/games,%{_scoredir},%{_sysconfdir},%{_applnkdir}/Games/Roguelike,%{_pixmapsdir}}
42
43 install adom $RPM_BUILD_ROOT%{_prefix}/games
44 touch $RPM_BUILD_ROOT%{_scoredir}/.HISCORE
45
46 cat > $RPM_BUILD_ROOT%{_sysconfdir}/adom_ds.cfg << EOF
47 %{_scoredir}
48 EOF
49
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Roguelike
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
52
53 gzip -9nf adomfaq.txt manual.doc readme.1st
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %attr(2755,root,games) %{_prefix}/games/adom
61 %attr(775,root,games) %dir %{_scoredir}
62 %attr(664,root,games) %config(noreplace) %verify(not md5 size mtime) %{_scoredir}/.HISCORE
63 %{_sysconfdir}/adom_ds.cfg
64
65 %{_applnkdir}/Games/Roguelike/*
66 %{_pixmapsdir}/*
67
68 %doc *.gz
This page took 0.130125 seconds and 4 git commands to generate.