Compare commits
5 Commits
3.1.2-2mam
...
4.6.0-1mam
Author | SHA1 | Date | |
---|---|---|---|
590e03b6b5 | |||
3720f9a3e8 | |||
10585cefb4 | |||
0e3cafa52f | |||
7ae56676d0 |
51
scons.spec
51
scons.spec
@ -1,20 +1,19 @@
|
||||
Name: scons
|
||||
Version: 3.1.2
|
||||
Release: 2mamba
|
||||
Version: 4.6.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/%{version}/scons-%{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: python3 >= %python3_version
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3
|
||||
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,9 +25,9 @@ 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
|
||||
%setup -q -n SCons-%{version}
|
||||
|
||||
sed -i "s|env python$|env python3|" script/scons*
|
||||
#sed -i "s|env python$|env python3|" script/scons*
|
||||
|
||||
%build
|
||||
%{__python3} setup.py build
|
||||
@ -40,20 +39,40 @@ sed -i "s|env python$|env python3|" script/scons*
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--install-data=%{_datadir} \
|
||||
--record=.packlist
|
||||
--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 LICENSE.txt
|
||||
%dir %{python3_sitearch}/SCons-%{version}-py*.egg-info
|
||||
%{python3_sitearch}/SCons-%{version}-py*.egg-info/*
|
||||
%{_mandir}/man1/scons*.1*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
Reference in New Issue
Block a user