]> git.pld-linux.org Git - packages/opentyrian.git/blame - opentyrian.spec
- updated MD5 of resource file (IPv6 only)
[packages/opentyrian.git] / opentyrian.spec
CommitLineData
cd5e1afc
TP
1%define snap 20110209
2Summary: Arcade-style vertical scrolling shooter
3Name: opentyrian
4Version: 0
5Release: 0.%{snap}
6License: GPL v2, freeware (artwork)
7Group: X11/Applications/Games
8Source0: %{name}-0.%{snap}.tar.bz2
9# Source0-md5: 1388f4d0fa902f24c54134203ccd0337
10Source1: http://camanis.net/tyrian/tyrian21.zip
fd6a8085 11# Source1-md5: c3b8400abb2d9dd45d2e3c3fb5ce1563
cd5e1afc
TP
12URL: http://code.google.com/p/opentyrian/
13BuildRequires: SDL_net-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Tyrian is an arcade-style vertical scrolling shooter. The story is set
18in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot
19employed to fight MicroSol and save the galaxy.
20
21Tyrian features a story mode, one- and two-player arcade modes, and
22networked 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
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/data,%{_mandir}/man6,%{_desktopdir},%{_pixmapsdir}}
35
36install %{name} $RPM_BUILD_ROOT%{_bindir}
37cp -a linux/man/opentyrian.6 $RPM_BUILD_ROOT%{_mandir}/man6
38cp -a linux/opentyrian.desktop $RPM_BUILD_ROOT%{_desktopdir}
39cp -a linux/icons/tyrian-*.png $RPM_BUILD_ROOT%{_pixmapsdir}
40cp -a tyrian21/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data
41
42%clean
43rm -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*
This page took 0.080386 seconds and 4 git commands to generate.