]>
Commit | Line | Data |
---|---|---|
bc45e916 ZU |
1 | Summary: 2d shooting game |
2 | Name: kulic | |
3 | Version: 1.1 | |
4 | Release: 0.3 | |
5 | License: GPL v2 | |
6 | Group: X11/Applications/Games | |
7 | Source0: http://hippo.nipax.cz/src/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 16aff4bded3ae1c6712ca71d4d429730 | |
9 | Patch0: %{name}-cstring.patch | |
10 | URL: http://hippo.nipax.cz/download.en.php | |
11 | BuildRequires: allegro-devel | |
12 | BuildRequires: automake | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: libtool | |
15 | # Need for sound, imho allegro-alsa is the best solution | |
16 | Suggests: allegro-alsa | |
17 | # Suggests: allegro-arts | |
18 | # Suggests: allegro-esd | |
19 | # Suggests: allegro-jack | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | 2d shooting game. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | %{__sed} -i "s,/usr/local,/usr,g" src/*.c* | |
29 | ||
30 | %build | |
31 | ||
32 | %{__libtoolize} | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__autoheader} | |
36 | %{__automake} | |
37 | ||
38 | %configure | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
8b08665d ZU |
47 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
48 | install misc/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
49 | install misc/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir} | |
50 | ||
bc45e916 ZU |
51 | %clean |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS ChangeLog NEWS README | |
57 | %attr(755,root,root) %{_bindir}/* | |
58 | %{_datadir}/%{name} | |
59 | %{_mandir}/man6/kulic* | |
8b08665d ZU |
60 | %{_desktopdir}/%{name}.desktop |
61 | %{_pixmapsdir}/%{name}.xpm |