2007-01-16 00:36:24 +01:00
|
|
|
#
|
2007-05-31 21:13:46 +02:00
|
|
|
# spec file for package scons (Version 0.97)
|
2007-01-16 00:36:24 +01:00
|
|
|
#
|
2007-05-31 21:13:46 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:36:24 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: scons
|
|
|
|
BuildRequires: python-devel
|
2007-05-31 21:13:46 +02:00
|
|
|
Summary: Replacement for make
|
|
|
|
Version: 0.97
|
|
|
|
Release: 1
|
2007-01-16 00:36:24 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: scons-user.html
|
|
|
|
Patch1: fix-install.patch
|
|
|
|
License: X11/MIT
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
URL: http://www.scons.org/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%{py_requires}
|
|
|
|
|
|
|
|
%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-01-16 00:36:24 +01:00
|
|
|
support. SCons rule sets are Python scripts, so as well as the features
|
2007-05-31 21:13:46 +02:00
|
|
|
it provides itself, SCons allows you to use the full power of Python to
|
2007-01-16 00:36:24 +01:00
|
|
|
control compilation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Steven Knight <knight@baldmt.com>
|
|
|
|
Chad Austin
|
|
|
|
Charles Crain
|
|
|
|
Steve Leblanc
|
|
|
|
Gary Oberbrunner
|
|
|
|
Anthony Roach
|
|
|
|
Greg Spencer
|
|
|
|
Christoph Wiedemann
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch1
|
|
|
|
patch -p0 <<EOF
|
|
|
|
--- engine/SCons/Tool/qt.py
|
|
|
|
+++ engine/SCons/Tool/qt.py
|
|
|
|
@@ -252,1 +252,1 @@
|
|
|
|
- QT_LIBPATH = os.path.join('\$QTDIR', 'lib'),
|
|
|
|
+ QT_LIBPATH = os.path.join('\$QTDIR', '%_lib'),
|
|
|
|
EOF
|
|
|
|
install %{SOURCE1} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES --install-lib=%{py_sitedir}
|
|
|
|
sed -i -e 's,\.1$,.1.gz,' INSTALLED_FILES
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f INSTALLED_FILES
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html
|
|
|
|
%doc /%{_mandir}/man1/*
|
|
|
|
|
2007-05-31 21:13:46 +02:00
|
|
|
%changelog
|
|
|
|
* Wed May 30 2007 - ltinkl@suse.cz
|
|
|
|
- update to stable release 0.97
|
|
|
|
- fix man installation patch
|
2007-01-16 00:36:24 +01:00
|
|
|
* Wed Mar 08 2006 - ltinkl@suse.cz
|
|
|
|
- add more documentation (#154045)
|
|
|
|
* Tue Feb 28 2006 - jmatejek@suse.cz
|
|
|
|
- updated to reflect python changes due to #149809
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Thu Nov 24 2005 - sbrabec@suse.cz
|
|
|
|
- Bi-arch hack.
|
|
|
|
* Thu Nov 03 2005 - dmueller@suse.de
|
|
|
|
- update to 0.96.91
|
|
|
|
* Tue Aug 24 2004 - mcihar@suse.cz
|
|
|
|
- install man pages
|
|
|
|
* Tue Aug 24 2004 - mcihar@suse.cz
|
|
|
|
- initial packaging
|