]>
Commit | Line | Data |
---|---|---|
7b59d2da ER |
1 | # NOTE: |
2 | # - sure this package could be instead doom-data, but doomsday engine is the best! | |
3 | # TODO | |
4 | # - hexen2, doom2, Plutionia and Tnt could be available freely. | |
5 | Summary: Doom, Heretic and Hexen .wadfiles | |
6 | Name: doomsday-data | |
7 | Version: 0.1 | |
8 | Release: 0.1 | |
9 | License: ? | |
10 | Group: Applications/Games | |
11 | Source0: Doom.wad | |
12 | # Source0-md5: c4fe9fd920207691a9f493668e0a2083 | |
13 | NoSource: 0 | |
14 | Source1: Plutonia.wad | |
15 | # Source1-md5: 75c8cf89566741fa9d22447604053bd7 | |
16 | NoSource: 1 | |
17 | Source2: Tnt.wad | |
18 | # Source2-md5: 4e158d9953c79ccf97bd0663244cc6b6 | |
19 | NoSource: 2 | |
20 | Source3: Heretic.wad | |
21 | # Source3-md5: ae779722390ec32fa37b0d361f7d82f8 | |
22 | NoSource: 3 | |
23 | Source4: Hexen.wad | |
24 | # Source4-md5: abb033caf81e26f12a2103e1fa25453f | |
25 | NoSource: 4 | |
26 | BuildArch: noarch | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %define _gamedatadir %{_datadir}/deng | |
30 | ||
31 | %description | |
32 | THis package contains wad files for jDoom: | |
33 | - Doom - Doom I | |
34 | - Plutonia | |
35 | - Tnt | |
36 | - Heretic - Heretic I | |
37 | - Hexen - Hexen I | |
38 | ||
39 | %prep | |
40 | %setup -q -c -T | |
41 | cp -p %{SOURCE0} . | |
42 | cp -p %{SOURCE1} . | |
43 | cp -p %{SOURCE2} . | |
44 | cp -p %{SOURCE3} . | |
45 | cp -p %{SOURCE4} . | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT%{_gamedatadir}/j{Doom,Heretic,Hexen} | |
50 | ||
51 | cp -p Doom.wad Plutonia.wad Tnt.wad $RPM_BUILD_ROOT%{_gamedatadir}/jDoom | |
52 | cp -p Heretic.wad $RPM_BUILD_ROOT%{_gamedatadir}/jHeretic | |
53 | cp -p Hexen.wad $RPM_BUILD_ROOT%{_gamedatadir}/jHexen | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %{_gamedatadir}/j*/*.wad |