vcmi.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Summary: VCMI is an open-source project aiming to reimplement HMM3:WoG game engine, giving it new and extended possibilities.
  2. Name: vcmi
  3. Version: 0.89
  4. Release: 1%{?dist}
  5. License: GPLv2+
  6. Group: Amusements/Games
  7. # The source for this package was pulled from upstream's vcs. Use the
  8. # following commands to generate the tarball:
  9. # svn export -r HEAD https://vcmi.svn.sourceforge.net/svnroot/vcmi/tags/0.89 vcmi-0.89-1
  10. # tar -cJvf vcmi-0.89-1.tar.xz vcmi-0.89-1
  11. Source: vcmi-0.89-1.tar.xz
  12. URL: http://forum.vcmi.eu/portal.php
  13. BuildRequires: gcc-c++
  14. BuildRequires: SDL-devel
  15. BuildRequires: SDL_image-devel
  16. BuildRequires: SDL_ttf-devel
  17. BuildRequires: SDL_mixer-devel
  18. BuildRequires: boost
  19. BuildRequires: boost-devel
  20. BuildRequires: boost-filesystem
  21. BuildRequires: boost-iostreams
  22. BuildRequires: boost-system
  23. BuildRequires: boost-thread
  24. BuildRequires: boost-program-options
  25. BuildRequires: zlib-devel
  26. BuildRequires: ffmpeg-devel
  27. BuildRequires: ffmpeg-libs
  28. %description
  29. The purpose of VCMI project is to rewrite entire HOMM 3: WoG engine from scratch, giving it new and extended possibilities. We hope to support mods and new towns already made by fans but abandoned because of game code limitations.
  30. VCMI is fan-made open-source project in progress. We already allow support for maps of any sizes, higher resolutions and extended engine limits. However, although working, the game is not finished. There are still many features and functionalities to add, both old and brand new.
  31. As yet VCMI is not standalone program, it uses Wake of Gods files and graphics. You need to install WoG before running VCMI.
  32. %prep
  33. %setup -q -n %{name}-%{version}-1
  34. %build
  35. ./configure --datadir=%{_datadir} --bindir=%{_bindir} --libdir=%{_libdir}
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf %{buildroot}
  39. make DESTDIR=%{buildroot} install
  40. mkdir -p %{buildroot}%{_datadir}/%{name}/
  41. %files
  42. %doc README README.linux COPYING AUTHORS ChangeLog
  43. %{_bindir}/vcmiclient
  44. %{_bindir}/vcmiserver
  45. %{_libdir}/%{name}/*
  46. %dir %{_datadir}/%{name}
  47. %{_datadir}/applications/*
  48. %{_datadir}/icons/*
  49. %changelog
  50. * Sun Jun 08 2012 VCMI - 0.89-1
  51. - Initial version