diff options
author | Steven Knight <knight@baldmt.com> | 2003-01-21 13:36:02 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-01-21 13:36:02 +0000 |
commit | 74b60176d6fa68928d9557f79d8206782d04ad4c (patch) | |
tree | 5fba368533374e5297768aacca5777eab3665e3c /rpm/scons.spec.in | |
parent | 624493645fb835655b25e92cf5e48f3990829789 (diff) | |
download | scons-74b60176d6fa68928d9557f79d8206782d04ad4c.tar.gz |
Generate the file list in the RPM .spec file.
Diffstat (limited to 'rpm/scons.spec.in')
-rw-r--r-- | rpm/scons.spec.in | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/rpm/scons.spec.in b/rpm/scons.spec.in new file mode 100644 index 00000000..57e69c3f --- /dev/null +++ b/rpm/scons.spec.in @@ -0,0 +1,53 @@ +%define name scons +%define version 0.11 +%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) +__RPM_FILES__ +%doc /usr/man/man1/scons.1.gz |