/[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 345192 - (show annotations) (download)
Fri Jan 11 02:04:03 2013 UTC (11 years, 3 months ago) by umeabot
File size: 1796 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
1 Name: abe
2 Version: 1.1
3 Release: %mkrel 11
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 Patch2: abe-1.1-automake-1.13.patch
12 License: GPL
13 Group: Games/Arcade
14 Summary: Abe's Amazing Adventure
15 BuildRequires: SDL-devel SDL_mixer-devel desktop-file-utils
16
17 %description
18 A scrolling, platform-jumping, key-collecting, ancient pyramid
19 exploring game, vaguely in the style of similar games for the
20 Commodore+4. The game is intended to show young people all the
21 cool games they missed.
22
23 %prep
24 %setup -q
25 %patch0 -p0
26 %patch1 -p0
27 %patch2 -p1 -b .automake-1_13
28
29 %build
30 autoreconf -fi
31 %configure2_5x --bindir=%{_gamesbindir} \
32 --with-data-dir=%{_gamesdatadir}/abe
33 %make
34
35 %install
36 rm -rf %{buildroot}
37 %makeinstall_std
38 install -d %{buildroot}%{_gamesdatadir}/%{name}
39 cp -a {images,sounds,maps} %{buildroot}%{_gamesdatadir}/%{name}
40
41
42 mkdir -p %{buildroot}%{_datadir}/applications
43 cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
44 [Desktop Entry]
45 Name=Abe's Amazing Adventure
46 Comment=Abe's Amazing Adventure
47 Exec=%{name}
48 Icon=%{name}
49 Terminal=false
50 Type=Application
51 StartupNotify=true
52 Categories=Game;ArcadeGame;
53 EOF
54
55 install -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png
56 install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png
57 install -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png
58
59 %clean
60 rm -rf %{buildroot}
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README
65 %{_gamesdatadir}/%{name}
66 %{_iconsdir}/%{name}.png
67 %{_liconsdir}/%{name}.png
68 %{_miconsdir}/%{name}.png
69 %{_datadir}/applications/%{_real_vendor}-%{name}.desktop
70 %defattr(755,root,root,755)
71 %{_gamesbindir}/*
72
73

  ViewVC Help
Powered by ViewVC 1.1.30