Merge pull request #4558 from mwichmann/ci-appveyor-tweak
[scons.git] / packaging / rpm / scons.spec.in
blob9b97a07df18439c2e895e12d7e664ff38567e784
1 %define name scons
2 %define version __VERSION__
3 %define release 1
4 %define _unpackaged_files_terminate_build 0
6 Summary: an Open Source software construction tool
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}
10 Source0: %{name}-%{version}.tar.gz
11 #Copyright: The SCons Foundation
12 License: MIT, freely distributable
13 Group: Development/Tools
14 BuildRoot: %{_tmppath}/%{name}-buildroot
15 Prefix: %{_prefix}
16 BuildArchitectures: noarch
17 Vendor: The SCons Development Team <scons-dev@scons.org>
18 Packager: The SCons Development Team <scons-dev@scons.org>
19 Requires: python >= 2.4
20 Url: http://www.scons.org/
22 %description
23 SCons is an Open Source software construction tool--that is, a build
24 tool; an improved substitute for the classic Make utility; a better way
25 to build software. SCons is based on the design which won the Software
26 Carpentry build tool design competition in August 2000.
28 SCons "configuration files" are Python scripts, eliminating the need
29 to learn a new build tool syntax. SCons maintains a global view of
30 all dependencies in a tree, and can scan source (or other) files for
31 implicit dependencies, such as files specified on #include lines. SCons
32 uses MD5 signatures to rebuild only when the contents of a file have
33 really changed, not just when the timestamp has been touched. SCons
34 supports side-by-side variant builds, and is easily extended with user-
35 defined Builder and/or Scanner objects.
37 %prep
38 %setup
40 %build
41 python setup.py build
43 %install
44 python setup.py install --root=$RPM_BUILD_ROOT --install-lib=/usr/lib/scons --install-scripts=/usr/bin --install-data=/usr/share
46 %clean
47 rm -rf $RPM_BUILD_ROOT
49 %files
50 %defattr(-,root,root)
51 __RPM_FILES__
52 %doc %{_mandir}/man1/scons.1*
53 %doc %{_mandir}/man1/sconsign.1*
54 %doc %{_mandir}/man1/scons-time.1*