]>
Commit | Line | Data |
---|---|---|
1125ddec | 1 | Summary: LAL routines for inspiral and ringdown CBC gravitational wave data analysis |
cae6bb9d | 2 | Summary(pl.UTF-8): Procedury LAL do analizy danych fal grawitacyjnych układów podwójnych |
1125ddec | 3 | Name: lal-inspiral |
1c0301e4 | 4 | Version: 2.0.3 |
4ebcb37c | 5 | Release: 1 |
30829c79 | 6 | Epoch: 1 |
1125ddec ZU |
7 | License: GPL v2 |
8 | Group: Libraries | |
cae6bb9d | 9 | Source0: http://software.ligo.org/lscsoft/source/lalsuite/lalinspiral-%{version}.tar.xz |
1c0301e4 | 10 | # Source0-md5: 4de85003454f6bfab3fe8b9a47ec627d |
cae6bb9d | 11 | Patch0: %{name}-env.patch |
4ebcb37c | 12 | Patch1: no-Werror.patch |
cae6bb9d JB |
13 | URL: https://wiki.ligo.org/DASWG/LALSuite |
14 | BuildRequires: autoconf >= 2.63 | |
15 | BuildRequires: automake >= 1:1.11 | |
16 | BuildRequires: gsl-devel >= 1.13 | |
17 | BuildRequires: lal-devel >= 6.18.0 | |
18 | BuildRequires: lal-frame-devel >= 1.4.3 | |
19 | BuildRequires: lal-metaio-devel >= 1.3.1 | |
20 | BuildRequires: lal-simulation-devel >= 1.7.0 | |
21 | BuildRequires: libframe-devel | |
22 | BuildRequires: libstdc++-devel | |
23 | BuildRequires: metaio-devel | |
24 | BuildRequires: octave-devel >= 1:3.2.0 | |
25 | BuildRequires: pkgconfig | |
1c0301e4 JR |
26 | BuildRequires: python3-devel |
27 | BuildRequires: python3-numpy-devel | |
cae6bb9d JB |
28 | BuildRequires: swig >= 3.0.12 |
29 | BuildRequires: swig-python >= 2.0.12 | |
30 | BuildRequires: tar >= 1:1.22 | |
31 | BuildRequires: xz | |
32 | Requires: gsl >= 1.13 | |
33 | Requires: lal >= 6.18.0 | |
34 | Requires: lal-frame >= 1.4.3 | |
35 | Requires: lal-metaio >= 1.3.1 | |
36 | Requires: lal-simulation >= 1.7.0 | |
1125ddec ZU |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
38 | ||
39 | %description | |
40 | LAL routines for inspiral and ringdown CBC gravitational wave data | |
41 | analysis. | |
42 | ||
cae6bb9d JB |
43 | %description -l pl.UTF-8 |
44 | Procedury LAL do analizy danych fal grawitacyjnych układów podwójnych. | |
45 | ||
1125ddec ZU |
46 | %package devel |
47 | Summary: Header files for lal-inspiral library | |
cae6bb9d | 48 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki lal-inspiral |
1125ddec | 49 | Group: Development/Libraries |
30829c79 | 50 | Requires: %{name} = %{epoch}:%{version}-%{release} |
cae6bb9d JB |
51 | Requires: gsl-devel >= 1.13 |
52 | Requires: lal-devel >= 6.18.0 | |
53 | Requires: lal-metaio-devel >= 1.3.1 | |
54 | Requires: lal-simulation-devel >= 1.7.0 | |
55 | Requires: metaio-devel | |
1125ddec ZU |
56 | |
57 | %description devel | |
58 | Header files for lal-inspiral library. | |
59 | ||
cae6bb9d JB |
60 | %description devel -l pl.UTF-8 |
61 | Pliki nagłówkowe biblioteki lal-inspiral. | |
62 | ||
1125ddec ZU |
63 | %package static |
64 | Summary: Static lal-inspiral library | |
cae6bb9d | 65 | Summary(pl.UTF-8): Statyczna biblioteka lal-inspiral |
1125ddec | 66 | Group: Development/Libraries |
30829c79 | 67 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
1125ddec ZU |
68 | |
69 | %description static | |
70 | Static lal-inspiral library. | |
71 | ||
cae6bb9d JB |
72 | %description static -l pl.UTF-8 |
73 | Statyczna biblioteka lal-inspiral. | |
74 | ||
75 | %package -n octave-lalinspiral | |
76 | Summary: Octave interface for LAL Inspiral | |
77 | Summary(pl.UTF-8): Interfejs Octave do biblioteki LAL Inspiral | |
78 | Group: Applications/Math | |
22b09acc | 79 | Requires: %{name} = %{epoch}:%{version}-%{release} |
cae6bb9d JB |
80 | Requires: octave-lal >= 6.18.0 |
81 | ||
82 | %description -n octave-lalinspiral | |
83 | Octave interface for LAL Inspiral. | |
84 | ||
85 | %description -n octave-lalinspiral -l pl.UTF-8 | |
86 | Interfejs Octave do biblioteki LAL Inspiral. | |
87 | ||
1c0301e4 | 88 | %package -n python3-lalinspiral |
cae6bb9d JB |
89 | Summary: Python bindings for LAL Inspiral |
90 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki LAL Inspiral | |
91 | Group: Libraries/Python | |
22b09acc | 92 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c0301e4 JR |
93 | Requires: python3-lal >= 6.18.0 |
94 | Requires: python3-lalsimulation >= 1.7.0 | |
95 | Requires: python3-modules >= 1:2.6 | |
96 | Requires: python3-numpy | |
97 | Requires: python3-scipy | |
98 | #python3-glue (glue.iterutils, glue.ligolw) | |
99 | #Suggests: python3-pycuda | |
100 | ||
101 | %description -n python3-lalinspiral | |
cae6bb9d JB |
102 | Python bindings for LAL Inspiral. |
103 | ||
1c0301e4 | 104 | %description -n python3-lalinspiral -l pl.UTF-8 |
cae6bb9d JB |
105 | Wiązania Pythona do biblioteki LAL Inspiral. |
106 | ||
1125ddec ZU |
107 | %prep |
108 | %setup -q -n lalinspiral-%{version} | |
cae6bb9d | 109 | %patch0 -p1 |
4ebcb37c | 110 | %patch1 -p1 |
1125ddec ZU |
111 | |
112 | %build | |
cae6bb9d JB |
113 | %{__libtoolize} |
114 | %{__aclocal} -I gnuscripts | |
115 | %{__autoconf} | |
116 | %{__autoheader} | |
117 | %{__automake} | |
30829c79 | 118 | %configure \ |
cae6bb9d JB |
119 | --disable-silent-rules \ |
120 | --enable-swig | |
30829c79 | 121 | |
cae6bb9d | 122 | %{__make} |
1125ddec ZU |
123 | |
124 | %install | |
125 | rm -rf $RPM_BUILD_ROOT | |
126 | ||
127 | %{__make} install \ | |
128 | DESTDIR=$RPM_BUILD_ROOT | |
129 | ||
cae6bb9d JB |
130 | # obsoleted by pkg-config |
131 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblalinspiral.la | |
132 | ||
1125ddec | 133 | install -d $RPM_BUILD_ROOT/etc/shrc.d |
cae6bb9d JB |
134 | %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/*sh $RPM_BUILD_ROOT/etc/shrc.d |
135 | ||
1125ddec ZU |
136 | %clean |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %post -p /sbin/ldconfig | |
140 | %postun -p /sbin/ldconfig | |
141 | ||
142 | %files | |
143 | %defattr(644,root,root,755) | |
cae6bb9d JB |
144 | %attr(755,root,root) %{_bindir}/lalinspiral_version |
145 | %attr(755,root,root) %{_libdir}/liblalinspiral.so.*.*.* | |
1c0301e4 | 146 | %attr(755,root,root) %ghost %{_libdir}/liblalinspiral.so.16 |
cae6bb9d JB |
147 | /etc/shrc.d/lalinspiral-user-env.csh |
148 | /etc/shrc.d/lalinspiral-user-env.fish | |
149 | /etc/shrc.d/lalinspiral-user-env.sh | |
1125ddec ZU |
150 | |
151 | %files devel | |
152 | %defattr(644,root,root,755) | |
cae6bb9d JB |
153 | %attr(755,root,root) %{_libdir}/liblalinspiral.so |
154 | %{_includedir}/lal/BBHPhenomCoeffs.h | |
cae6bb9d JB |
155 | %{_includedir}/lal/CoincInspiralEllipsoid.h |
156 | %{_includedir}/lal/FindChirp*.h | |
157 | %{_includedir}/lal/GenerateInspRing.h | |
158 | %{_includedir}/lal/GenerateInspiral.h | |
159 | %{_includedir}/lal/GeneratePPNInspiral.h | |
cae6bb9d JB |
160 | %{_includedir}/lal/InspiralInjectionParams.h |
161 | %{_includedir}/lal/LALEOBNRv2Waveform.h | |
162 | %{_includedir}/lal/LALInspiral*.h | |
163 | %{_includedir}/lal/LALNoiseModelsInspiral.h | |
cae6bb9d JB |
164 | %{_includedir}/lal/LALSQTPN*.h |
165 | %{_includedir}/lal/LALSTPNWaveform*.h | |
166 | %{_includedir}/lal/LALTrigScanCluster.h | |
167 | %{_includedir}/lal/LIGOLwXMLInspiralRead.h | |
168 | %{_includedir}/lal/LIGOLwXMLRingdownRead.h | |
169 | %{_includedir}/lal/LIGOMetadataInspiralUtils.h | |
170 | %{_includedir}/lal/LIGOMetadataRingdownUtils.h | |
171 | %{_includedir}/lal/NRWaveIO.h | |
172 | %{_includedir}/lal/NRWaveInject.h | |
173 | %{_includedir}/lal/RingUtils.h | |
174 | %{_includedir}/lal/SWIGLALInspiralTest.h | |
175 | %{_includedir}/lal/SWIGLALInspiral*.i | |
cae6bb9d JB |
176 | %{_includedir}/lal/TemplateBankGeneration.h |
177 | %{_includedir}/lal/TrigScanEThincaCommon.h | |
178 | %{_includedir}/lal/swiglalinspiral.i | |
179 | %{_pkgconfigdir}/lalinspiral.pc | |
1125ddec ZU |
180 | |
181 | %files static | |
182 | %defattr(644,root,root,755) | |
cae6bb9d JB |
183 | %{_libdir}/liblalinspiral.a |
184 | ||
185 | %files -n octave-lalinspiral | |
186 | %defattr(644,root,root,755) | |
187 | %attr(755,root,root) %{_libdir}/octave/*/site/oct/*/lalinspiral.oct | |
188 | ||
1c0301e4 | 189 | %files -n python3-lalinspiral |
cae6bb9d | 190 | %defattr(644,root,root,755) |
1c0301e4 JR |
191 | %dir %{py3_sitedir}/lalinspiral |
192 | %attr(755,root,root) %{py3_sitedir}/lalinspiral/_lalinspiral.so | |
193 | %attr(755,root,root) %{py3_sitedir}/lalinspiral/_thinca.so | |
194 | %{py3_sitedir}/lalinspiral/*.py | |
195 | %{py3_sitedir}/lalinspiral/__pycache__ | |
196 | %dir %{py3_sitedir}/lalinspiral/sbank | |
197 | %{py3_sitedir}/lalinspiral/sbank/*.py | |
198 | %{py3_sitedir}/lalinspiral/sbank/__pycache__ |