vcmi.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Summary: VCMI is an open-source project aiming to reimplement the entire H3:WoG game engine, giving it new and extended possibilities
  2. Name: vcmi
  3. Version: 0.9.1
  4. Release: 2%{?dist}
  5. License: GPLv2+
  6. # The source for this package was pulled from upstream's vcs. Use the
  7. # following commands to generate the tarball:
  8. # svn export -r HEAD https://vcmi.svn.sourceforge.net/svnroot/vcmi/tags/0.91 vcmi-0.9.1-2
  9. # tar -cJf vcmi-0.9.1-2.tar.xz vcmi-0.9.1-2
  10. Source: vcmi-0.9.1-2.tar.xz
  11. URL: http://forum.vcmi.eu/portal.php
  12. BuildRequires: cmake
  13. BuildRequires: gcc-c++ >= 4.7.2
  14. BuildRequires: SDL-devel
  15. BuildRequires: SDL_image-devel
  16. BuildRequires: SDL_ttf-devel
  17. BuildRequires: SDL_mixer-devel >= 1.2.8
  18. BuildRequires: boost >= 1.44
  19. BuildRequires: boost-devel >= 1.44
  20. BuildRequires: boost-filesystem >= 1.44
  21. BuildRequires: boost-iostreams >= 1.44
  22. BuildRequires: boost-system >= 1.44
  23. BuildRequires: boost-thread >= 1.44
  24. BuildRequires: boost-program-options >= 1.44
  25. BuildRequires: zlib-devel
  26. BuildRequires: ffmpeg-devel
  27. BuildRequires: ffmpeg-libs
  28. %description
  29. The purpose of VCMI project is to rewrite the entire H3:WoG engine from scratch,
  30. giving it new and extended possibilities.
  31. VCMI is fan-made open-source project in progress. We already allow support for
  32. maps of any sizes, higher resolutions, extended engine limits, modding support
  33. for custom towns, artifacts, heroes, etc...
  34. As yet VCMI is not a standalone program, it uses Wake of Gods files and
  35. graphics. You need to install WoG before running VCMI.
  36. %prep
  37. %setup -q -n %{name}-%{version}-2
  38. %build
  39. cmake -DCMAKE_INSTALL_PREFIX=/usr ./
  40. make %{?_smp_mflags}
  41. %install
  42. make DESTDIR=%{buildroot} install
  43. %files
  44. %doc README COPYING AUTHORS ChangeLog
  45. %{_bindir}/vcmiclient
  46. %{_bindir}/vcmiserver
  47. %{_bindir}/vcmibuilder
  48. %{_libdir}/%{name}/*
  49. %{_datadir}/%{name}/*
  50. %{_datadir}/applications/*
  51. %{_datadir}/icons/*
  52. %changelog
  53. * Fri Feb 01 2013 VCMI - 0.9.1-2
  54. - New upstream release
  55. * Wed Jan 30 2013 VCMI - 0.9.1-1
  56. - Development release
  57. * Sun Oct 21 2012 VCMI - 0.9-2
  58. - Second release of 0.9, Fixed battles crash
  59. * Sat Oct 06 2012 VCMI - 0.9-1
  60. - New upstream release
  61. * Sun Jun 08 2012 VCMI - 0.89-1
  62. - Initial version