forked from nexpy/nexusformat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnexusformat.spec
45 lines (32 loc) · 897 Bytes
/
nexusformat.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%global srcname nexusformat
%define debug_package %{nil}
Name: python-%{srcname}
Version: 0.3.1
Release: 1%{?dist}
Summary: Python API to NeXus files using h5py
License: BSD
URL: https://nexpy.github.io/nexpy/
Source0: https://github.com/nexpy/nexusformat/archive/v%{version}.zip
Requires: h5py
Requires: numpy
BuildRequires: numpy
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildArch: noarch
%description
Python API to NeXus files using h5py
%prep
%autosetup -n %{srcname}-%{version}
%build
%py2_build
%install
%py2_install
%files
%doc README.rst README.md README
%{python2_sitelib}/nexusformat/*
%{python2_sitelib}/nexusformat-%{version}-py2*.egg-info/*
%{_bindir}/nxstack
%{_bindir}/nxstartserver
%changelog
* Thu Apr 7 2016 Stuart Campbell <[email protected]> - 0.2.2-1
- Initial package