rpms/scitools/F-10 README.Fedora, NONE, 1.1 import.log, NONE, 1.1 scitools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Joseph Smidt jsmidt at fedoraproject.org
Thu Feb 19 22:19:55 UTC 2009


Author: jsmidt

Update of /cvs/pkgs/rpms/scitools/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22937/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	README.Fedora import.log scitools.spec 
Log Message:
Initial CVS import of scitools 



--- NEW FILE README.Fedora ---
The files in the bin directory, except pyreport, are needed to run the
code in the upstream author's book [1].  Please read the descriptions of
the files below.  To use them you will either need to copy the files
into a directory in your path, or add this directory to your path.

_gnuplot.py:
  Cross-platform execution of the Gnuplot program. Used in [1].

gnuplot.bat:
  Script for running Gnuplot on Windows (calls _gnuplot.py). Used in [1].

file2interactive.py:
  Utility for taking a set of Python statements in a file and
  creating the corresponding interactive Python shell session.

floatdiff.py:
  Script for examining differences in regression tests involving
  floating-point numbers. Used in [1].

regression.py:
  Simple front-end script to SciTools' Regression module. Used in [1].

ps2mpeg.py:
  Utility for turning a set of PostScript files into an MPEG movie,
  using moeg_encode.

profiler.py:
  Script for simplifying the execution of Python's profiling tools. Used in [1].

pyreport: 
  Allows the original pyreport program to work with scitools.easyviz.

subst.py:
  Script for subsituting a a phrase by another in a set of files.
  Accepts regular expressions. Treated in [1].

timer.py:
  Writes timing results to standard output (/usr/bin/time type of tools write
  to standard error).

[1] H. P. Langtangen: Python Scripting for Computational Science. 
    Third edition, second printing. Springer, 2009.


--- NEW FILE import.log ---
scitools-0_4-4_fc10:F-10:scitools-0.4-4.fc10.src.rpm:1235081919


--- NEW FILE scitools.spec ---
Name:       scitools
Version:    0.4
Release:    4%{?dist}
Summary:    A Python library for scientific computing

Group:      Applications/Engineering
License:    BSD
URL:        http://code.google.com/p/scitools/
Source0:    http://scitools.googlecode.com/files/SciTools-%{version}.tar.gz

Source1:    README.Fedora
BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch:  noarch

BuildRequires: python-devel
Requires:   numpy
Requires:   scipy
Requires:   gnuplot-py
Requires:   ScientificPython

%description
SciTools is a Python package containing lots of useful tools for scientific
computing in Python. The package is built on top of other widely used packages
such as NumPy, SciPy, ScientificPython, gnuplot, etc.


%package    extras
Summary:    Provides extra functionality to scitools
Group:      Applications/Engineering

# Pygrace is not currently in RHEL 4
Requires:   %{name} = %{version}-%{release}
Requires:   python-numeric 
Requires:   python-numarray 
Requires:   vtk-python,
Requires:   python-matplotlib 
Requires:   PyX 
Requires:   veusz 
Requires:   blt
Requires:   dx
Requires:   python-pmw
%if 0%{?rhel} != 4
Requires: pygrace
%endif

%description    extras
Installs all packages scitools was designed to work with. For full
functionality you will need to install the scitools-extras package. 
Please see the website, http://code.google.com/p/scitools/wiki/Installation,
or details.


%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}


%prep
%setup -q -n SciTools-%{version}
cp -p %{SOURCE1} .

%build

%install
rm -rf %{buildroot}
%{__python} setup.py install --root %{buildroot}

# The bin directory is really code to interact with the upstream 
# author's book.  The package works fine without it for normal use.
# This directory is better off in the documentation.
rm -rf %{buildroot}/%{_bindir}/*

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc LICENSE  PKG-INFO  README README.Fedora examples bin
%{python_sitelib}/*egg-info
%{python_sitelib}/%{name}

%files extras
%defattr(-,root,root,-)


%changelog
* Wed Feb 18 2009 Joseph Smidt <josephsmidt at gmail.com> 0.4-4
- Removed pygrace Requires from RHEL 4.  

* Wed Feb 18 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-3
- Added %%{version} to the Source0 name.
- Fixed converted remaining RPM_BUILD_ROOT to %%{buildroot}.
- Removed capitalization of gnuplot in %%description
- Changed 'cp' to 'cp -a' to preserve time stamp.

*Tue Feb 17 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-2
- Added %%build section to remove rpmlint warning
- Replaced dx-devel with dx in Requires.
- Added BuildArch: noarch 

*Mon Feb 16 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-1
- Changed Fedora specific README.bin to README.Fedora
- Added README.Fedora as a source, instead of a patch.
- Cleaned up some macros in changelog
- Begin numbering with integer values.

* Mon Feb 16 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-0.4
- Added README.Fedora to documentation
- Moved files from %%{bindir} to documentation to prevent clashes

* Mon Feb 16 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-0.3
- Added python-pmw and changed grace to pygrace in -extras Requires.
- Removed %%doc from extras.

* Sun Feb 15 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-0.2
- Put examples into %%doc section.
- Added -extras package to pull in all packages scitools can work with.

* Sun Feb 15 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-0.1
- Changed name SciTools to scitools.
- Added python-devel to BuildRequires.
- Added %%{python_sitelib} macro.
- Added ScientificPython to Requires.
- Move examples to %%{_datadir}/scitools.

* Sat Feb 14 2009 Joseph Smidt <jsmidt at fedoraproject.org> 0.4-0
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/scitools/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Feb 2009 17:47:13 -0000	1.1
+++ .cvsignore	19 Feb 2009 22:19:24 -0000	1.2
@@ -0,0 +1 @@
+SciTools-0.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/scitools/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Feb 2009 17:47:13 -0000	1.1
+++ sources	19 Feb 2009 22:19:25 -0000	1.2
@@ -0,0 +1 @@
+3e2bf8546fc3b21a5fb80d65448be7e3  SciTools-0.4.tar.gz




More information about the fedora-extras-commits mailing list