Compare commits
15 Commits
2.5.0-1mam
...
4.9.0-1mam
Author | SHA1 | Date | |
---|---|---|---|
ee7e5e3fb4 | |||
30073ff92b | |||
d9ffff6ba7 | |||
0f118badf2 | |||
590e03b6b5 | |||
3720f9a3e8 | |||
10585cefb4 | |||
0e3cafa52f | |||
7ae56676d0 | |||
8bf041616a | |||
e04aed595f | |||
419e0eb740 | |||
e8f26d120a | |||
32ff5b718d | |||
93c0496711 |
91
scons.spec
91
scons.spec
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user