]>
Commit | Line | Data |
---|---|---|
cd5e1afc TP |
1 | %define snap 20110209 |
2 | Summary: Arcade-style vertical scrolling shooter | |
3 | Name: opentyrian | |
4 | Version: 0 | |
5 | Release: 0.%{snap} | |
6 | License: GPL v2, freeware (artwork) | |
7 | Group: X11/Applications/Games | |
8 | Source0: %{name}-0.%{snap}.tar.bz2 | |
9 | # Source0-md5: 1388f4d0fa902f24c54134203ccd0337 | |
10 | Source1: http://camanis.net/tyrian/tyrian21.zip | |
11 | # Source1-md5: 2a3b206a6de25ed4b771af073f8ca904 | |
12 | URL: http://code.google.com/p/opentyrian/ | |
13 | BuildRequires: SDL_net-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Tyrian is an arcade-style vertical scrolling shooter. The story is set | |
18 | in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot | |
19 | employed to fight MicroSol and save the galaxy. | |
20 | ||
21 | Tyrian features a story mode, one- and two-player arcade modes, and | |
22 | networked multiplayer. | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{name} -a1 | |
26 | %{__rm} tyrian21/{dpmi16bi.ovl,*.{exe,int},{net*,shipedit,tyrset}.pcx,exitmsg.bin,file_id.diz,{helpme,license,order}.doc,order.tfp,setup.{box,ini},modems.txt} | |
27 | ||
28 | %build | |
29 | %{__make} \ | |
30 | CFLAGS="%{rpmcflags}" | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/data,%{_mandir}/man6,%{_desktopdir},%{_pixmapsdir}} | |
35 | ||
36 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
37 | cp -a linux/man/opentyrian.6 $RPM_BUILD_ROOT%{_mandir}/man6 | |
38 | cp -a linux/opentyrian.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
39 | cp -a linux/icons/tyrian-*.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
40 | cp -a tyrian21/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc CREDITS NEWS README doc/* | |
48 | %attr(755,root,root) %{_bindir}/%{name} | |
49 | %{_datadir}/%{name} | |
50 | %{_desktopdir}/%{name}.desktop | |
51 | %{_pixmapsdir}/tyrian-*.png | |
52 | %{_mandir}/man6/%{name}.6* |