1 | %define pkgrel 1 |
---|
2 | |
---|
3 | Summary: The Legend of Edgar - 2D Platform Game |
---|
4 | Name: edgar |
---|
5 | Version: 1.20 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Source: %{name}-%{version}-%{pkgrel}.tar.gz |
---|
8 | |
---|
9 | Patch: edgar-0.93-build-failure.patch |
---|
10 | |
---|
11 | URL: http://www.parallelrealities.co.uk/projects/edgar.php |
---|
12 | Group: Applications/Games |
---|
13 | License: GPLv2 |
---|
14 | |
---|
15 | BuildRequires: SDL-devel |
---|
16 | BuildRequires: SDL_image-devel |
---|
17 | BuildRequires: SDL_mixer-devel |
---|
18 | BuildRequires: SDL_ttf-devel |
---|
19 | BuildRequires: zlib-devel |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
22 | Packager: munepi |
---|
23 | |
---|
24 | %description |
---|
25 | The Legend of Edgar. When his father fails to return home after venturing |
---|
26 | out one stormy night, Edgar sets off on a quest to rescue him. |
---|
27 | |
---|
28 | %prep |
---|
29 | [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" |
---|
30 | |
---|
31 | %setup -q |
---|
32 | |
---|
33 | |
---|
34 | %build |
---|
35 | %__make BIN_DIR=%{_bindir} |
---|
36 | |
---|
37 | %install |
---|
38 | [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" |
---|
39 | |
---|
40 | %__make install \ |
---|
41 | DESTDIR=%{buildroot} \ |
---|
42 | BIN_DIR=%{buildroot}%{_bindir}/ |
---|
43 | |
---|
44 | ## remove unpackaged files |
---|
45 | %__rm -rf %{buildroot}%{_datadir}/doc |
---|
46 | |
---|
47 | %find_lang %{name} |
---|
48 | |
---|
49 | %clean |
---|
50 | [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" |
---|
51 | |
---|
52 | |
---|
53 | %files -f %{name}.lang |
---|
54 | %defattr(-,root,root,-) |
---|
55 | %doc doc/* |
---|
56 | %dir %{_datadir}/games/edgar |
---|
57 | %{_bindir}/edgar |
---|
58 | %{_datadir}/applications/edgar.desktop |
---|
59 | %{_datadir}/games/edgar/edgar.pak |
---|
60 | %{_datadir}/icons/hicolor/*/apps/edgar.png |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Tue Mar 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.20-1 |
---|
64 | - new upstream release |
---|
65 | |
---|
66 | * Sun Mar 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.07-1 |
---|
67 | - new upstream release |
---|
68 | |
---|
69 | * Sun Feb 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.06.2 |
---|
70 | - new upstream release |
---|
71 | |
---|
72 | * Sun Jun 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.02-1 |
---|
73 | - new upstream release |
---|
74 | |
---|
75 | * Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.99-1 |
---|
76 | - new upstream release |
---|
77 | |
---|
78 | * Thu Mar 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.98-1 |
---|
79 | - new upstream release |
---|
80 | |
---|
81 | * Sat Mar 3 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.97-1 |
---|
82 | - new upstream release |
---|
83 | |
---|
84 | * Sat Jan 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.96-1 |
---|
85 | - new upstream release |
---|
86 | - dropped BuildRequires: SDL_net-devel |
---|
87 | |
---|
88 | * Wed Nov 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.93-1 |
---|
89 | - new upstream release |
---|
90 | - applied edgar-0.93-build-failure.patch |
---|
91 | |
---|
92 | * Thu Jul 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.92-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Fri Jun 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.87-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.80-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.73-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.71-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.46-1 |
---|
108 | - initial build |
---|