Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 0f2b8cb62fdbb349e58fc192810533de > files > 3

scons-0.97-1mdv2008.0.src.rpm

Name:           scons
Version:        0.97
Release:        %mkrel 1
Epoch:          1
Summary:        Open Source software construction tool
License:        MIT
Group:          Development/Other
URL:            http://www.scons.org/
Source0:        http://download.sourceforge.net/scons/scons-%{version}.tar.gz
Patch0:         scons-0.97-qt-handle-missing-moc-files.patch
Requires:       python-%{name} = %{epoch}:%{version}-%{release}
%py_requires -d
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%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.

%package -n python-%{name}
Summary:        SCons library
Group:          Development/Python
%py_requires -d

%description -n python-%{name}
The SCons library is required by scons.

%prep
%setup -q
%patch0 -p1

%build
%{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install \
    --root=%{buildroot} \
    --record=INSTALLED_FILES \
    --symlink-scons \
    --standard-lib
%{__mkdir_p} %{buildroot}%{_mandir}
%{__mv} %{buildroot}%{_prefix}/man/* %{buildroot}%{_mandir}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt PKG-INFO
%attr(0755,root,root) %{_bindir}/scons
%attr(0755,root,root) %{_bindir}/scons-time
%attr(0755,root,root) %{_bindir}/sconsign
%attr(0755,root,root) %{_bindir}/scons-%{version}
%attr(0755,root,root) %{_bindir}/sconsign-%{version}
%attr(0755,root,root) %{_bindir}/scons-time-%{version}
%{_mandir}/man1/scons.1*
%{_mandir}/man1/scons-time.1*
%{_mandir}/man1/sconsign.1*

%files -n python-%{name}
%defattr(0644,root,root,0755)
%{py_puresitedir}/*


%changelog
* Tue May 29 2007 David Walluck <walluck@mandriva.org> 0.97-1mdv2008.0
+ Revision: 32688
- use %%py_requires -d for config/Makefile needed by setup.py install
- install scons to the standard python lib location
- create two packages python-scons (the library) and scons (binaries, manpages, docs)
- 0.97
- add qt patch from Debian
- symlink scons scripts (don't install 2 copies)
- install manpages to the correct directory (%%{_mandir} not %%{_datadir})
- replace uses of  with %%{buildroot}
- explicit %%doc list


* Thu Nov 16 2006 Götz Waschk <waschk@mandriva.org> 0.96.93-1mdv2007.0
+ Revision: 85024
- Import scons

* Thu Nov 16 2006 Götz Waschk <waschk@mandriva.org> 1:0.96.93-1mdv2007.1
- New version 0.96.93

* Tue May 09 2006 Götz Waschk <waschk@mandriva.org> 0.96.92-1mdk
- drop patch
- New release 0.96.92

* Thu May 04 2006 Michael Scherer <misc@mandriva.org> 0.96.91-2mdk
- fix QT detection on i586, as found by Götz ( spurious quote in patch 0 )

* Mon Mar 06 2006 Götz Waschk <waschk@mandriva.org> 0.96.91-1mdk
- New release 0.96.91
- use mkrel

* Sun Nov 06 2005 Götz Waschk <waschk@mandriva.org> 1:0.96.1-4mdk
- make the previous fix work

* Sun Nov 06 2005 Götz Waschk <waschk@mandriva.org> 0.96.1-3mdk
- another atempt of a fix by the same Gaetan Lehmann

* Sun Nov 06 2005 Götz Waschk <waschk@mandriva.org> 1:0.96.1-2mdk
- lib64 patch by Gaetan Lehmann

* Wed Aug 03 2005 Olivier Blin <oblin@mandriva.com> 1:0.96.1-1mdk
- revert to stable version 0.96.1

* Sat Apr 16 2005 Götz Waschk <waschk@linux-mandrake.com> 0.96.90-1mdk
- New release 0.96.90

* Wed Aug 25 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.96.1-1mdk
- New release 0.96.1

* Thu Aug 19 2004 Götz Waschk <waschk@linux-mandrake.com> 0.96-1mdk
- source URL
- New release 0.96

* Tue Mar 09 2004 Götz Waschk <waschk@linux-mandrake.com> 0.95-1mdk
- new version