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