]> git.pld-linux.org Git - SPECS.git/blob - libframe.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / libframe.spec
1 # TODO: matlab/octave, ROOT
2 #
3 # Conditional build:
4 %bcond_without  static_libs     # static library
5 #
6 Summary:        LIGO/VIRGO frame library
7 Summary(pl.UTF-8):      Biblioteka ramek LIGO/VIRGO
8 Name:           libframe
9 Version:        8.30
10 Release:        1
11 License:        MIT-like, modifications distributable only with explicit authors consent
12 Group:          Libraries
13 Source0:        http://lappweb.in2p3.fr/virgo/FrameL/%{name}-%{version}.tar.gz
14 # Source0-md5:  efd7959d70e488b95395fbcde9bcd057
15 URL:            http://lappweb.in2p3.fr/virgo/FrameL/
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A Common Data Frame Format for Interferometric Gravitational Wave
20 Detector has been developed by VIRGO and LIGO. The Frame Library is a
21 software dedicated to the frame manipulation including file
22 input/output.
23
24 %description -l pl.UTF-8
25 Ogolny format ramek danych (Common Data Frame Format) dla
26 interferometrycznego detektora fal grawitacyjnych powstał we
27 współpracy projektów VIRGO i LIGO. Biblioteka Frame to oprogramowanie
28 służące do operowania na ramkach, w tym operacji wejścia-wyjścia na
29 plikach.
30  
31 %package devel
32 Summary:        Header files for Frame library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Frame
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36
37 %description devel
38 Header files for Frame library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki Frame.
42
43 %package static
44 Summary:        Static Frame library
45 Summary(pl.UTF-8):      Statyczna biblioteka Frame
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static Frame library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka Frame.
54
55 %package apidocs
56 Summary:        API documentation for Frame library
57 Summary(pl.UTF-8):      Dokumentacja API biblioteki Frame
58 Group:          Documentation
59 BuildArch:      noarch
60
61 %description apidocs
62 API documentation for Frame library.
63
64 %description apidocs -l pl.UTF-8
65 Dokumentacja API biblioteki Frame.
66
67 %prep
68 %setup -q
69
70 %build
71 %configure \
72         %{!?with_static_libs:--disable-static}
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 # obsoleted by pkg-config
82 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libFrame.la
83 # packaged as %doc in -apidocs
84 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libframe
85 # sources for MatLab
86 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/libframe/src
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc LICENSE 
97 %attr(755,root,root) %{_bindir}/FrChannels
98 %attr(755,root,root) %{_bindir}/FrCheck
99 %attr(755,root,root) %{_bindir}/FrCopy
100 %attr(755,root,root) %{_bindir}/FrDiff
101 %attr(755,root,root) %{_bindir}/FrDump
102 %attr(755,root,root) %{_bindir}/FrTrend
103 %attr(755,root,root) %{_bindir}/FrameDataDump
104 %attr(755,root,root) %{_libdir}/libFrame.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libFrame.so.1
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libFrame.so
110 %{_includedir}/FrFilter.h
111 %{_includedir}/FrIO.h
112 %{_includedir}/FrVect.h
113 %{_includedir}/FrameL.h
114 %{_pkgconfigdir}/libframe.pc
115
116 %if %{with static_libs}
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libFrame.a
120 %endif
121
122 %files apidocs
123 %defattr(644,root,root,755)
124 %doc doc/{FrDoc,Spec-Frame-Format-v8}.pdf
This page took 0.243677 seconds and 3 git commands to generate.