Name: scons Version: 1.2.0 Release: 3%{?dist} Summary: An Open Source software construction tool Group: Development/Tools License: MIT URL: http://www.scons.org Source: http://prdownloads.sourceforge.net/scons/scons-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: sed %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 sed -i 's|/usr/bin/env python|/usr/bin/python|' script/* %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} 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 * Sun Jul 26 2009 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 25 2008 Alex Lancaster - 1.2.0-1 - Update to 1.2.0 to fix problems with Python 2.6 (#475903) (currently causing broken deps with other packages) * Thu Dec 18 2008 Gerard Milmeister - 1.1.0-1 - new release 1.1.0 * Fri Sep 5 2008 Gerard Milmeister - 1.0.0-1.d20080826 - new release 1.0.0 * Sun Aug 3 2008 Gerard Milmeister - 0.98.5-1 - new release 0.98.5 * Sun Jun 1 2008 Gerard Milmeister - 0.98.4-2 - added buildreq sed * Sat May 31 2008 Gerard Milmeister - 0.98.4-1 - new release 0.98.4 * Sun May 4 2008 Gerard Milmeister - 0.98.3-2 - changed shebang line of scripts * Sun May 4 2008 Gerard Milmeister - 0.98.3-1 - new release 0.98.3 * Sat Apr 19 2008 Gerard Milmeister - 0.98.1-1 - new release 0.98.1 * Sat Apr 5 2008 Gerard Milmeister - 0.98-1 - new release 0.98 * 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