summaryrefslogtreecommitdiffstats
path: root/rpm/scons.spec
blob: 326b1574452f8c11d5062459fa9002f361bf5eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
%define name scons
%define version 0.08
%define release 1

Summary: an Open Source software construction tool
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
#Copyright: Steven Knight
License: MIT, freely distributable
Group: Development/Tools
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Steven Knight <knight@scons.org>
Packager: Steven Knight <knight@scons.org>
Requires: python >= 1.5
Url: http://www.scons.org/

%description
SCons is an Open Source software construction tool--that is, a build
tool; an improved substitute for the classic Make utility; a better way
to build software.  SCons is based on the design which won the Software
Carpentry build tool design competition in August 2000.

SCons "configuration files" are Python scripts, eliminating the need
to learn a new build tool syntax.  SCons maintains a global view of
all dependencies in a tree, and can scan source (or other) files for
implicit dependencies, such as files specified on #include lines.  SCons
uses MD5 signatures to rebuild only when the contents of a file have
really changed, not just when the timestamp has been touched.  SCons
supports side-by-side variant builds, and is easily extended with user-
defined Builder and/or Scanner objects.

%prep
%setup

%build
python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
gzip -c scons.1 > $RPM_BUILD_ROOT/usr/man/man1/scons.1.gz

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/scons
/usr/lib/scons/SCons/Action.py
/usr/lib/scons/SCons/Action.pyc
/usr/lib/scons/SCons/Builder.py
/usr/lib/scons/SCons/Builder.pyc
/usr/lib/scons/SCons/Defaults.py
/usr/lib/scons/SCons/Defaults.pyc
/usr/lib/scons/SCons/Environment.py
/usr/lib/scons/SCons/Environment.pyc
/usr/lib/scons/SCons/Errors.py
/usr/lib/scons/SCons/Errors.pyc
/usr/lib/scons/SCons/Job.py
/usr/lib/scons/SCons/Job.pyc
/usr/lib/scons/SCons/Node/Alias.py
/usr/lib/scons/SCons/Node/Alias.pyc
/usr/lib/scons/SCons/Node/FS.py
/usr/lib/scons/SCons/Node/FS.pyc
/usr/lib/scons/SCons/Node/__init__.py
/usr/lib/scons/SCons/Node/__init__.pyc
/usr/lib/scons/SCons/Platform/cygwin.py
/usr/lib/scons/SCons/Platform/cygwin.pyc
/usr/lib/scons/SCons/Platform/posix.py
/usr/lib/scons/SCons/Platform/posix.pyc
/usr/lib/scons/SCons/Platform/win32.py
/usr/lib/scons/SCons/Platform/win32.pyc
/usr/lib/scons/SCons/Platform/__init__.py
/usr/lib/scons/SCons/Platform/__init__.pyc
/usr/lib/scons/SCons/Scanner/C.py
/usr/lib/scons/SCons/Scanner/C.pyc
/usr/lib/scons/SCons/Scanner/Prog.py
/usr/lib/scons/SCons/Scanner/Prog.pyc
/usr/lib/scons/SCons/Scanner/__init__.py
/usr/lib/scons/SCons/Scanner/__init__.pyc
/usr/lib/scons/SCons/Script/__init__.py
/usr/lib/scons/SCons/Script/__init__.pyc
/usr/lib/scons/SCons/Script/SConscript.py
/usr/lib/scons/SCons/Script/SConscript.pyc
/usr/lib/scons/SCons/Sig/MD5.py
/usr/lib/scons/SCons/Sig/MD5.pyc
/usr/lib/scons/SCons/Sig/TimeStamp.py
/usr/lib/scons/SCons/Sig/TimeStamp.pyc
/usr/lib/scons/SCons/Sig/__init__.py
/usr/lib/scons/SCons/Sig/__init__.pyc
/usr/lib/scons/SCons/Taskmaster.py
/usr/lib/scons/SCons/Taskmaster.pyc
/usr/lib/scons/SCons/Util.py
/usr/lib/scons/SCons/Util.pyc
/usr/lib/scons/SCons/Warnings.py
/usr/lib/scons/SCons/Warnings.pyc
/usr/lib/scons/SCons/__init__.py
/usr/lib/scons/SCons/__init__.pyc
/usr/lib/scons/SCons/exitfuncs.py
/usr/lib/scons/SCons/exitfuncs.pyc
%doc /usr/man/man1/scons.1.gz