summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2023-02-09 14:48:54 +0900
committerbiao716.wang <biao716.wang@samsung.com>2023-02-09 14:48:54 +0900
commit958a11c4efa2b7acd3059bd593065534726e2ad1 (patch)
treeb20df16a2d7e4b3bbbec6432be34abd044d7fb76
parentcd11e796c6ee3c17a6c629f946ab1eea0524ff13 (diff)
parent706a4b602388e511ed7b0054b3923dc78396e07e (diff)
downloadscons-sandbox/wangbiao/scons-4-4-0.tar.gz
scons-sandbox/wangbiao/scons-4-4-0.tar.bz2
scons-sandbox/wangbiao/scons-4-4-0.zip
Merge remote-tracking branch 'origin/tizen' into sandbox/wangbiao/scons-4-4-0sandbox/wangbiao/scons-4-4-0
Change-Id: If513d6f731448976470b91c64fe424bfbcb44e2e
-rw-r--r--packaging/scons.changes3
-rw-r--r--packaging/scons.manifest5
-rw-r--r--packaging/scons.spec61
-rw-r--r--setup.py2
4 files changed, 70 insertions, 1 deletions
diff --git a/packaging/scons.changes b/packaging/scons.changes
new file mode 100644
index 00000000..b32233b2
--- /dev/null
+++ b/packaging/scons.changes
@@ -0,0 +1,3 @@
+* Tue Sep 03 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130710.214720@c1b2308
+- Fix RPM build error: Patch not found. Removed from spec file.
+
diff --git a/packaging/scons.manifest b/packaging/scons.manifest
new file mode 100644
index 00000000..017d22d3
--- /dev/null
+++ b/packaging/scons.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/scons.spec b/packaging/scons.spec
new file mode 100644
index 00000000..aa0070bd
--- /dev/null
+++ b/packaging/scons.spec
@@ -0,0 +1,61 @@
+#
+# spec file for package scons
+#
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# 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.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+Name: scons
+Summary: Replacement for Make
+License: MIT
+Group: Development/Tools/Building
+Version: 2.2.0
+Release: 0
+Source0: http://freefr.dl.sourceforge.net/project/scons/scons/%{version}/%{name}-%{version}.tar.gz
+Source1001: scons.manifest
+Url: http://www.scons.org/
+BuildRequires: fdupes
+BuildRequires: python-devel
+
+%if ! %{?license:0}
+%define license %doc
+%endif
+
+%description
+SCons is a make replacement that provides a range of enhanced features,
+such as automated dependency generation and built-in compilation cache
+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.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{python_sitearch}
+%fdupes %{buildroot}%{_bindir}
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license LICENSE.txt
+%{_bindir}/*
+%{python_sitearch}/SCons/
+%{python_sitearch}/*.egg-info
+%{_mandir}/man1/*.gz
+%{_libdir}/*
+
diff --git a/setup.py b/setup.py
index 6d52278d..9fce495c 100644
--- a/setup.py
+++ b/setup.py
@@ -43,4 +43,4 @@ setup(
'build_py': build_py,
},
version=get_version('SCons/__init__.py'),
-) \ No newline at end of file
+)