scons-vl.spec 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Summary: An Open Source software construction tool
  2. Summary(ja): オープンソースソフトウエア構築ツール
  3. Name: scons
  4. Version: 1.2.0
  5. Release: 2%{?_dist_release}
  6. Source: %{name}-%{version}.tar.gz
  7. Group: Development/Tools
  8. License: MIT
  9. URL: http://www.scons.org/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. BuildArch: noarch
  12. BuildRequires: python-devel
  13. %description
  14. SCons is an Open Source software construction tool--that is, a build
  15. tool; an improved substitute for the classic Make utility; a better way
  16. to build software. SCons is based on the design which won the Software
  17. Carpentry build tool design competition in August 2000.
  18. SCons "configuration files" are Python scripts, eliminating the need
  19. to learn a new build tool syntax. SCons maintains a global view of
  20. all dependencies in a tree, and can scan source (or other) files for
  21. implicit dependencies, such as files specified on #include lines. SCons
  22. uses MD5 signatures to rebuild only when the contents of a file have
  23. really changed, not just when the timestamp has been touched. SCons
  24. supports side-by-side variant builds, and is easily extended with user-
  25. defined Builder and/or Scanner objects.
  26. %prep
  27. %setup -q
  28. %build
  29. CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. %{__python} setup.py install \
  33. --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES \
  34. --install-lib=%{_prefix}/lib/scons --install-scripts=%{_bindir} --install-data=%{_datadir}
  35. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  36. cp -f scons.1 sconsign.1 $RPM_BUILD_ROOT%{_mandir}/man1
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt
  42. %{_bindir}/*
  43. %{_prefix}/lib/scons
  44. %{_mandir}/man*/*
  45. %changelog
  46. * Sun Feb 21 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2
  47. - rebuilt with new toolchain
  48. * Sat Apr 25 2009 Shu KONNO <owa@bg.wakwak.com> 1.2.0-1
  49. - new upstream release
  50. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-1
  51. - new upstream release
  52. - applied new versioning policy, spec in utf-8
  53. * Fri Jun 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-0vl1
  54. - new upstream release
  55. * Sat Oct 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96-0vl1
  56. - initial build for Vine Linux
  57. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  58. - rebuilt
  59. * Tue Jan 25 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> 0.96-4
  60. - Place libs in {_prefix}/lib/ and not in {libdir}; fixes x86_64 problems
  61. - Adjust minor bits to be in sync with python-spec-template
  62. * Wed Nov 10 2004 Matthias Saou <http://freshrpms.net/> 0.96-3
  63. - Bump release to provide Extras upgrade path.
  64. * Thu Aug 19 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:0.96-0.fdr.1
  65. - New Version 0.96
  66. * Thu Apr 15 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:0.95-0.fdr.1
  67. - New Version 0.95
  68. * Fri Nov 7 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:0.93-0.fdr.1
  69. - First Fedora release