edgar-vl.spec 2.8 KB

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