Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
scons
scons.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scons.spec of Package scons
# # spec file for package scons # # Copyright (c) 2011 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/ # # Potential build fix for SLE11 SLE11SP1 %if 0%{?suse_version} <= 1120 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif Name: scons Summary: Replacement for Make Version: 2.1.0 Release: 1 Source0: http://freefr.dl.sourceforge.net/project/scons/scons/%{version}/%{name}-%{version}.tar.gz Source1: scons-user.html # rpmlintrc Source99: %{name}-rpmlintrc # Sets _mandir to _datadir/man instead of _prefix/man Patch0: %{name}-1.2.0-fix-install.patch Patch1: %{name}-1.2.0-noenv.patch License: MIT Group: Development/Tools/Building Url: http://www.scons.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: python-devel %{py_requires} %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 %patch0 %patch1 # fix libdir for qt patch -p0 <<EOF --- engine/SCons/Tool/qt.py +++ engine/SCons/Tool/qt.py @@ -247,1 +247,1 @@ - QT_LIBPATH = os.path.join('\$QTDIR', 'lib'), + QT_LIBPATH = os.path.join('\$QTDIR', '%_lib'), EOF # copy user guide cp %{SOURCE1} . %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{py_sitedir} %fdupes %{buildroot}%{_bindir} %files %defattr(-,root,root) %doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html %{_bindir}/* %{python_sitearch}/SCons/ %{python_sitearch}/*.egg-info %{_mandir}/man1/*.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor