cmake-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: Cross-platform make system
  2. Name: cmake
  3. Version: 2.6.4
  4. Release: 3%{?_dist_release}
  5. Source0: http://www.cmake.org/files/v2.6/%{name}-%{version}.tar.gz
  6. Source1: macros.cmake
  7. License: Insight Consortium
  8. Group: Development/Tools
  9. URL: http://www.cmake.org/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. CMake is used to control the software compilation process using simple
  15. platform and compiler independent configuration files. CMake generates
  16. native makefiles and workspaces that can be used in the compiler
  17. environment of your choice. CMake is quite sophisticated: it is possible
  18. to support complex environments requiring system configuration, pre-processor
  19. generation, code generation, and template instantiation.
  20. %prep
  21. %setup -q
  22. %build
  23. ./bootstrap --prefix=%{_prefix} --datadir=/share/CMake --mandir=/share/man
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. %makeinstall DESTDIR=$RPM_BUILD_ROOT
  28. rm -rf $RPM_BUILD_ROOT/usr/doc
  29. # RPM macros
  30. install -p -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake
  31. sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake
  32. touch -r %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root)
  37. %doc CMakeLogo.gif ChangeLog.* Copyright.txt
  38. %doc Docs/*
  39. %doc Example/
  40. %config(noreplace) %{_sysconfdir}/rpm/macros.cmake
  41. %{_bindir}/*
  42. %{_datadir}/CMake/
  43. %{_mandir}/man1/*
  44. %changelog
  45. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.4-3
  46. - rebuilt with new toolchain
  47. * Sun Aug 30 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.4-2
  48. - imported RPM macros from Fedora (cmake-2.6.4-3.fc12)
  49. * Tue Aug 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-1
  50. - new upstream release
  51. - added Vendor/Distribution tag
  52. * Wed Mar 25 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.3-1
  53. - new upstream release
  54. * Tue Oct 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.2-1
  55. - new upstream release
  56. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.8-1
  57. - new upstream release
  58. * Wed Aug 15 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.7-0vl1
  59. - new upstream release
  60. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.6-0vl1
  61. - new upstream release
  62. - drop Patch100
  63. - use bootstrap script instead of configure
  64. - delete caches from %%doc
  65. * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.3-0vl2
  66. - rebuilt with new toolchain
  67. * Tue Oct 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.3-0vl1
  68. - new upstream release
  69. - delete duped docs
  70. * Fri Oct 13 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.3-0vl2
  71. - added Patch100 (especially for ppc to solve ppc/powerpc issue)
  72. * Mon Feb 06 2006 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 2.2.3-0vl1
  73. - source version up
  74. * Sun Mar 20 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 2.0.5-0vl1
  75. - initial build for Vine Linux