/[packages]/cauldron/abe/current/SPECS/abe.spec
ViewVC logotype

Contents of /cauldron/abe/current/SPECS/abe.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 105597 - (show annotations) (download)
Mon Jun 13 05:59:08 2011 UTC (12 years, 10 months ago) by wally
File size: 1728 byte(s)
- fix desktop file (mga#1767)

1 Name: abe
2 Version: 1.1
3 Release: %mkrel 9
4 URL: http://abe.sourceforge.net/
5 Source0: %{name}-%{version}.tar.bz2
6 Source11: %{name}-16x16.png
7 Source12: %{name}-32x32.png
8 Source13: %{name}-48x48.png
9 Patch0: abe-1.1-fix-str-fmt.patch
10 Patch1: abe-1.1-drop-x-req.patch
11 License: GPL
12 Group: Games/Arcade
13 Summary: Abe's Amazing Adventure
14 BuildRequires: SDL-devel SDL_mixer-devel desktop-file-utils
15
16 %description
17 A scrolling, platform-jumping, key-collecting, ancient pyramid
18 exploring game, vaguely in the style of similar games for the
19 Commodore+4. The game is intended to show young people all the
20 cool games they missed.
21
22 %prep
23 %setup -q
24 %patch0 -p0
25 %patch1 -p0
26
27 %build
28 autoreconf -fi
29 %configure2_5x --bindir=%{_gamesbindir} \
30 --with-data-dir=%{_gamesdatadir}/abe
31 %make
32
33 %install
34 rm -rf %{buildroot}
35 %makeinstall_std
36 install -d %{buildroot}%{_gamesdatadir}/%{name}
37 cp -a {images,sounds,maps} %{buildroot}%{_gamesdatadir}/%{name}
38
39
40 mkdir -p %{buildroot}%{_datadir}/applications
41 cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
42 [Desktop Entry]
43 Name=Abe's Amazing Adventure
44 Comment=Abe's Amazing Adventure
45 Exec=%{name}
46 Icon=%{name}
47 Terminal=false
48 Type=Application
49 StartupNotify=true
50 Categories=Game;ArcadeGame;
51 EOF
52
53 install -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png
54 install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png
55 install -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png
56
57 %clean
58 rm -rf %{buildroot}
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README
63 %{_gamesdatadir}/%{name}
64 %{_iconsdir}/%{name}.png
65 %{_liconsdir}/%{name}.png
66 %{_miconsdir}/%{name}.png
67 %{_datadir}/applications/%{_real_vendor}-%{name}.desktop
68 %defattr(755,root,root,755)
69 %{_gamesbindir}/*
70
71

  ViewVC Help
Powered by ViewVC 1.1.30