-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmartmet-library-timeseries.spec
258 lines (187 loc) · 9.6 KB
/
smartmet-library-timeseries.spec
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
%define DIRNAME timeseries
%define LIBNAME smartmet-timeseries
%define SPECNAME smartmet-library-%{DIRNAME}
Summary: SmartMet Timeseries classes
Name: %{SPECNAME}
Version: 25.1.15
Release: 1%{?dist}.fmi
License: MIT
Group: BrainStorm/Development
URL: https://github.com/fmidev/smartmet-library-timeseries
Source0: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?rhel} && 0%{rhel} < 9
%define smartmet_boost boost169
%else
%define smartmet_boost boost
%endif
BuildRequires: %{smartmet_boost}-devel
BuildRequires: gcc-c++
BuildRequires: imake
BuildRequires: make
BuildRequires: rpm-build
BuildRequires: smartmet-utils-devel >= 24.9.10
BuildRequires: smartmet-library-macgyver-devel >= 24.12.4
BuildRequires: smartmet-library-newbase-devel >= 24.12.3
BuildRequires: smartmet-library-spine-devel >= 24.11.27
%if %{with tests}
BuildRequires: smartmet-library-regression
%endif
Requires: %{smartmet_boost}-system
Requires: %{smartmet_boost}-thread
Requires: smartmet-library-spine >= 24.11.27
Requires: ctpp2
#TestRequires: %{smartmet_boost}-devel
#TestRequires: gcc-c++
#TestRequires: make
#TestRequires: smartmet-library-regression
#TestRequires: smartmet-utils-devel
#TestRequires: smartmet-library-spine-devel
#TestRequires: smartmet-timezones
Provides: %{SPECNAME}
%description
FMI BrainStorm Timeseries Library
%package -n %{SPECNAME}-devel
Summary: SmartMet Timeseries development files
Group: SmartMet/Development
Requires: %{smartmet_boost}-devel
Requires: smartmet-library-macgyver-devel >= 24.12.4
Requires: smartmet-library-newbase-devel >= 24.12.3
Requires: smartmet-library-spine-devel >= 24.11.27
Requires: %{SPECNAME} = %{version}-%{release}
%description -n %{SPECNAME}-devel
SmartMet Timeseries development files
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{SPECNAME}
%build
make %{_smp_mflags}
%install
%makeinstall
%clean
# rm -rf $RPM_BUILD_ROOT
%files
%defattr(0755,root,root,0755)
%{_libdir}/lib%{LIBNAME}.so
%files -n %{SPECNAME}-devel
%defattr(0644,root,root,0755)
%{_includedir}/smartmet/%{DIRNAME}
%changelog
* Wed Jan 15 2025 Andris Pavēnis <[email protected]> 25.1.15-1.fmi
- LocationParameters: return geoid as such fithout formatting
* Tue Jan 14 2025 Andris Pavēnis <[email protected]> 25.1.14-1.fmi
- TimeParameters: fix origintime formating
* Wed Dec 11 2024 Andris Pavēnis <[email protected]> 24.12.11-1.fmi
- TimeParameters: fix handling origintime parameter
* Thu Dec 5 2024 Andris Pavēnis <[email protected]> 24.12.5-1.fmi
- Reimplement special parameter support
* Tue Dec 3 2024 Mika Heiskanen <[email protected]> - 24.12.3-1.fmi
- Fix empty fetches not to throw
* Thu Nov 28 2024 Andris Pavēnis <[email protected]> 24.11.28-1.fmi
- Fix location parameter handling
* Wed Nov 27 2024 Andris Pavēnis <[email protected]> 24.11.27-1.fmi
- Special parameter handling update
* Fri Nov 22 2024 Andris Pavēnis <[email protected]> 24.11.22-1.fmi
- Update TimeSeries and TimeSeriesGroup aggregation
* Fri Nov 8 2024 Andris Pavēnis <[email protected]> 24.11.8-1.fmi
- Repackage due to Table ABI changes. Also small error reporting improvements
* Tue Oct 15 2024 Mika Heiskanen <[email protected]> - 24.10.15-1.fmi
- Removed landscape parameter handling as obsolete
* Wed Oct 2 2024 Mika Heiskanen <[email protected]> - 24.10.2-1.fmi
- Added missing comma
* Tue Oct 1 2024 Mika Heiskanen <[email protected]> - 24.10.1-1.fmi
- Added circlemean (https://en.wikipedia.org/wiki/Circular_mean)
* Wed Aug 7 2024 Andris Pavēnis <[email protected]> 24.8.7-1.fmi
- Update to gdal-3.8, geos-3.12, proj-94 and fmt-11
* Mon Jul 22 2024 Andris Pavēnis <[email protected]> 24.7.22-1.fmi
- Replace BOOST_FOREACH and boost::array
* Mon Jul 15 2024 Andris Pavēnis <[email protected]> 24.7.15-1.fmi
- Value: add methods for getting int and double (with supported conversions)
* Fri Jul 12 2024 Andris Pavēnis <[email protected]> 24.7.12-1.fmi
- Replace many boost library types with C++ standard library ones
* Mon Jun 10 2024 Mika Heiskanen <[email protected]> - 24.6.10-1.fmi
- Fixed percentage function to check if the divisor is zero
* Tue May 28 2024 Andris Pavēnis <[email protected]> 24.5.28-1.fmi
- Remove LocalTimePool
* Tue May 21 2024 Mika Heiskanen <[email protected]> - 24.5.21-1.fmi
- Fixed WSI, WMO and RWSID to be location type parameters
* Mon May 6 2024 Andris Pavēnis <[email protected]> 24.5.6-1.fmi
- Use Date library (https://github.com/HowardHinnant/date) instead of boost date_time
* Fri Apr 5 2024 Mika Heiskanen <[email protected]> - 24.4.5-1.fmi
- Added support for WIGOS wsi
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> - 24.2.23-3.fmi
- Revert: TimeSeries class inherits publicly from std::vector which forces implementing a strange emplace_back method
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> - 24.2.23-2.fmi
- Fixed push_back not to use emplace_back
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> - 24.2.23-1.fmi
- Full repackaging
* Tue Feb 20 2024 Mika Heiskanen <[email protected]> - 24.2.20-1.fmi
- Fixed misleadingly named emplace_back to push_back (BRAINSTORM-2861)
* Tue Jan 30 2024 Mika Heiskanen <[email protected]> 24.1.30-1.fmi
- Repackaged due to newbase ABI changes
* Fri Jan 26 2024 Mika Heiskanen <[email protected]> - 24.1.26-1.fmi
- Added station metadata related parameters to list of location independent parameters
* Thu Jan 4 2024 Mika Heiskanen <[email protected]> - 24.1.4-1.fmi
- Added option 'day' for timeseries generation (BRAINSTORM-2826)
* Tue Nov 21 2023 Mika Heiskanen <[email protected]> - 23.11.21-1.fmi
- Fixed the "sdev" to return sample standard deviation instead of population standard deviation
* Thu Nov 16 2023 Mika Heiskanen <[email protected]> - 23.11.16-1.fmi
- Added maxradius request limit
* Mon Oct 30 2023 Anssi Reponen <[email protected]> - 23.10.30-1.fmi
- Added stationtype in list of special parameters (BRAINSTORM-2756)
* Fri Oct 20 2023 Anssi Reponen <[email protected]> - 23.10.20-1.fmi
- Added amean_t function (BRAINSTORM-2575)
* Wed Oct 11 2023 Anssi Reponen <[email protected]> - 23.10.11-2.fmi
- Moved aggregation related functions here from timeseries/edr plugin (BRAINSTORM-2457)
* Wed Oct 11 2023 Mika Heiskanen <[email protected]> - 23.10.11-1.fmi
- Loosen the required syntax for defining a parameter alias by allowing ")as name"
* Thu Oct 5 2023 Anssi Reponen <[email protected]> - 23.10.5-1.fmi
- Fixed parameter name parsing bug (BRAINSTORM-2743)
* Mon Sep 18 2023 Mika Heiskanen <[email protected]> - 23.9.18-1.fmi
- Refactored code for simplicity
* Tue Sep 12 2023 Anssi Reponen <[email protected]> - 23.9.12-1.fmi
- Refactored the code (BRAINSTORM-2694)
* Fri Jul 28 2023 Andris Pavēnis <[email protected]> 23.7.28-1.fmi
- Repackage due to bulk ABI changes in macgyver/newbase/spine
* Mon Jul 10 2023 Andris Pavēnis <[email protected]> 23.7.10-1.fmi
- Use postgresql 15, gdal 3.5, geos 3.11 and proj-9.0
* Thu Jun 15 2023 Mika Heiskanen <[email protected]> - 23.6.15-1.fmi
- Changed status of station_elevation so that is read from observation metadata instead of the geonames database
* Wed Mar 15 2023 Mika Heiskanen <[email protected]> - 23.3.15-1.fmi
- Added interpolatedir_t, meandir_t and stddevdir_t
* Tue Mar 14 2023 Anssi Reponen <[email protected]> - 23.3.14-1.fmi
- Added new metaparameters: CloudCeiling,CloudCeilingFT,CloudCeilingHFT (BRAINSTORM-2556)
* Thu Feb 16 2023 Anssi Reponen <[email protected]> - 23.2.16-1.fmi
- Added utility function to print out TimeSeries::OutputData data structure
* Tue Jan 31 2023 Anssi Reponen <[email protected]> - 23.1.31-1.fmi
- Fixed aggregation function parsing bug (BRAINSTORM-2529)
* Thu Jan 26 2023 Anssi Reponen <[email protected]> - 23.1.26-1.fmi
- Added support for request size limits (BRAINSTORM-2443)
* Tue Oct 25 2022 Mika Heiskanen <[email protected]> - 22.10.25-1.fmi
- Fixed parameter name comparisons to use lower case
* Tue Oct 18 2022 Anssi Reponen <[email protected]> - 22.10.18-1.fmi
- Fixed parameter name mapping bug (BRAINSTORM-2433)
* Wed Oct 12 2022 Mika Heiskanen <[email protected]> - 22.10.12-1.fmi
- Return the original timezone name for 'tz' instead of the Boost 'standard name' which is +0545 for Asia/Kathmandu
* Mon Oct 10 2022 Mika Heiskanen <[email protected]> - 22.10.10-1.fmi
- Improved keyword listing
* Wed Oct 5 2022 Anssi Reponen <[email protected]> - 22.10.5-1.fmi
- Fixed tz-parameter return value (BRAINSTORM-2420)
* Tue Oct 4 2022 Mika Heiskanen <[email protected]> - 22.10.4-1.fmi
- Use TimeFormatter for sunrise etc parameters
* Fri Sep 9 2022 Mika Heiskanen <[email protected]> - 22.9.9-1.fmi
- Silenced several compiler warnings, some on unnecessary copying
* Wed Jul 27 2022 Mika Heiskanen <[email protected]> - 22.7.27-1.fmi
- Repackaged since macgyver CacheStats ABI changed
* Thu Jun 16 2022 Andris Pavēnis <[email protected]> 22.6.16-1.fmi
- Add support of HEL9, upgrade to libpqxx-7.7.0 (rhel8+) and fmt-8.1.1
* Tue May 24 2022 Mika Heiskanen <[email protected]> - 22.5.24-1.fmi
- Repackaged due to NFmiArea ABI changes
* Fri May 20 2022 Mika Heiskanen <[email protected]> - 22.5.20-1.fmi
- Repackaged due to newbase ABI changes to LatLon methods
* Fri Mar 18 2022 Andris Pavēnis <[email protected]> 22.3.18-1.fmi
- Import more code from smartmet-library-spine and require spine to be installed
* Thu Mar 10 2022 Mika Heiskanen <[email protected]> - 22.3.10-1.fmi
- Removed incorrect dependencies
* Tue Mar 8 2022 Anssi Reponen <[email protected]> - 22.3.8-1.fmi
- Timeseries library created (BRAINSTORM-2259)