cmake-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Name: cmake
  2. Summary: Cross-platform make system
  3. Version: 2.8.2
  4. Release: 1%{?_dist_release}
  5. License: Insight Consortium
  6. Group: Development/Tools
  7. URL: http://www.cmake.org/
  8. Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz
  9. Source1: macros.cmake
  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. * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-1
  46. - new upstream release
  47. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.4-3
  48. - rebuilt with new toolchain
  49. * Sun Aug 30 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.4-2
  50. - imported RPM macros from Fedora (cmake-2.6.4-3.fc12)
  51. * Tue Aug 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-1
  52. - new upstream release
  53. - added Vendor/Distribution tag
  54. * Wed Mar 25 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.3-1
  55. - new upstream release
  56. * Tue Oct 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.2-1
  57. - new upstream release
  58. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.8-1
  59. - new upstream release
  60. * Wed Aug 15 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.7-0vl1
  61. - new upstream release
  62. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.6-0vl1
  63. - new upstream release
  64. - drop Patch100
  65. - use bootstrap script instead of configure
  66. - delete caches from %%doc
  67. * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.3-0vl2
  68. - rebuilt with new toolchain
  69. * Tue Oct 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.3-0vl1
  70. - new upstream release
  71. - delete duped docs
  72. * Fri Oct 13 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.3-0vl2
  73. - added Patch100 (especially for ppc to solve ppc/powerpc issue)
  74. * Mon Feb 06 2006 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 2.2.3-0vl1
  75. - source version up
  76. * Sun Mar 20 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 2.0.5-0vl1
  77. - initial build for Vine Linux