]>
Commit | Line | Data |
---|---|---|
6a5fe0c3 JB |
1 | Summary: LAL routines for burst gravitational wave data analysis |
2 | Summary(pl.UTF-8): Procedury LAL do analizy danych fal grawitacyjnych wybuchów | |
3 | Name: lal-burst | |
ecfe2b3c | 4 | Version: 1.5.9 |
51518488 | 5 | Release: 1 |
6a5fe0c3 JB |
6 | License: GPL v2+ |
7 | Group: Libraries | |
8 | Source0: http://software.ligo.org/lscsoft/source/lalsuite/lalburst-%{version}.tar.xz | |
ecfe2b3c | 9 | # Source0-md5: 7367e2396e161fd8c24eff74bedc0e4d |
6a5fe0c3 JB |
10 | Patch0: %{name}-env.patch |
11 | URL: https://wiki.ligo.org/DASWG/LALSuite | |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: gsl-devel >= 1.13 | |
15 | BuildRequires: lal-devel >= 6.18.0 | |
16 | BuildRequires: lal-metaio-devel >= 1.3.1 | |
17 | BuildRequires: lal-simulation-devel >= 1.7.0 | |
18 | BuildRequires: libstdc++-devel | |
19 | BuildRequires: libtool >= 2:2 | |
20 | BuildRequires: octave-devel >= 1:3.2.0 | |
21 | BuildRequires: pkgconfig | |
ecfe2b3c JR |
22 | BuildRequires: python3-devel |
23 | BuildRequires: python3-numpy-devel | |
6a5fe0c3 JB |
24 | BuildRequires: swig >= 3.0.12 |
25 | BuildRequires: swig-python >= 2.0.12 | |
26 | BuildRequires: tar >= 1:1.22 | |
27 | BuildRequires: xz | |
28 | Requires: lal >= 6.18.0 | |
29 | Requires: lal-metaio >= 1.3.1 | |
30 | Requires: lal-simulation >= 1.7.0 | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | LAL routines for burst gravitational wave data analysis. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Procedury LAL do analizy danych fal grawitacyjnych wybuchów. | |
38 | ||
39 | %package devel | |
40 | Summary: Header files for lal-burst library | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki lal-burst | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
44 | Requires: gsl-devel >= 1.13 | |
45 | Requires: lal-devel >= 6.18.0 | |
46 | Requires: lal-metaio-devel >= 1.3.1 | |
47 | Requires: lal-simulation-devel >= 1.7.0 | |
48 | ||
49 | %description devel | |
50 | Header files for lal-burst library. | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki nagłówkowe biblioteki lal-burst. | |
54 | ||
55 | %package static | |
56 | Summary: Static lal-burst library | |
57 | Summary(pl.UTF-8): Statyczna biblioteka lal-burst | |
58 | Group: Development/Libraries | |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | Static lal-burst library. | |
63 | ||
64 | %description static -l pl.UTF-8 | |
65 | Statyczna biblioteka lal-burst. | |
66 | ||
67 | %package -n octave-lalburst | |
68 | Summary: Octave interface for LAL Burst | |
69 | Summary(pl.UTF-8): Interfejs Octave do biblioteki LAL Burst | |
70 | Group: Applications/Math | |
71 | Requires: %{name} = %{version}-%{release} | |
72 | Requires: octave-lal >= 6.18.0 | |
73 | ||
74 | %description -n octave-lalburst | |
75 | Octave interface for LAL Burst. | |
76 | ||
77 | %description -n octave-lalburst -l pl.UTF-8 | |
78 | Interfejs Octave do biblioteki LAL Burst. | |
79 | ||
ecfe2b3c | 80 | %package -n python3-lalburst |
6a5fe0c3 JB |
81 | Summary: Python bindings for LAL Burst |
82 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki LAL Burst | |
83 | Group: Libraries/Python | |
84 | Requires: %{name} = %{version}-%{release} | |
ecfe2b3c JR |
85 | Requires: python3-lal >= 6.18.0 |
86 | Requires: python3-lalmetaio >= 1.3.1 | |
87 | Requires: python3-lalsimulation >= 1.7.0 | |
88 | Requires: python3-modules | |
89 | Requires: python3-matplotlib | |
90 | Requires: python3-numpy >= 1:1.7 | |
91 | Requires: python3-scipy | |
6a5fe0c3 JB |
92 | #python-glue (glue.lilolw, glue.offsetvector) |
93 | #python-pylal | |
94 | ||
ecfe2b3c | 95 | %description -n python3-lalburst |
6a5fe0c3 JB |
96 | Python bindings for LAL Burst. |
97 | ||
ecfe2b3c | 98 | %description -n python3-lalburst -l pl.UTF-8 |
6a5fe0c3 JB |
99 | Wiązania Pythona do biblioteki LAL Burst. |
100 | ||
101 | %prep | |
102 | %setup -q -n lalburst-%{version} | |
103 | %patch0 -p1 | |
104 | ||
105 | %build | |
106 | %{__libtoolize} | |
107 | %{__aclocal} -I gnuscripts | |
108 | %{__autoconf} | |
109 | %{__autoheader} | |
110 | %{__automake} | |
111 | %configure \ | |
112 | --disable-silent-rules \ | |
113 | --enable-swig | |
114 | %{__make} | |
115 | ||
116 | %install | |
117 | rm -rf $RPM_BUILD_ROOT | |
118 | ||
119 | %{__make} install \ | |
120 | DESTDIR=$RPM_BUILD_ROOT | |
121 | ||
122 | # obsoleted by pkg-config | |
123 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblalburst.la | |
124 | ||
125 | install -d $RPM_BUILD_ROOT/etc/shrc.d | |
126 | %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/*sh $RPM_BUILD_ROOT/etc/shrc.d | |
127 | ||
ecfe2b3c | 128 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/lalburst/cs_gamma.{la,a} |
6a5fe0c3 JB |
129 | |
130 | %clean | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | ||
133 | %post -p /sbin/ldconfig | |
134 | %postun -p /sbin/ldconfig | |
135 | ||
136 | %files | |
137 | %defattr(644,root,root,755) | |
51518488 | 138 | %doc AUTHORS README.md |
6a5fe0c3 JB |
139 | %attr(755,root,root) %{_bindir}/lalburst_version |
140 | %attr(755,root,root) %{_libdir}/liblalburst.so.*.*.* | |
51518488 | 141 | %attr(755,root,root) %ghost %{_libdir}/liblalburst.so.6 |
6a5fe0c3 JB |
142 | /etc/shrc.d/lalburst-user-env.csh |
143 | /etc/shrc.d/lalburst-user-env.fish | |
144 | /etc/shrc.d/lalburst-user-env.sh | |
145 | ||
146 | %files devel | |
147 | %defattr(644,root,root,755) | |
148 | %attr(755,root,root) %{_libdir}/liblalburst.so | |
149 | %{_includedir}/lal/EPSearch.h | |
150 | %{_includedir}/lal/GenerateBurst.h | |
151 | %{_includedir}/lal/LALBurst*.h | |
152 | %{_includedir}/lal/LIGOLwXMLBurstRead.h* | |
153 | %{_includedir}/lal/SWIGLALBurst*.h | |
154 | %{_includedir}/lal/SWIGLALBurst*.i | |
155 | %{_includedir}/lal/SnglBurstUtils.h | |
156 | %{_includedir}/lal/cs_cosmo.h | |
157 | %{_includedir}/lal/cs_lambda_cosmo.h | |
158 | %{_includedir}/lal/swiglalburst.i | |
159 | %{_pkgconfigdir}/lalburst.pc | |
160 | ||
161 | %files static | |
162 | %defattr(644,root,root,755) | |
163 | %{_libdir}/liblalburst.a | |
164 | ||
165 | %files -n octave-lalburst | |
166 | %defattr(644,root,root,755) | |
167 | %attr(755,root,root) %{_libdir}/octave/*/site/oct/*/lalburst.oct | |
168 | ||
ecfe2b3c | 169 | %files -n python3-lalburst |
6a5fe0c3 | 170 | %defattr(644,root,root,755) |
ecfe2b3c JR |
171 | %dir %{py3_sitedir}/lalburst |
172 | %attr(755,root,root) %{py3_sitedir}/lalburst/_lalburst.so | |
173 | %attr(755,root,root) %{py3_sitedir}/lalburst/cs_gamma.so | |
174 | %{py3_sitedir}/lalburst/*.py | |
175 | %{py3_sitedir}/lalburst/__pycache__ |