]>
Commit | Line | Data |
---|---|---|
0023af90 | 1 | Summary: Thrust clon |
56ce9286 | 2 | Summary(pl.UTF-8): Klon gry Thrust |
8bc453c1 | 3 | Name: flyhard |
68a2d575 | 4 | Version: 0.42 |
8bc453c1 | 5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://www.markboyd.me.uk/games/flyhard/%{name}-%{version}.tar.gz | |
68a2d575 | 9 | # Source0-md5: e87a00f59087b6bbf04e78e69407ffcb |
af7113c9 | 10 | Patch0: %{name}-transform.patch |
8bc453c1 | 11 | URL: http://www.markboyd.me.uk/games/flyhard/flyhard.html |
12 | BuildRequires: SDL-devel | |
13 | BuildRequires: SDL_mixer-devel | |
0d5dcf57 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
af7113c9 | 16 | BuildRequires: sed >= 4.0 |
8bc453c1 | 17 | BuildRequires: zlib-devel |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | This is a game similar to Thrust - you pick things up with your ship, | |
22 | carry them off, and drop them somewhere. | |
23 | ||
37b81c56 | 24 | %description -l pl.UTF-8 |
8bc453c1 | 25 | Jest to gra podobna do gry Thrust - gracz unosi rzeczy swoim statkiem, |
37b81c56 | 26 | przenosi je i gdzieś upuszcza. |
8bc453c1 | 27 | |
28 | %prep | |
29 | %setup -q | |
af7113c9 | 30 | %patch0 -p1 |
31 | ||
32 | %{__sed} -i -e 's,\$(savedir),\$(DESTDIR)$(savedir),' src/Makefile.am | |
8bc453c1 | 33 | |
34 | %build | |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
39 | %configure | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc AUTHORS ChangeLog NEWS README TODO | |
54 | %attr(755,root,root) %{_bindir}/%{name} | |
55 | %{_datadir}/%{name} |