Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hankem:suse
python-nifti
python-nifti.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-nifti.spec of Package python-nifti
%define modname pynifti Name: python-nifti URL: http://niftilib.sf.net/pynifti/ Summary: Python interface to the NIfTI I/O libraries Version: 0.20100412.1 Release: 1 License: MIT License Group: Development/Libraries/Python Source: %{modname}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %if %{defined fedora_version} || %{defined rhel_version} || %{defined centos_version} BuildRequires: numpy Requires: numpy %if %{defined fedora_version} BuildRequires: atlas lapack %endif %else %{py_requires} BuildRequires: python-numpy-devel Requires: python-numpy %endif BuildRequires: python-devel swig nifticlib-devel BuildRequires: zlib-devel Requires: nifticlib BuildRequires: gcc-c++ %description Using PyNIfTI one can easily read and write NIfTI and ANALYZE images from within Python. The NiftiImage class provides Python-style access to the full header information. Image data is made available via NumPy arrays. %prep %setup -q -n %{modname}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" python setup.py build make unittest %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(0644,root,root,0755) %if 0%{?suse_version} >= 1100 %dir %{py_sitedir}/nifti %endif %changelog * Mon Apr 12 2010 - Michael Hanke <michael.hanke@gmail.com> - 0.20100412.1-1 New bugfix release. * Tue Mar 3 2009 - Michael Hanke <michael.hanke@gmail.com> - 0.20090303.1-1 New bugfix release. * Thu Feb 5 2009 - Michael Hanke <michael.hanke@gmail.com> - 0.20090205.1-1 New upstream version. * Fri Oct 17 2008 - Michael Hanke <michael.hanke@gmail.com> - 0.20081017.1-1 New upstream version. * Sat Oct 4 2008 - Michael Hanke <michael.hanke@gmail.com> - 0.20080710.1-1 - Initial release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor