15 Commits

Author SHA1 Message Date
ee7e5e3fb4 automatic version update by autodist [release 4.9.0-1mamba;Mon Mar 03 2025] 2025-03-03 21:04:53 +01:00
30073ff92b automatic version update by autodist [release 4.8.1-1mamba;Wed Sep 04 2024] 2024-09-05 09:11:55 +02:00
d9ffff6ba7 automatic version update by autodist [release 4.8.0-1mamba;Wed Jul 31 2024] 2024-07-31 09:52:51 +02:00
0f118badf2 automatic version update by autodist [release 4.7.0-1mamba;Mon Mar 18 2024] 2024-03-18 18:59:56 +01:00
590e03b6b5 automatic version update by autodist [release 4.6.0-1mamba;Tue Nov 21 2023] 2024-01-05 17:40:14 +01:00
3720f9a3e8 rebuilt with python3 == 3.11 [release 4.5.2-2mamba;Mon Oct 16 2023] 2024-01-05 17:40:14 +01:00
10585cefb4 automatic version update by autodist [release 4.5.2-1mamba;Tue Mar 21 2023] 2024-01-05 17:40:13 +01:00
0e3cafa52f update to 4.5.1 [release 4.5.1-1mamba;Sun Mar 19 2023] 2024-01-05 17:40:13 +01:00
7ae56676d0 automatic version update by autodist [release 4.2.0-1mamba;Tue Aug 31 2021] 2024-01-05 17:40:13 +01:00
8bf041616a rebuilt with python3 [release 3.1.2-2mamba;Wed Mar 18 2020] 2024-01-05 17:40:12 +01:00
e04aed595f automatic version update by autodist [release 3.1.2-1mamba;Tue Dec 31 2019] 2024-01-05 17:40:12 +01:00
419e0eb740 automatic version update by autodist [release 3.1.1-1mamba;Fri Aug 30 2019] 2024-01-05 17:40:12 +01:00
e8f26d120a update to 3.0.5 [release 3.0.5-1mamba;Sat Jun 29 2019] 2024-01-05 17:40:12 +01:00
32ff5b718d automatic version update by autodist [release 3.0.0-1mamba;Mon Oct 09 2017] 2024-01-05 17:40:12 +01:00
93c0496711 automatic version update by autodist [release 2.5.1-1mamba;Sat Dec 10 2016] 2024-01-05 17:40:12 +01:00

View File

@ -1,20 +1,20 @@
Name: scons
Version: 2.5.0
Version: 4.9.0
Release: 1mamba
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
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.scons.org/
Source: https://sourceforge.net/projects/scons/files/scons/%{version}/SCons-%{version}.tar.gz
License: MIT
Requires: python >= %python_version
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: python
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: python3 >= 3.11
%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.
@ -26,37 +26,82 @@ SCons uses MD5 signatures to rebuild only when the contents of a file have reall
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}
%setup -q
%build
%{__python} bootstrap.py build/scons || true
pushd build/scons
%{__python} setup.py build
popd
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd build/scons
%{__python} setup.py install \
%{__python3} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--install-data=%{_datadir} \
--record=../../.packlist
cd ../..
--record=%{name}.filelist
sed -i -e "s,%{_mandir}.*,," .packlist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
install -d -m0755 %{buildroot}%{_mandir}/man1
cp scons*.1 %{buildroot}%{_mandir}/man1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%files -f %{name}.filelist
%defattr(-,root,root)
%{_mandir}/man1/*
%doc HOWTO LICENSE src/RELEASE.txt src/CHANGES.txt
%dir %{python3_sitearch}/SCons-%{version}-py*.egg-info
%{python3_sitearch}/SCons-%{version}-py*.egg-info/*
%{_mandir}/man1/scons*.1*
%doc LICENSE
%changelog
* Mon Mar 03 2025 Automatic Build System <autodist@openmamba.org> 4.9.0-1mamba
- automatic version update by autodist
* Wed Sep 04 2024 Automatic Build System <autodist@openmamba.org> 4.8.1-1mamba
- automatic version update by autodist
* Wed Jul 31 2024 Automatic Build System <autodist@openmamba.org> 4.8.0-1mamba
- automatic version update by autodist
* Mon Mar 18 2024 Automatic Build System <autodist@openmamba.org> 4.7.0-1mamba
- automatic version update by autodist
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
- automatic version update by autodist
* Mon Oct 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.2-2mamba
- rebuilt with python3 == 3.11
* Tue Mar 21 2023 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
- automatic version update by autodist
* Sun Mar 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.1-1mamba
- update to 4.5.1
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Wed Mar 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.2-2mamba
- rebuilt with python3
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic version update by autodist
* Fri Aug 30 2019 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
- automatic version update by autodist
* Sat Jun 29 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
- update to 3.0.5
* Mon Oct 09 2017 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sat Dec 10 2016 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
- automatic version update by autodist
* Thu Oct 20 2016 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
- automatic version update by autodist