]> git.pld-linux.org Git - packages/flyhard.git/blob - flyhard.spec
- 0.42
[packages/flyhard.git] / flyhard.spec
1 Summary(pl.UTF-8):      Klon gry Thrust
2 Summary:        Thrust clone
3 Name:           flyhard
4 Version:        0.42
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
9 # Source0-md5:  e87a00f59087b6bbf04e78e69407ffcb
10 Patch0:         %{name}-transform.patch
11 URL:            http://www.markboyd.me.uk/games/flyhard/flyhard.html
12 BuildRequires:  SDL-devel
13 BuildRequires:  SDL_mixer-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  sed >= 4.0
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
24 %description -l pl.UTF-8
25 Jest to gra podobna do gry Thrust - gracz unosi rzeczy swoim statkiem,
26 przenosi je i gdzieƛ upuszcza.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %{__sed} -i -e 's,\$(savedir),\$(DESTDIR)$(savedir),' src/Makefile.am
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}
This page took 0.075163 seconds and 3 git commands to generate.