]>
Commit | Line | Data |
---|---|---|
72eef514 JB |
1 | # TODO: matlab/octave, ROOT |
2 | # | |
72eef514 JB |
3 | Summary: LIGO/VIRGO frame library |
4 | Summary(pl.UTF-8): Biblioteka ramek LIGO/VIRGO | |
5 | Name: libframe | |
8788bb68 JR |
6 | %define gitver 8r41p5 |
7 | %define ver %(echo %{gitver} | tr [rp] .) | |
8 | Version: %{ver} | |
72eef514 JB |
9 | Release: 1 |
10 | License: MIT-like, modifications distributable only with explicit authors consent | |
11 | Group: Libraries | |
8788bb68 JR |
12 | Source0: https://git.ligo.org/virgo/virgoapp/Fr/-/archive/v%{gitver}/Fr-v%{gitver}.tar.bz2 |
13 | # Source0-md5: 0f5037e55f634b7eea4cacebbc44b4cd | |
14 | URL: https://git.ligo.org/virgo/virgoapp/Fr | |
72eef514 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | A Common Data Frame Format for Interferometric Gravitational Wave | |
19 | Detector has been developed by VIRGO and LIGO. The Frame Library is a | |
20 | software dedicated to the frame manipulation including file | |
21 | input/output. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Ogolny format ramek danych (Common Data Frame Format) dla | |
25 | interferometrycznego detektora fal grawitacyjnych powstał we | |
26 | współpracy projektów VIRGO i LIGO. Biblioteka Frame to oprogramowanie | |
27 | służące do operowania na ramkach, w tym operacji wejścia-wyjścia na | |
28 | plikach. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for Frame library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Frame | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | Header files for Frame library. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe biblioteki Frame. | |
41 | ||
72eef514 JB |
42 | %package apidocs |
43 | Summary: API documentation for Frame library | |
44 | Summary(pl.UTF-8): Dokumentacja API biblioteki Frame | |
45 | Group: Documentation | |
72eef514 | 46 | BuildArch: noarch |
72eef514 JB |
47 | |
48 | %description apidocs | |
49 | API documentation for Frame library. | |
50 | ||
51 | %description apidocs -l pl.UTF-8 | |
52 | Dokumentacja API biblioteki Frame. | |
53 | ||
54 | %prep | |
8788bb68 | 55 | %setup -q -n Fr-v%{gitver} |
72eef514 JB |
56 | |
57 | %build | |
8788bb68 JR |
58 | mkdir -p build |
59 | cd build | |
60 | %cmake .. | |
61 | ||
72eef514 JB |
62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
8788bb68 | 67 | %{__make} -C build install \ |
72eef514 JB |
68 | DESTDIR=$RPM_BUILD_ROOT |
69 | ||
72eef514 | 70 | # packaged as %doc in -apidocs |
8788bb68 | 71 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/*.pdf |
72eef514 JB |
72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc LICENSE | |
82 | %attr(755,root,root) %{_bindir}/FrChannels | |
83 | %attr(755,root,root) %{_bindir}/FrCheck | |
84 | %attr(755,root,root) %{_bindir}/FrCopy | |
85 | %attr(755,root,root) %{_bindir}/FrDiff | |
86 | %attr(755,root,root) %{_bindir}/FrDump | |
87 | %attr(755,root,root) %{_bindir}/FrTrend | |
88 | %attr(755,root,root) %{_bindir}/FrameDataDump | |
8788bb68 JR |
89 | %attr(755,root,root) %{_libdir}/libframel.so.*.*.* |
90 | %attr(755,root,root) %ghost %{_libdir}/libframel.so.8 | |
72eef514 JB |
91 | |
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
8788bb68 | 94 | %attr(755,root,root) %{_libdir}/libframel.so |
72eef514 JB |
95 | %{_includedir}/FrFilter.h |
96 | %{_includedir}/FrIO.h | |
97 | %{_includedir}/FrVect.h | |
98 | %{_includedir}/FrameL.h | |
8788bb68 | 99 | %{_pkgconfigdir}/framel.pc |
72eef514 JB |
100 | |
101 | %files apidocs | |
102 | %defattr(644,root,root,755) | |
8788bb68 | 103 | %doc doc/{FrDoc,Frame-Format-VIR-0067B-08}.pdf |