]> git.pld-linux.org Git - packages/apricots.git/blob - apricots.spec
- tabs in preamble
[packages/apricots.git] / apricots.spec
1 Summary:        Game where you fly a little plane around the screen and shoot things and drop bombs
2 Summary(pl.UTF-8):      Gra, polegająca na lataniu samolotem, strzelaniu do różnych rzeczy i zrzucaniu bomb
3 Name:           apricots
4 Version:        0.2.6
5 Release:        2
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
11 Patch1:         %{name}-alut.patch
12 URL:            http://www.fishies.org.uk/apricots.html
13 BuildRequires:  SDL-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  freealut-devel
17 BuildRequires:  libstdc++-devel
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
24 %description -l pl.UTF-8
25 Gra, polegająca na lataniu samolotem, strzelaniu do różnych rzeczy
26 i zrzucaniu bomb.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 cp /usr/share/automake/config.sub admin
35 %{__aclocal}
36 %{__autoconf}
37 %{__automake}
38 %configure
39 %{__make} \
40         LDFLAGS="-lalut"
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 README TODO apricots.html
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/%{name}
This page took 0.063164 seconds and 4 git commands to generate.