]> git.pld-linux.org Git - packages/adom.git/blame - adom.spec
- R: group(games)
[packages/adom.git] / adom.spec
CommitLineData
422344d5 1%define _ver %(echo %{version} | tr -d .)
4499de5c 2Summary: Very popular rogue-like adventure game
c336517b 3Summary(pl.UTF-8): Bardzo popularna tekstowa gra przygodowa
4499de5c 4Name: adom
6ea81ab2 5Version: 1.1.1
0a01a5de 6Release: 3
422344d5 7Epoch: 1
18826fa0 8License: Postcardware
4468fab1 9Group: Applications/Games
422344d5 10Source0: http://www.adom.de/adom/download/linux/%{name}-%{_ver}-elf.tar.gz
a25175e6 11# Source0-md5: 801484ba7c7c03b3b999365bc45db053
bb6095f0 12Source1: %{name}.desktop
13Source2: %{name}.png
cab6cd29 14URL: http://www.adom.de/
a4778a1a 15Requires: groups(games)
28dec874 16ExclusiveArch: %{ix86}
4499de5c
SZ
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
9aafe9b3 19%define _scoredir /var/games/adom
bb6095f0 20
4499de5c 21%description
cab6cd29 22ADOM stands for Ancient Domains of Mystery. ADOM is a so-called
23rogue-like game. This means that it is a single-user game which allows
24you to play the role of an intrepid adventurer exploring a large
25dungeon with some specific goal in mind. The graphics in the game are
26based on simple text characters and the game is controlled with a
27large number of keyboard commands.
4499de5c 28
5e538748
JR
29%description -l pl.UTF-8
30ADOM to skrót od "Ancient Domains of Mystery". ADOM to tak zwana gra
31rogue-podobna. To znaczy, że jest to gra dla jednej osoby, która
32pozwala na wcielenie się w postać poszukiwacza przygód przeszukującego
33olbrzymie podziemia próbując wypełnić pewną misję. Grafika w grze jest
cab6cd29 34oparta na prostym trybie tekstowym, a sama gra jest kontrolowana przy
5e538748 35użyciu dużej liczby poleceń z klawiatury.
4499de5c
SZ
36
37%prep
8b04fe27 38%setup -q -n %{name}
4499de5c 39
4499de5c
SZ
40%install
41rm -rf $RPM_BUILD_ROOT
0a01a5de 42install -d $RPM_BUILD_ROOT{%{_bindir},%{_scoredir},%{_sysconfdir},%{_desktopdir},%{_pixmapsdir}}
bb6095f0 43
0a01a5de 44install adom $RPM_BUILD_ROOT%{_bindir}
bb6095f0 45touch $RPM_BUILD_ROOT%{_scoredir}/.HISCORE
46
47cat > $RPM_BUILD_ROOT%{_sysconfdir}/adom_ds.cfg << EOF
48%{_scoredir}
49EOF
cab6cd29 50
220ea648 51install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
bb6095f0 52install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
4499de5c 53
4499de5c
SZ
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
0a01a5de 59%attr(2755,root,games) %{_bindir}/adom
bb6095f0 60%attr(775,root,games) %dir %{_scoredir}
df601a65 61%attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) %{_scoredir}/.HISCORE
93ac6c03 62%{_sysconfdir}/adom_ds.cfg
bb6095f0 63
d4f9a174 64%{_desktopdir}/*.desktop
bb6095f0 65%{_pixmapsdir}/*
66
6ea81ab2 67%doc adomfaq.txt manual.doc readme.1st
This page took 0.03366 seconds and 4 git commands to generate.