2007-01-16 00:36:24 +01:00
|
|
|
#
|
2011-10-27 13:52:53 +02:00
|
|
|
# spec file for package scons
|
2007-01-16 00:36:24 +01:00
|
|
|
#
|
2023-03-08 16:43:24 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:36:24 +01:00
|
|
|
#
|
2008-09-08 16:30:40 +02: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 14:57:20 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:36:24 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-10-12 12:30:05 +02:00
|
|
|
%define pythons python3
|
|
|
|
Name: scons
|
2023-03-08 16:43:24 +01:00
|
|
|
Version: 4.5.1
|
2014-09-29 14:43:54 +02:00
|
|
|
Release: 0
|
2007-11-12 18:43:05 +01:00
|
|
|
Summary: Replacement for Make
|
2012-10-16 12:54:54 +02:00
|
|
|
License: MIT
|
|
|
|
Group: Development/Tools/Building
|
2019-09-07 08:47:19 +02:00
|
|
|
URL: https://www.scons.org/
|
2022-10-12 12:30:05 +02:00
|
|
|
Source: http://prdownloads.sourceforge.net/scons/SCons-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-03-25 10:33:15 +01:00
|
|
|
BuildRequires: fdupes
|
2022-10-12 12:30:05 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
2007-01-16 00:36:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
SCons is a make replacement that provides a range of enhanced features,
|
2007-05-31 21:13:46 +02:00
|
|
|
such as automated dependency generation and built-in compilation cache
|
2007-11-12 18:43:05 +01: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-16 00:36:24 +01:00
|
|
|
|
|
|
|
%prep
|
2022-10-12 12:30:05 +02:00
|
|
|
%autosetup -p1 -n SCons-%{version}
|
2014-08-07 21:25:13 +02:00
|
|
|
|
2023-03-08 16:43:24 +01:00
|
|
|
sed -i -e '/QT3_LIBPATH = os.path.join.*QT3DIR/s/lib/%{_lib}/' \
|
|
|
|
SCons/Tool/qt3.py
|
2019-03-25 10:33:15 +01:00
|
|
|
|
2007-01-16 00:36:24 +01:00
|
|
|
%build
|
2022-10-12 12:30:05 +02:00
|
|
|
%python_build
|
2007-01-16 00:36:24 +01:00
|
|
|
|
|
|
|
%install
|
2022-10-12 12:30:05 +02:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
mv -v %{buildroot}%{_prefix}/*.1 %{buildroot}%{_mandir}/man1
|
2007-01-16 00:36:24 +01:00
|
|
|
|
2011-10-27 13:52:53 +02:00
|
|
|
%files
|
2018-10-11 19:30:56 +02:00
|
|
|
%license LICENSE
|
2011-10-27 13:52:53 +02:00
|
|
|
%{_bindir}/*
|
2022-10-12 12:30:05 +02:00
|
|
|
%{python_sitelib}/SCons
|
|
|
|
%{python_sitelib}/SCons-%{version}-py*.egg-info
|
|
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
2008-04-24 01:53:21 +02:00
|
|
|
|
2007-05-31 21:13:46 +02:00
|
|
|
%changelog
|