edgar-vl.spec 2.7 KB

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