2007-01-15 23:36:24 +00:00
|
|
|
#
|
2011-10-27 11:52:53 +00:00
|
|
|
# spec file for package scons
|
2007-01-15 23:36:24 +00:00
|
|
|
#
|
2022-10-12 10:30:05 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-15 23:36:24 +00:00
|
|
|
#
|
2008-09-08 14:30:40 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-15 13:57:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:36:24 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-10-12 10:30:05 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%define pythons python3
|
|
|
|
Name: scons
|
|
|
|
Version: 4.4.0
|
2014-09-29 12:43:54 +00:00
|
|
|
Release: 0
|
2007-11-12 17:43:05 +00:00
|
|
|
Summary: Replacement for Make
|
2012-10-16 10:54:54 +00:00
|
|
|
License: MIT
|
|
|
|
Group: Development/Tools/Building
|
2019-09-07 06:47:19 +00:00
|
|
|
URL: https://www.scons.org/
|
2022-10-12 10:30:05 +00:00
|
|
|
Source: http://prdownloads.sourceforge.net/scons/SCons-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-03-25 09:33:15 +00:00
|
|
|
BuildRequires: fdupes
|
2022-10-12 10:30:05 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
2007-01-15 23:36:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SCons is a make replacement that provides a range of enhanced features,
|
2007-05-31 19:13:46 +00:00
|
|
|
such as automated dependency generation and built-in compilation cache
|
2007-11-12 17:43:05 +00:00
|
|
|
support. SCons rule sets are Python scripts, which means that SCons
|
|
|
|
provides itself as well as the features. SCons allows you to use the
|
|
|
|
full power of Python to control compilation.
|
2007-01-15 23:36:24 +00:00
|
|
|
|
|
|
|
%prep
|
2022-10-12 10:30:05 +00:00
|
|
|
%autosetup -p1 -n SCons-%{version}
|
2014-08-07 19:25:13 +00:00
|
|
|
|
2018-10-11 17:30:56 +00:00
|
|
|
sed -i -e '/QT_LIBPATH = os.path.join.*QTDIR/s/lib/%{_lib}/' \
|
2022-10-12 10:30:05 +00:00
|
|
|
SCons/Tool/qt.py
|
2019-03-25 09:33:15 +00:00
|
|
|
|
2007-01-15 23:36:24 +00:00
|
|
|
%build
|
2022-10-12 10:30:05 +00:00
|
|
|
%python_build
|
2007-01-15 23:36:24 +00:00
|
|
|
|
|
|
|
%install
|
2022-10-12 10:30:05 +00:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
mv -v %{buildroot}%{_prefix}/*.1 %{buildroot}%{_mandir}/man1
|
2007-01-15 23:36:24 +00:00
|
|
|
|
2011-10-27 11:52:53 +00:00
|
|
|
%files
|
2018-10-11 17:30:56 +00:00
|
|
|
%license LICENSE
|
2011-10-27 11:52:53 +00:00
|
|
|
%{_bindir}/*
|
2022-10-12 10:30:05 +00:00
|
|
|
%{python_sitelib}/SCons
|
|
|
|
%{python_sitelib}/SCons-%{version}-py*.egg-info
|
|
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
2008-04-23 23:53:21 +00:00
|
|
|
|
2007-05-31 19:13:46 +00:00
|
|
|
%changelog
|