-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibframe.spec.in
109 lines (85 loc) · 2.7 KB
/
libframe.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
%define _prefix /usr
%define _docdir %{_datadir}/doc
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: LIGO/VIRGO frame library
License: ?
Group: LAL
Source: %{name}-%{version}.tar.gz
URL: http://lappweb.in2p3.fr/virgo/FrameL
Packager: Adam Mercer <[email protected]>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: frame
Prefix: %{_prefix}
%description
A Common Data Frame Format for Interferometric Gravitational Wave Detector
has been developed by VIRGO and LIGO. The Frame Library is a software
dedicated to the frame manipulation including file input/output.
This package contains the shared-object library needed to run libframe
applications.
%package devel
Summary: Files and documentation needed for compiling libframe programs
Group: LAL
Requires: %{name} = %{version}
%description devel
A Common Data Frame Format for Interferometric Gravitational Wave Detector
has been developed by VIRGO and LIGO. The Frame Library is a software
dedicated to the frame manipulation including file input/output.
This package contains the files needed for building libframe programs, as
well as the documentation for the library.
%package utils
Summary: Frame file manipulation utilities
Group: LAL
Requires: %{name} = %{version}
%description utils
A Common Data Frame Format for Interferometric Gravitational Wave Detector
has been developed by VIRGO and LIGO. The Frame Library is a software
dedicated to the frame manipulation including file input/output.
This package contains some utilities for manipulating frame files.
%package matlab
Summary: Matlab bindings for libframe
Group: LAL
Requires: %{name} = %{version}
%description matlab
A Common Data Frame Format for Interferometric Gravitational Wave Detector
has been developed by VIRGO and LIGO. The Frame Library is a software
dedicated to the frame manipulation including file input/output.
This package contains Matlab bindings for manipulating frame files from
within Matlab.
%prep
rm -Rf ${RPM_BUILD_DIR}/%{name}-%{version}
%setup -q
%build
%configure
%{__make}
%install
%make_install docdir=%{_docdir}/%{name}-%{version}
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
%post
ldconfig
%postun
ldconfig
%clean
[ ${RPM_BUILD_ROOT} != "/" ] && rm -Rf ${RPM_BUILD_ROOT}
rm -Rf ${RPM_BUILD_DIR}/%{name}-%{version}
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_docdir}/*
%files utils
%defattr(-,root,root)
%{_bindir}/*
%files matlab
%defattr(-,root,root)
%{_datadir}/libframe/src/matlab/*
# dates should be formatted using: 'date +"%a %b %d %Y"'
%changelog
* Tue Apr 12 2016 Adam Mercer <[email protected]> 8.30-1
- Update packaging for O2