1 Summary: LAL routines for burst gravitational wave data analysis
2 Summary(pl.UTF-8): Procedury LAL do analizy danych fal grawitacyjnych wybuchów
8 Source0: http://software.ligo.org/lscsoft/source/lalsuite/lalburst-%{version}.tar.xz
9 # Source0-md5: 7367e2396e161fd8c24eff74bedc0e4d
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
22 BuildRequires: python3-devel
23 BuildRequires: python3-numpy-devel
24 BuildRequires: swig >= 3.0.12
25 BuildRequires: swig-python >= 2.0.12
26 BuildRequires: tar >= 1:1.22
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)
34 LAL routines for burst gravitational wave data analysis.
36 %description -l pl.UTF-8
37 Procedury LAL do analizy danych fal grawitacyjnych wybuchów.
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
50 Header files for lal-burst library.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe biblioteki lal-burst.
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}
62 Static lal-burst library.
64 %description static -l pl.UTF-8
65 Statyczna biblioteka lal-burst.
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
74 %description -n octave-lalburst
75 Octave interface for LAL Burst.
77 %description -n octave-lalburst -l pl.UTF-8
78 Interfejs Octave do biblioteki LAL Burst.
80 %package -n python3-lalburst
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}
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
92 #python-glue (glue.lilolw, glue.offsetvector)
95 %description -n python3-lalburst
96 Python bindings for LAL Burst.
98 %description -n python3-lalburst -l pl.UTF-8
99 Wiązania Pythona do biblioteki LAL Burst.
102 %setup -q -n lalburst-%{version}
107 %{__aclocal} -I gnuscripts
112 --disable-silent-rules \
117 rm -rf $RPM_BUILD_ROOT
120 DESTDIR=$RPM_BUILD_ROOT
122 # obsoleted by pkg-config
123 %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblalburst.la
125 install -d $RPM_BUILD_ROOT/etc/shrc.d
126 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/*sh $RPM_BUILD_ROOT/etc/shrc.d
128 %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/lalburst/cs_gamma.{la,a}
131 rm -rf $RPM_BUILD_ROOT
133 %post -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
137 %defattr(644,root,root,755)
138 %doc AUTHORS README.md
139 %attr(755,root,root) %{_bindir}/lalburst_version
140 %attr(755,root,root) %{_libdir}/liblalburst.so.*.*.*
141 %attr(755,root,root) %ghost %{_libdir}/liblalburst.so.6
142 /etc/shrc.d/lalburst-user-env.csh
143 /etc/shrc.d/lalburst-user-env.fish
144 /etc/shrc.d/lalburst-user-env.sh
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
162 %defattr(644,root,root,755)
163 %{_libdir}/liblalburst.a
165 %files -n octave-lalburst
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_libdir}/octave/*/site/oct/*/lalburst.oct
169 %files -n python3-lalburst
170 %defattr(644,root,root,755)
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__