Name: scons Version: 1.2.0 Release: 1 Summary: An Open Source software construction tool Group: Development/Tools License: MIT URL: http://www.scons.org Source: scons-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]") %description SCons is an Open Source software construction tool--that is, a build tool; an improved substitute for the classic Make utility; a better way to build software. SCons is based on the design which won the Software Carpentry build tool design competition in August 2000. SCons "configuration files" are Python scripts, eliminating the need to learn a new build tool syntax. SCons maintains a global view of all dependencies in a tree, and can scan source (or other) files for implicit dependencies, such as files specified on #include lines. SCons uses MD5 signatures to rebuild only when the contents of a file have really changed, not just when the timestamp has been touched. SCons supports side-by-side variant builds, and is easily extended with user- defined Builder and/or Scanner objects. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib=%{_prefix}/lib/scons --install-scripts=%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir} #cp -f scons.1 sconsign.1 $RPM_BUILD_ROOT%{_mandir}/man1 mv $RPM_BUILD_ROOT%{_prefix}/man/* $RPM_BUILD_ROOT%{_mandir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt %{_bindir}/* %{_prefix}/lib/scons %{_mandir}/man*/* %changelog * Thu Jan 29 2009 Tyler Cassidy - 1.2.0-1 - Updated to version 1.2.0 * Tue Jul 10 2007 Tyler Cassidy - 0.97-1 - Modified for CentOS 5. * Mon May 21 2007 Gerard Milmeister - 0.97-1 - new version 0.97 * Thu May 10 2007 Gerard Milmeister - 0.96.96-1 - new version 0.96.96 * Mon Aug 28 2006 Gerard Milmeister - 0.96.1-3 - Rebuild for FE6 * Sat Jun 18 2005 Gerard Milmeister - 0.96.1-1 - New Version 0.96.1 * Fri Apr 7 2005 Michael Schwendt - rebuilt * Tue Jan 25 2005 Thorsten Leemhuis 0.96-4 - Place libs in {_prefix}/lib/ and not in {libdir}; fixes x86_64 problems - Adjust minor bits to be in sync with python-spec-template * Wed Nov 10 2004 Matthias Saou 0.96-3 - Bump release to provide Extras upgrade path. * Thu Aug 19 2004 Gerard Milmeister - 0:0.96-0.fdr.1 - New Version 0.96 * Thu Apr 15 2004 Gerard Milmeister - 0:0.95-0.fdr.1 - New Version 0.95 * Fri Nov 7 2003 Gerard Milmeister - 0:0.93-0.fdr.1 - First Fedora release