[7533] | 1 | %define pkgrel 1 |
---|
[4206] | 2 | |
---|
| 3 | Summary: The Legend of Edgar - 2D Platform Game |
---|
| 4 | Name: edgar |
---|
[10018] | 5 | Version: 1.23 |
---|
[4206] | 6 | Release: 1%{?_dist_release} |
---|
| 7 | Source: %{name}-%{version}-%{pkgrel}.tar.gz |
---|
| 8 | |
---|
[5179] | 9 | Patch: edgar-0.93-build-failure.patch |
---|
[4206] | 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 |
---|
[9948] | 61 | %{_datadir}/appdata/edgar.appdata.xml |
---|
| 62 | %{_mandir}/man6/edgar.* |
---|
[4206] | 63 | |
---|
[9948] | 64 | |
---|
[4206] | 65 | %changelog |
---|
[10018] | 66 | * Sun Feb 7 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.23-1 |
---|
| 67 | - new upstream release |
---|
| 68 | |
---|
[9948] | 69 | * Mon Jan 11 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.22-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
[9468] | 72 | * Tue Mar 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.20-1 |
---|
| 73 | - new upstream release |
---|
| 74 | |
---|
[7533] | 75 | * Sun Mar 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.07-1 |
---|
| 76 | - new upstream release |
---|
| 77 | |
---|
| 78 | * Sun Feb 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.06.2 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
[6425] | 81 | * Sun Jun 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.02-1 |
---|
| 82 | - new upstream release |
---|
| 83 | |
---|
[6059] | 84 | * Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.99-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[5960] | 87 | * Thu Mar 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.98-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[5812] | 90 | * Sat Mar 3 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.97-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
| 93 | * Sat Jan 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.96-1 |
---|
| 94 | - new upstream release |
---|
| 95 | - dropped BuildRequires: SDL_net-devel |
---|
| 96 | |
---|
[5179] | 97 | * Wed Nov 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.93-1 |
---|
| 98 | - new upstream release |
---|
| 99 | - applied edgar-0.93-build-failure.patch |
---|
| 100 | |
---|
[4362] | 101 | * Thu Jul 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.92-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[4206] | 104 | * Fri Jun 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.87-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
| 107 | * Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.80-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
| 110 | * Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.73-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
| 113 | * Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.71-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
| 116 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.46-1 |
---|
| 117 | - initial build |
---|