diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 27615fe..0000000 --- a/.gitignore +++ /dev/null @@ -1,30 +0,0 @@ -/scons-2.0.1.tar.gz -/scons-2.1.0.tar.gz -/scons-2.2.0.tar.gz -/scons-2.3.0.tar.gz -/scons-2.3.1.tar.gz -/scons-2.3.2.tar.gz -/scons-2.3.3.tar.gz -/scons-2.3.4.tar.gz -/scons-2.3.5.tar.gz -/scons-2.3.6.tar.gz -/scons-2.4.1.tar.gz -/scons-2.5.0.tar.gz -/scons-2.5.1.tar.gz -/scons-3.0.0.tar.gz -/scons-3.0.1.tar.gz -/scons-3.0.4.tar.gz -/scons-3.0.5.tar.gz -/scons-doc-3.0.5.tar.gz -/scons-3.1.0.tar.gz -/scons-doc-3.1.0.tar.gz -/scons-3.1.1.tar.gz -/scons-doc-3.1.1.tar.gz -/scons-3.1.2.tar.gz -/scons-doc-3.1.2.tar.gz -/scons-4.0.0.tar.gz -/scons-doc-4.0.0.tar.gz -/scons-4.0.1.tar.gz -/scons-doc-4.0.1.tar.gz -/scons-4.1.0.tar.gz -/scons-doc-4.1.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..4fa6fc3 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +scons package is retired on c9s for CS-727 diff --git a/scons.spec b/scons.spec deleted file mode 100644 index 8d1f3c2..0000000 --- a/scons.spec +++ /dev/null @@ -1,505 +0,0 @@ -# SCons 4.* works with Python3 >= (3,5,0) -# Python2 is deprecated. - -%bcond_with debug - -# Package documentation files -%bcond_without doc - -# Install prebuilt documentation -%bcond_without prebuilt_doc - -# Additional EPEL7 builds -%bcond_with python3_other - -Name: scons -Version: 4.1.0 -Release: 3%{?dist} -Summary: An Open Source software construction tool -License: MIT -URL: http://www.scons.org -Source0: https://github.com/SCons/scons/archive/%{version}/scons-%{version}.tar.gz -%if %{with prebuilt_doc} -Source1: https://www.scons.org/doc/%{version}/scons-doc-%{version}.tar.gz -%endif -BuildArch: noarch - -%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. - -%if %{with doc} -%package doc -Summary: An Open Source software construction tool -BuildArch: noarch -%if %{without prebuilt_doc} -BuildRequires: python%{python3_pkgversion}-sphinx -BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme -BuildRequires: rst2pdf, fop -BuildRequires: python3dist(readme-renderer) -%endif -%description doc -Scons documentation. -%endif - -%package -n python%{python3_pkgversion}-%{name} -Summary: An Open Source software construction tool -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-lxml -BuildRequires: python%{python3_pkgversion}-wheel -BuildRequires: python%{python3_pkgversion}-setuptools -BuildRequires: lynx -Provides: scons = 0:%{version}-%{release} -Provides: scons-python3 = 0:%{version}-%{release} -Provides: SCons = 0:%{version}-%{release} -%if 0%{?el7} -Obsoletes: python34-%{name} < 0:%{version}-%{release} -Obsoletes: python2-%{name} < 0:%{version}-%{release} -Obsoletes: python-%{name} < 0:%{version}-%{release} -%endif -%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} - -%description -n python%{python3_pkgversion}-%{name} -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. - -%if %{with python3_other} -%package -n python%{python3_other_pkgversion}-%{name} -Summary: An Open Source software construction tool - -BuildRequires: python%{python3_other_pkgversion}-devel -BuildRequires: python%{python3_other_pkgversion}-lxml -BuildRequires: python%{python3_other_pkgversion}-setuptools -Provides: scons-%{__python3_other} = %{version}-%{release} -%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{name}} - -%description -n python%{python3_other_pkgversion}-%{name} -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. -%endif - -%prep -%if %{with prebuilt_doc} -%autosetup -n %{name}-%{version} -N -%setup -n %{name}-%{version} -q -T -D -a 1 -cd .. -%else -%autosetup -N -T -b 0 -cd .. -%endif - -# Convert to UTF-8 -for file in %{name}-%{version}/src/*.txt; do - iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \ - touch -r $file $file.new && \ - mv $file.new $file -done - -pathfix.py -i %{__python3} -pn %{name}-%{version}/scripts/scons.py - -%if %{with python3_other} -cp -a %{name}-%{version} %{name}-%{version}-py%{python3_other_pkgversion} -pathfix.py -i %{__python3_other} -pn %{name}-%{version}-py%{python3_other_pkgversion}/scripts/scons.py -%endif - -%build -%{__python3} scripts/scons.py --include-dir= -j1 \ -%if %{with debug} - --debug=explain -%endif - -%if %{with python3_other} -pushd %{name}-%{version}-py%{python3_other_pkgversion} -%{__python3_other} scripts/scons.py --include-dir= -j1 \ -%if %{with debug} - --debug=explain -%endif - -popd -%endif - -%install -export LDFLAGS="%{build_ldflags}" -export CFLAGS="%{build_cflags}" -%{__python3} setup.py install -O1 --skip-build --root %{buildroot} \ - --install-scripts=%{_bindir} \ - --install-data=%{_datadir} -rm -rfv %{buildroot}%{_bindir}/__pycache__ - -# Install manpages -mkdir -p %{buildroot}%{_mandir}/man1 -install -pm 644 build/doc/man/*.1 %{buildroot}%{_mandir}/man1/ -rm -f %{buildroot}%{_datadir}/*.1 - -pushd %{buildroot}%{_bindir} -for i in %{name}-3 %{name}-v%{version}-%{python3_version} %{name}-%{python3_version}; do - ln -fs %{name} %{buildroot}%{_bindir}/$i -done -for i in %{name}ign-3 %{name}ign-v%{version}-%{python3_version} %{name}ign-%{python3_version}; do - ln -fs %{name}ign %{buildroot}%{_bindir}/$i -done -for i in %{name}-configure-cache-3 %{name}-configure-cache-v%{version}-%{python3_version} %{name}-configure-cache-%{python3_version}; do - ln -fs %{name}-configure-cache %{buildroot}%{_bindir}/$i -done -popd - - -%if %{with python3_other} -pushd %{name}-%{version}-py%{python3_other_pkgversion}/build/scons -%py3_other_install \ - --install-scripts=%{_bindir} \ - --install-data=%{_datadir} - -# Install manpages -mkdir -p %{buildroot}%{_mandir}/man1 -install -pm 644 ../build/doc/man/*.1 %{buildroot}%{_mandir}/man1/ -popd - -pushd %{buildroot}%{_bindir} -for i in %{name}-v%{version}-%{__python3_other} %{name}-%{__python3_other}; do - ln -fs %{name}-%{__python3_other} %{buildroot}%{_bindir}/$i -done -for i in %{name}ign-v%{version}-%{__python3_other} %{name}ign-%{__python3_other}; do - ln -fs %{name}ign-%{__python3_other} %{buildroot}%{_bindir}/$i -done -for i in %{name}-configure-cache-v%{version}-%{__python3_other} %{name}-configure-cache-%{__python3_other}; do - ln -fs %{name}-configure-cache-%{__python3_other} %{buildroot}%{_bindir}/$i -done -popd -%endif - -%check -%{__python3} runtest.py -P %{__python3} --passed --quit-on-failure SCons/BuilderTests.py - -%if %{with python3_other} -pushd %{name}-%{version}-py%{python3_other_pkgversion} -%{__python3_other} runtest.py -P %{__python3_other} --passed --quit-on-failure SCons/BuilderTests.py -popd -%endif - -%files -n python%{python3_pkgversion}-%{name} -%doc CHANGES.txt RELEASE.* -%license LICENSE* -%{_bindir}/%{name} -%{_bindir}/%{name}ign -%{_bindir}/%{name}-configure-cache -%{_bindir}/%{name}*-3* -%{python3_sitelib}/SCons/ -%{python3_sitelib}/*.egg-info/ -%{_mandir}/man1/* - -%if %{with python3_other} -%files -n python%{python3_other_pkgversion}-%{name} -%doc CHANGES.txt RELEASE.* -%license LICENSE* -%{_bindir}/%{name} -%{_bindir}/%{name}ign -%{_bindir}/%{name}-configure-cache -%{_bindir}/%{name}*-%{__python3_other} -%{_bindir}/%{name}*-%{python3_other_pkgversion} -%{python3_other_sitelib}/SCons/ -%{python3_other_sitelib}/scons-%{version}*.egg-info/ -%{_mandir}/man1/* -%endif - -%files doc -%if %{without prebuilt_doc} -%doc build/doc/PDF build/doc/HTML build/doc/TEXT -%else -%doc PDF HTML EPUB TEXT -%endif -%license LICENSE* - -%changelog -* Tue May 18 2021 Patrik Novotný - 4.1.0-3 -- Use prebuilt documentation (rhbz#1915755) - -* Fri Apr 16 2021 Mohan Boddu - 4.1.0-2 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - -* Thu Jan 28 2021 Antonio Trande - 4.1.0-1 -- Release 4.1.0 - -* Wed Jan 27 2021 Fedora Release Engineering - 4.0.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jan 13 2021 Antonio Trande - 4.0.1-4 -- Patched for Python-310 (rhbz#1914318) - -* Mon Oct 05 2020 Antonio Trande - 4.0.1-3 -- BuildRequires python3-setuptools explicitly - -* Wed Jul 29 2020 Fedora Release Engineering - 4.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 17 2020 Antonio Trande - 4.0.1-1 -- Release 4.0.1 - -* Mon Jul 06 2020 Antonio Trande - 4.0.0-1 -- Release 4.0.0 -- Obolete Python2 builds - -* Tue May 26 2020 Miro Hrončok - 3.1.2-3 -- Rebuilt for Python 3.9 - -* Fri Feb 07 2020 Antonio Trande - 3.1.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -- Remove missing dependencies (fop) for building doc -- %%py3_install macro is bugged - -* Tue Dec 17 2019 Antonio Trande - 3.1.2-1 -- Update to 3.1.2 -- Use pathfix.py -- Add python-lxml lynx BR - -* Fri Nov 15 2019 Antonio Trande - 3.1.1-4 -- Fix Changelog - -* Fri Nov 15 2019 Antonio Trande - 3.1.1-3 -- Python2 SCons no longer built on Fedora 32+ - -* Thu Oct 03 2019 Miro Hrončok - 3.1.1-2 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Tue Aug 27 2019 Mosaab Alzoubi - 3.1.1-1 -- Update to 3.1.1 - -* Mon Aug 19 2019 Miro Hrončok - 3.1.0-2 -- Rebuilt for Python 3.8 - -* Fri Aug 16 2019 Antonio Trande - 3.1.0-1 -- Release 3.1.0 - -* Mon Aug 12 2019 Antonio Trande - 3.0.5-5 -- Provides *-3 dummy commands on Fedora and EPEL7+ - -* Sat Aug 03 2019 Antonio Trande - 3.0.5-4 -- Remove wrong links of scons-2 - -* Wed Jul 24 2019 Antonio Trande - 3.0.5-3 -- Fix builds on EPEL7 - -* Tue Jul 23 2019 Antonio Trande - 3.0.5-2 -- Unversioned commands point to Python3 on Fedora -- Obsolete Python2 version on Fedora - -* Wed Mar 27 2019 Antonio Trande - 3.0.5-1 -- Release 3.0.5 - -* Thu Mar 14 2019 Antonio Trande - 3.0.4-4 -- Fix Provides of scons-python3 - -* Thu Mar 14 2019 Antonio Trande - 3.0.4-3 -- Reorganize distro macros - -* Sat Feb 02 2019 Fedora Release Engineering - 3.0.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Wed Jan 23 2019 Antonio Trande - 3.0.4-1 -- Release 3.0.4 (bz#1668876) - -* Wed Aug 22 2018 Antonio Trande - 3.0.1-12 -- Reintroduce python2-scons on Fedora 30+ - -* Wed Aug 22 2018 Antonio Trande - 3.0.1-11 -- Deprecate Python2 on Fedora 30+ and EPEL 8+ -- Use python3_other macros (https://fedoraproject.org/wiki/User:Bkabrda/EPEL7_Python3) - -* Fri Jul 20 2018 Honza Horak - 3.0.1-10 -- Do not build python2-scons on RHEL>7 - -* Sat Jul 14 2018 Fedora Release Engineering - 3.0.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.0.1-8 -- Rebuilt for Python 3.7 - -* Fri Feb 09 2018 Fedora Release Engineering - 3.0.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Jan 23 2018 Merlin Mathesius - 3.0.1-6 -- Cleanup spec file conditionals - -* Mon Dec 25 2017 Antonio Trande - 3.0.1-5 -- Remove 'Obsoletes scons' for scons-python3 - -* Mon Dec 25 2017 Antonio Trande - 3.0.1-4 -- Fix Provides tag - -* Mon Dec 25 2017 Antonio Trande - 3.0.1-3 -- Set Obsoletes tag - -* Mon Dec 25 2017 Antonio Trande - 3.0.1-2 -- Provide Python2 and Python3 scons -- Avoiding collisions between the Python 2 and Python 3 stacks - -* Tue Nov 28 2017 Antonio Trande - 3.0.1-1 -- Update to 3.0.1 -- Build with Python2 on EPEL7 - -* Tue Oct 03 2017 Fabian Affolter - 2.5.1-1 -- Update to new upstream version 3.0.0 (rhbz#1497891) - -* Thu Jul 27 2017 Fedora Release Engineering - 2.5.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.5.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Nov 15 2016 Fabian Affolter - 2.5.1-1 -- Update to new upstream version 2.5.1 (rhbz#1391798) - -* Mon Jun 13 2016 Fabian Affolter - 2.5.0-1 -- Update to new upstream version 2.5.0 - -* Sat May 07 2016 Fabian Affolter - 2.4.1-1 -- Update to new upstream version 2.4.1 (rhbz#1265037) - -* Thu Feb 04 2016 Fedora Release Engineering - 2.3.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Aug 01 2015 Fabian Affolter - 2.3.6-1 -- Update to new upstream version 2.3.6 (rhbz#1234119) - -* Wed Jul 22 2015 Fabian Affolter - 2.3.5-1 -- Update to new upstream version 2.3.5 (rhbz#1234119) - -* Fri Jun 19 2015 Fedora Release Engineering - 2.3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Tue Sep 30 2014 Fabian Affolter - 2.3.4-1 -- Update to new upstream version 2.3.4 (rhbz#1147461) - -* Mon Sep 01 2014 Fabian Affolter - 2.3.3-1 -- Update to new upstream version 2.3.3 (rhbz#1133527) - -* Mon Jul 07 2014 Fabian Affolter - 2.3.2-1 -- Update to new upstream version 2.3.2 (rhbz#1116635) - -* Sun Jun 08 2014 Fedora Release Engineering - 2.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed Mar 05 2014 Fabian Affolter - 2.3.1-1 -- Update to new upstream version 2.3.1 - -* Sun Aug 04 2013 Fedora Release Engineering - 2.3.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Mar 09 2013 Fabian Affolter - 2.3.0-1 -- Update to new upstream version 2.3.0 - -* Thu Feb 14 2013 Fedora Release Engineering - 2.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Aug 29 2012 Fabian Affolter - 2.2.0-1 -- Update to new upstream version 2.2.0 - -* Sat Jul 21 2012 Fedora Release Engineering - 2.1.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 2.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Sat Sep 10 2011 Fabian Affolter - 2.1.0-1 -- Update to new upstream version 2.1.0 - -* Wed Feb 09 2011 Fedora Release Engineering - 2.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Aug 23 2010 Chen Lei - 2.0.1-1 -- new release 2.0.1 - -* Wed Aug 11 2010 David Malcolm - 2.0.0-2.final.0 -- recompiling .py files against Python 2.7 (rhbz#623357) - -* Thu Jul 08 2010 Chen Lei - 2.0.0-1.final.0 -- new release 2.0.0.final.0 - -* Sun Jul 26 2009 Fedora Release Engineering - 1.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 1.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Dec 25 2008 Alex Lancaster - 1.2.0-1 -- Update to 1.2.0 to fix problems with Python 2.6 (#475903) - (currently causing broken deps with other packages) - -* Thu Dec 18 2008 Gerard Milmeister - 1.1.0-1 -- new release 1.1.0 - -* Fri Sep 5 2008 Gerard Milmeister - 1.0.0-1.d20080826 -- new release 1.0.0 - -* Sun Aug 3 2008 Gerard Milmeister - 0.98.5-1 -- new release 0.98.5 - -* Sun Jun 1 2008 Gerard Milmeister - 0.98.4-2 -- added buildreq sed - -* Sat May 31 2008 Gerard Milmeister - 0.98.4-1 -- new release 0.98.4 - -* Sun May 4 2008 Gerard Milmeister - 0.98.3-2 -- changed shebang line of scripts - -* Sun May 4 2008 Gerard Milmeister - 0.98.3-1 -- new release 0.98.3 - -* Sat Apr 19 2008 Gerard Milmeister - 0.98.1-1 -- new release 0.98.1 - -* Sat Apr 5 2008 Gerard Milmeister - 0.98-1 -- new release 0.98 - -* Mon May 21 2007 Gerard Milmeister - 0.97-1 -- new version 0.97 - -* Thu May 10 2007 Gerard Milmeister - 0.96.96-1 -- new version 0.96.96 - -* Mon Aug 28 2006 Gerard Milmeister - 0.96.1-3 -- Rebuild for FE6 - -* Sat Jun 18 2005 Gerard Milmeister - 0.96.1-1 -- New Version 0.96.1 - -* Thu Apr 7 2005 Michael Schwendt -- rebuilt - -* Tue Jan 25 2005 Thorsten Leemhuis - 0.96-4 -- Place libs in {_prefix}/lib/ and not in {libdir}; fixes x86_64 problems -- Adjust minor bits to be in sync with python-spec-template diff --git a/sources b/sources deleted file mode 100644 index 8ef4ddd..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (scons-4.1.0.tar.gz) = f79b86bb09783767b3872cfb8efb665372714a604af2aaf3adc66eee63d3afe27bc6b2aab83813743c83f71c81c800d42842e916501787ba402ce2726dda9b44 -SHA512 (scons-doc-4.1.0.tar.gz) = 17fb391e7ac003869b17ee4307fa0633efc736825f162acdac0d9c272a7ef8dcbc70b064b29baf9cbb6afc7e8d96b3e4fffa909ec3c2fb65252d43d2b6136248