edgar-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define pkgrel 1
  2. Summary: The Legend of Edgar - 2D Platform Game
  3. Name: edgar
  4. Version: 1.23
  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. %{_datadir}/appdata/edgar.appdata.xml
  45. %{_mandir}/man6/edgar.*
  46. %changelog
  47. * Sun Feb 7 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.23-1
  48. - new upstream release
  49. * Mon Jan 11 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.22-1
  50. - new upstream release
  51. * Tue Mar 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.20-1
  52. - new upstream release
  53. * Sun Mar 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.07-1
  54. - new upstream release
  55. * Sun Feb 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.06.2
  56. - new upstream release
  57. * Sun Jun 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.02-1
  58. - new upstream release
  59. * Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.99-1
  60. - new upstream release
  61. * Thu Mar 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.98-1
  62. - new upstream release
  63. * Sat Mar 3 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.97-1
  64. - new upstream release
  65. * Sat Jan 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.96-1
  66. - new upstream release
  67. - dropped BuildRequires: SDL_net-devel
  68. * Wed Nov 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.93-1
  69. - new upstream release
  70. - applied edgar-0.93-build-failure.patch
  71. * Thu Jul 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.92-1
  72. - new upstream release
  73. * Fri Jun 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.87-1
  74. - new upstream release
  75. * Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.80-1
  76. - new upstream release
  77. * Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.73-1
  78. - new upstream release
  79. * Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.71-1
  80. - new upstream release
  81. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.46-1
  82. - initial build