forked from gwastro/pycbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pycbc.spec
63 lines (54 loc) · 1.74 KB
/
pycbc.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Name: python-pycbc
Summary: Python tools for CBC data analysis
Version: 0.1
Release: 1
License: GPL
Group: Development/Libraries
Source: %{name}-%{version}.tar.gz
Url: http://www.lsc-group.phys.uwm.edu/daswg/projects/pycbc.html
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: python python-decorator lal lal-python lalframe lalframe-python lalsimulation lalsimulation-python lalinspiral lalinspiral-python numpy scipy
BuildRequires: python-devel lal-devel lalmetaio-devel lalframe-devel lalsimulation-devel lalinspiral-devel numpy pkgconfig
%description
PyCBC is a python toolkit for analysis of data from gravitational-wave
laser interferometer detectors with the goal of detecting and studying
signals from compact binary coalescences (CBCs).
%package common
Summary: Common files
Group: Development/Libraries
Requires: python
%description common
This is the common package, to be complemented by one of the
-nogpu, -cuda or -opencl packages.
%package nogpu
Summary: CPU-only version
Group: Development/Libraries
Requires: python-pycbc-common
%description nogpu
Version supporting CPU computation only.
#%package cuda
#Summary: CUDA version
#Group: Development/Libraries
#Requires: python-pycbc-common
#%description cuda
#Version supporting GPU computation via CUDA.
#%package opencl
#Summary: OpenCL version
#Group: Development/Libraries
#Requires: python-pycbc-common
#%description opencl
#Version supporting GPU computation via OpenCL.
%prep
%setup
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install \
--skip-build \
--root=%{buildroot}
%files common
%defattr(-,root,root)
%exclude /usr/etc/
/usr/
%files nogpu