python 2.7 rebuild [release 2.3.0-2mamba;Wed May 22 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 17:40:12 +01:00
parent d91129dc06
commit b1fb6777a5
2 changed files with 104 additions and 0 deletions

View File

@ -1,2 +1,10 @@
# scons # 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.

96
scons.spec Normal file
View File

@ -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 <stefano.cotta@openmamba.org>
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 <silvan.calarco@mambasoft.it> 2.3.0-2mamba
- python 2.7 rebuild
* Tue Apr 23 2013 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Thu Jul 12 2012 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic version update by autodist
* Fri May 07 2010 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic update by autodist
* Wed Feb 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0.d20090223-1mamba
- automatic update by autodist
* Mon Dec 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0.d20081125-1mamba
- update to 1.1.0.d20081125
* Sat Oct 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98.1-1mamba
- automatic update by autodist
* Tue Aug 28 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.97-1mamba
- update to 0.97
- changed architecture to noarch
- new package mantainer
* Tue Jan 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.96.1-3qilnx
- rebuilt; specfile fixes
* Tue Apr 05 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.96.1-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Wed Mar 16 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.96.1-1qilnx
- First Build