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