]>
Commit | Line | Data |
---|---|---|
1c0719ab ZU |
1 | Summary: LALSuite is comprised of various gravitational wave data analysis routines |
2 | Name: lal | |
3 | Version: 6.4.1 | |
6cd3323b | 4 | Release: 1 |
1c0719ab ZU |
5 | License: GPL v2 |
6 | Group: Applications/Science | |
7 | Source0: https://www.lsc-group.phys.uwm.edu/daswg/download/software/source/lalsuite/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 254f2e33bee014fc4916769ad5a8dc81 | |
9 | URL: https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html | |
10 | BuildRequires: fftw3-common-devel | |
11 | BuildRequires: gsl-devel | |
12 | BuildRequires: metaio-devel | |
13 | BuildRequires: pkgconfig | |
14 | BuildRequires: python | |
15 | BuildRequires: texlive-dvips | |
16 | BuildRequires: texlive-format-pdflatex | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | LALSuite is comprised of various gravitational wave data analysis | |
21 | routines written in C following the ISO/IEC 9899:1999 standard, more | |
22 | commonly referred to as C99. | |
23 | ||
24 | %package devel | |
25 | Summary: Development files for LAL | |
26 | Group: Development/Libraries | |
27 | Requires: %{name} = %{version}-%{release} | |
28 | Requires: fftw3-devel | |
29 | Requires: fftw3-single-devel | |
30 | Requires: zlib-devel | |
31 | ||
32 | %description devel | |
33 | Development files for LAL. | |
34 | ||
35 | %package static | |
36 | Summary: Static LAL library | |
37 | Group: Development/Libraries | |
38 | Requires: %{name}-devel = %{version}-%{release} | |
39 | ||
40 | %description static | |
41 | Static LAL library. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
47 | %configure | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | install -d $RPM_BUILD_ROOT/etc/shrc.d | |
57 | mv $RPM_BUILD_ROOT%{_sysconfdir}/*sh $RPM_BUILD_ROOT/etc/shrc.d | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc AUTHORS README | |
65 | %{_sysconfdir}/shrc.d/lal-user-env.* | |
66 | %attr(755,root,root) %{_bindir}/lal-version | |
67 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
68 | ||
69 | %files devel | |
70 | %defattr(644,root,root,755) | |
71 | %attr(755,root,root) %{_bindir}/lal-config | |
72 | %{_libdir}/lib*.la | |
73 | %{_libdir}/lib*.so | |
74 | %{_pkgconfigdir}/*.pc | |
75 | %dir %{_includedir}/lal | |
76 | %{_includedir}/lal/* | |
77 | %{_mandir}/man*/* | |
78 | ||
79 | %files static | |
80 | %defattr(644,root,root,755) | |
81 | %{_libdir}/lib*.a |