-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathls2.spec.in
More file actions
109 lines (71 loc) · 2.22 KB
/
Copy pathls2.spec.in
File metadata and controls
109 lines (71 loc) · 2.22 KB
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
# This file is part of LS² - the Localization Simulation Engine of FU Berlin.
#
# Copyright 2011-2013 Heiko Will, Marcel Kyas, Thomas Hillebrandt,
# Stefan Adler, Malte Rohde, Jonathan Gunthermann
#
# LS² is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# LS² is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LS². If not, see <http://www.gnu.org/licenses/>.
#
Name: ls2
Version: @VERSION@
Release: 1%{?dist}
Summary: Estimate spacial distribution of location estimation erros.
License: GPLv3+
URL: http://www.inf.fu-berlin.de/groups/ag-tech/projects/ls2/index.html
Source0: http://www.inf.fu-berlin.de/groups/ag-tech/projects/ls2/ls2-%{version}.tar.gz
BuildRequires: gcc >= 4.6.0
BuildRequires: cairo-devel >= 1.8
BuildRequires: OpenEXR-devel >= 1.6
BuildRequires: gsl-devel >= 1.13
BuildRequires: hdf5-devel >= 1.8
Requires: %{name}-libs = %{version}-%{release}
%description
LS2 estimates the spacial distribution of location estimation errors by
simulation.
%package devel
Summary: Header files for LS2
Requires: %{name}-libs = %{version}-%{release}
%description devel
Development files for LS2
%package libs
Summary: Libraries of LS2
%description libs
Libraries for LS2
%post libs
/sbin/ldconfig
%postun libs
/sbin/ldconfig
%package static
Summary: Static libraries for LS2
%description static
Static libraries for LS2
%prep
%setup -q
%build
CFLAGS="${CFLAGS:-%optflags} -msse4.1" ; export CFLAGS
%configure --enable-static
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libls2*.la
%files
%doc README COPYING ChangeLog
%{_bindir}/*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%files libs
%{_libdir}/*.so.*
%files static
%{_libdir}/*.a
%changelog