]> git.pld-linux.org Git - packages/adonthell-maps.git/blame - adonthell-maps.spec
- unified %clean section
[packages/adonthell-maps.git] / adonthell-maps.spec
CommitLineData
7ea22285 1Summary: Maps for Adonthell game engine
755ffe9c 2Summary(pl.UTF-8): Mapy dla Adonthella
b529f9db 3Name: adonthell-maps
97db3cd1 4Version: 0.3.3
2b335584 5Release: 3
97db3cd1 6Epoch: 1
b529f9db 7License: GPL
180f6797 8Group: X11/Applications/Games
97db3cd1 9Source0: http://freesoftware.fsf.org/download/adonthell/wastesedge-%{version}.tar.gz
33e90d13 10# Source0-md5: c208c4c7aa2e8c97ec7b27a5bf4f2cd0
b529f9db 11URL: http://adonthell.linuxgames.com/download/index.shtml
12BuildRequires: adonthell
97db3cd1 13BuildRequires: automake
b529f9db 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
43d0c2fa 16%define _gamedatadir %{_prefix}/share/adonthell/games
b529f9db 17
18%description
7ea22285 19Map packs for Adonthell game.
b529f9db 20
0838cf1e 21%description -l pl.UTF-8
7ea22285 22Paczka z mapami dla Adonthella.
b529f9db 23
24%package wastesedge
25Summary: Waste's Edge map
755ffe9c 26Summary(pl.UTF-8): Mapa Waste's Edge
180f6797 27Group: X11/Applications/Games
b529f9db 28
29%description wastesedge
30As a loyal servant of the elven Lady Silverhair, you arrive at the
31remote trading post of Waste's Edge, where she is engaged in
32negotiations with the dwarish merchant Bjarn Fingolson. But not all is
33well at Waste's Edge, and soon you are confronted with circumstances
34that are about to destroy your mistress' high reputation. And you are
35the only one to avert this ...
36
0838cf1e
JR
37%description wastesedge -l pl.UTF-8
38Jako lojalny sługa elfiej Srebrzystowłosej Pani zostajesz wysłany do
39odległejgo miasteczka kupieckiego, Waste's Edge, w celu negocjacji z
180f6797 40krasnoludzkim kupcem Bjarnem Fingolsonem. Lecz w Waste's Edge nie
0838cf1e
JR
41dzieje się najlepiej, prędko znajdujesz się w okolicznościach mogących
42zniszczyć dobrą reputację twej Pani. I tylko ty możesz temu
180f6797 43zapobiec...
44
b529f9db 45%prep
97db3cd1 46%setup -q -n wastesedge-%{version}
b529f9db 47
48%build
97db3cd1 49cp -f /usr/share/automake/config.sub .
b529f9db 50%configure2_13
51
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
7ea22285 56install -d $RPM_BUILD_ROOT%{_bindir} \
28547b08 57 $RPM_BUILD_ROOT%{_gamedatadir}/wastesedge/{audio,gfx,maps,scripts} \
58 $RPM_BUILD_ROOT%{_gamedatadir}/wastesedge/gettext/po \
59 $RPM_BUILD_ROOT%{_pixmapsdir}
7ea22285
JB
60
61%{__make} install \
28547b08 62 datadir=$RPM_BUILD_ROOT%{_gamedatadir}/%{name} \
7ea22285
JB
63 prefix=$RPM_BUILD_ROOT%{_prefix} \
64 bindir=$RPM_BUILD_ROOT%{_bindir} \
28547b08 65 gamedatadir=$RPM_BUILD_ROOT%{_gamedatadir}/wastesedge/ \
66 pixmapdir=$RPM_BUILD_ROOT%{_pixmapsdir} \
67 gettextsrcdir=$RPM_BUILD_ROOT%{_gamedatadir}/wastesedge/gettext/po
7ea22285 68
b529f9db 69%clean
023d6f22 70rm -rf $RPM_BUILD_ROOT
b529f9db 71
72%files wastesedge
73%defattr(644,root,root,755)
b45892f0 74%doc README AUTHORS PLAYING
526a94a9
ER
75%{_gamedatadir}/wastesedge
76%{_pixmapsdir}/*
7ea22285 77%attr(755,root,root) %{_bindir}/adonthell-wastesedge
This page took 0.060634 seconds and 4 git commands to generate.