]>
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 | |
2cff829a TP |
10 | #Source1: http://sites.google.com/a/camanis.net/opentyrian/tyrian/tyrian21.zip |
11 | Source1: tyrian21.zip | |
12 | # Source1-md5: 2a3b206a6de25ed4b771af073f8ca904 | |
cd5e1afc TP |
13 | URL: http://code.google.com/p/opentyrian/ |
14 | BuildRequires: SDL_net-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Tyrian is an arcade-style vertical scrolling shooter. The story is set | |
19 | in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot | |
20 | employed to fight MicroSol and save the galaxy. | |
21 | ||
22 | Tyrian features a story mode, one- and two-player arcade modes, and | |
23 | networked multiplayer. | |
24 | ||
25 | %prep | |
26 | %setup -q -n %{name} -a1 | |
27 | %{__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} | |
28 | ||
29 | %build | |
30 | %{__make} \ | |
31 | CFLAGS="%{rpmcflags}" | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/data,%{_mandir}/man6,%{_desktopdir},%{_pixmapsdir}} | |
36 | ||
37 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
38 | cp -a linux/man/opentyrian.6 $RPM_BUILD_ROOT%{_mandir}/man6 | |
39 | cp -a linux/opentyrian.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
40 | cp -a linux/icons/tyrian-*.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
41 | cp -a tyrian21/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc CREDITS NEWS README doc/* | |
49 | %attr(755,root,root) %{_bindir}/%{name} | |
50 | %{_datadir}/%{name} | |
51 | %{_desktopdir}/%{name}.desktop | |
52 | %{_pixmapsdir}/tyrian-*.png | |
53 | %{_mandir}/man6/%{name}.6* |