]> git.pld-linux.org Git - packages/opentyrian.git/blame - opentyrian.spec
- wget can't download original Source1 URL...
[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
2cff829a
TP
10#Source1: http://sites.google.com/a/camanis.net/opentyrian/tyrian/tyrian21.zip
11Source1: tyrian21.zip
12# Source1-md5: 2a3b206a6de25ed4b771af073f8ca904
cd5e1afc
TP
13URL: http://code.google.com/p/opentyrian/
14BuildRequires: SDL_net-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Tyrian is an arcade-style vertical scrolling shooter. The story is set
19in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot
20employed to fight MicroSol and save the galaxy.
21
22Tyrian features a story mode, one- and two-player arcade modes, and
23networked 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
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/data,%{_mandir}/man6,%{_desktopdir},%{_pixmapsdir}}
36
37install %{name} $RPM_BUILD_ROOT%{_bindir}
38cp -a linux/man/opentyrian.6 $RPM_BUILD_ROOT%{_mandir}/man6
39cp -a linux/opentyrian.desktop $RPM_BUILD_ROOT%{_desktopdir}
40cp -a linux/icons/tyrian-*.png $RPM_BUILD_ROOT%{_pixmapsdir}
41cp -a tyrian21/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data
42
43%clean
44rm -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*
This page took 0.050755 seconds and 5 git commands to generate.