rpms/PySBIG/F-8 PySBIG.spec,NONE,1.1 sources,1.1,1.2
Marek Mahut (mmahut)
fedora-extras-commits at redhat.com
Mon Feb 18 17:03:39 UTC 2008
Author: mmahut
Update of /cvs/pkgs/rpms/PySBIG/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7190
Modified Files:
sources
Added Files:
PySBIG.spec
Log Message:
Initial import for F-8
--- NEW FILE PySBIG.spec ---
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
Name: PySBIG
Version: 0.04
Release: 2%{?dist}
Summary: PySBIG can read SBIG CCD files
Group: Development/Libraries
License: GPLv2+
URL: http://coldstonelabs.org/doku.php?id=software:pysbig
Source0: http://coldstonelabs.org/files/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, numpy
Requires: python, numpy
%description
PySBIG can read SBIG CCD files and give you a Numeric array
for the data and a dictionary for the headers. There is cPySBIG
(since version 0.02) which is 40 times faster than the pure PySBIG module,
also included. Version 0.03 now works with numpy instead of Numeric.
%prep
%setup -q
%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
env CFLAGS="$RPM_OPT_FLAGS" python setup.py install --root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
%{python_sitearch}/PySBIGuncompress.so
%{python_sitearch}/PySBIG.py*
%{python_sitearch}/cPySBIG.py*
%if 0%{?fedora} >= 9
%{python_sitearch}/*egg-info
%endif
%changelog
* Sun Dec 30 2007 Marek Mahut <mmahut at fedoraproject.org> - 0.04-2
- Initial build.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/PySBIG/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Feb 2008 20:24:10 -0000 1.1
+++ sources 18 Feb 2008 17:03:01 -0000 1.2
@@ -0,0 +1 @@
+908c7121a000031ba0d2f1df4b548d49 PySBIG-0.04.tar.bz2
More information about the fedora-extras-commits
mailing list