]>
Commit | Line | Data |
---|---|---|
a4af080f | 1 | Summary: Game where you fly a little plane around the screen and shoot things and drop bombs |
73a961f1 | 2 | Summary(pl.UTF-8): Gra, polegająca na lataniu samolotem, strzelaniu do różnych rzeczy i zrzucaniu bomb |
a4af080f | 3 | Name: apricots |
4 | Version: 0.2.6 | |
baf42981 | 5 | Release: 2 |
a4af080f | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
8 | Source0: http://www.fishies.org.uk/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 910828d717e46d8cbd9c24f702d09fbc | |
10 | Patch0: %{name}-destdir.patch | |
baf42981 | 11 | Patch1: %{name}-alut.patch |
a4af080f | 12 | URL: http://www.fishies.org.uk/apricots.html |
a4af080f | 13 | BuildRequires: SDL-devel |
7ebb87d0 | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
baf42981 | 16 | BuildRequires: freealut-devel |
c135a7e1 | 17 | BuildRequires: libstdc++-devel |
a4af080f | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Game where you fly a little plane around the screen and shoot things | |
22 | and drop bombs. | |
23 | ||
be902c77 JR |
24 | %description -l pl.UTF-8 |
25 | Gra, polegająca na lataniu samolotem, strzelaniu do różnych rzeczy | |
a4af080f | 26 | i zrzucaniu bomb. |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | %patch0 -p1 | |
baf42981 | 31 | %patch1 -p1 |
a4af080f | 32 | |
33 | %build | |
7ebb87d0 | 34 | cp /usr/share/automake/config.sub admin |
a4af080f | 35 | %{__aclocal} |
36 | %{__autoconf} | |
37 | %{__automake} | |
38 | %configure | |
baf42981 | 39 | %{__make} \ |
40 | LDFLAGS="-lalut" | |
a4af080f | 41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
7ebb87d0 | 45 | %{__make} install \ |
46 | DESTDIR=$RPM_BUILD_ROOT | |
a4af080f | 47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc AUTHORS ChangeLog README TODO apricots.html | |
54 | %attr(755,root,root) %{_bindir}/* | |
55 | %{_datadir}/%{name} |