From b1fb6777a540afc08085336f68d6de157c1c917f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:40:12 +0100 Subject: [PATCH] python 2.7 rebuild [release 2.3.0-2mamba;Wed May 22 2013] --- README.md | 8 +++++ scons.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 scons.spec diff --git a/README.md b/README.md index ee4cde1..555c868 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # scons +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. + diff --git a/scons.spec b/scons.spec new file mode 100644 index 0000000..ca38cf9 --- /dev/null +++ b/scons.spec @@ -0,0 +1,96 @@ +Name: scons +Version: 2.3.0 +Release: 2mamba +Summary: An Open Source software construction tool +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.scons.org/ +Source: http://downloads.sourceforge.net/scons/scons-src-%{version}.tar.gz +License: MIT +Requires: python >= %python_version +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +BuildRequires: python +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 -n %{name}-src-%{version} + +%build +%{__python} bootstrap.py build/scons || true +pushd build/scons +%{__python} setup.py build +popd + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd build/scons +%{__python} setup.py install \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=../../.packlist +cd ../.. + +sed -i -e "s,%{_prefix}/man.*,," .packlist +rm -rf %{buildroot}%{_prefix}/man + +install -d %{buildroot}%{_mandir}/man1 +install -m 644 doc/man/*.1 %{buildroot}%{_mandir}/man1 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) +%{_mandir}/man1/* +%doc HOWTO LICENSE src/RELEASE.txt src/CHANGES.txt + +%changelog +* Wed May 22 2013 Silvan Calarco 2.3.0-2mamba +- python 2.7 rebuild + +* Tue Apr 23 2013 Automatic Build System 2.3.0-1mamba +- automatic version update by autodist + +* Thu Jul 12 2012 Automatic Build System 2.0.1-1mamba +- automatic version update by autodist + +* Fri May 07 2010 Automatic Build System 1.3.0-1mamba +- automatic update by autodist + +* Wed Feb 25 2009 Silvan Calarco 1.2.0.d20090223-1mamba +- automatic update by autodist + +* Mon Dec 08 2008 Silvan Calarco 1.1.0.d20081125-1mamba +- update to 1.1.0.d20081125 + +* Sat Oct 04 2008 Silvan Calarco 0.98.1-1mamba +- automatic update by autodist + +* Tue Aug 28 2007 Stefano Cotta Ramusino 0.97-1mamba +- update to 0.97 +- changed architecture to noarch +- new package mantainer + +* Tue Jan 30 2007 Silvan Calarco 0.96.1-3qilnx +- rebuilt; specfile fixes + +* Tue Apr 05 2005 Alessandro Ramazzina 0.96.1-2qilnx +- rebuild and moved from devel-contrib repository to devel repository + +* Wed Mar 16 2005 Matteo Bernasconi 0.96.1-1qilnx +- First Build