-
Notifications
You must be signed in to change notification settings - Fork 0
/
smartmet-textgenapps.spec
393 lines (285 loc) · 13.8 KB
/
smartmet-textgenapps.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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
%define BINNAME textgenapps
%define RPMNAME smartmet-%{BINNAME}
Summary: Weather text generator binary
Name: %{RPMNAME}
Version: 24.8.7
Release: 1%{?dist}.fmi
License: FMI
Group: Development/Tools
URL: https://github.com/fmidev/smartmet-textgenapps
Source0: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
%if 0%{?rhel} && 0%{rhel} < 9
%define smartmet_boost boost169
%else
%define smartmet_boost boost
%endif
%define smartmet_fmt_min 11.0.0
%define smartmet_fmt_max 12.0.0
BuildRequires: %{smartmet_boost}-devel
BuildRequires: fmt-devel >= %{smartmet_fmt_min}, fmt-devel < %{smartmet_fmt_max}
BuildRequires: gcc-c++
BuildRequires: gdal38-devel
BuildRequires: make
BuildRequires: mysql++-devel
BuildRequires: rpm-build
BuildRequires: smartmet-library-calculator-devel >= 24.8.7
BuildRequires: smartmet-library-newbase-devel >= 24.8.7
BuildRequires: smartmet-library-textgen-devel >= 24.8.7
BuildRequires: smartmet-library-macgyver-devel >= 24.8.7
BuildRequires: zlib-devel
Requires: %{smartmet_boost}-iostreams
Requires: %{smartmet_boost}-locale
Requires: %{smartmet_boost}-system
Requires: fmt-libs >= %{smartmet_fmt_min}, fmt-libs < %{smartmet_fmt_max}
Requires: gdal38-libs
Requires: glibc
Requires: libgcc
Requires: libjpeg
Requires: libpng
Requires: libstdc++
Requires: mysql++
Requires: smartmet-library-calculator >= 24.8.7
Requires: smartmet-library-macgyver >= 24.8.7
Requires: smartmet-library-newbase >= 24.8.7
Requires: smartmet-library-textgen >= 24.8.7
Requires: zlib
%if 0%{rhel} >= 8
BuildRequires: mariadb-devel
%else
BuildRequires: mysql-devel
Requires: mysql
%endif
Provides: qdtext
#TestRequires: smartmet-timezones
#TestRequires: smartmet-library-macgyver-devel >= 24.8.7
#TestRequires: smartmet-library-newbase-devel >= 24.8.7
#TestRequires: gcc-c++
%description
Weather Text Generator
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{RPMNAME}
%build
make %{_smp_mflags}
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0775,root,root,0775)
%{_bindir}/qdtext
%changelog
* 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
* 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 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 Mar 8 2024 Mika Heiskanen <[email protected]> - 24.3.8-1.fmi
- Added filenamepattern command for substituting ${AREA} in the filename with the actual area name
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> 24.2.23-1.fmi
- Full repackaging
* Tue Jan 30 2024 Mika Heiskanen <[email protected]> 24.1.30-1.fmi
- Repackaged due to newbase ABI changes
* Fri Jul 28 2023 Andris Pavēnis <[email protected]> 23.7.28-1.fmi
- Repackage due to bulk ABI changes in macgyver/newbase/spine
* Wed Jul 12 2023 Andris Pavēnis <[email protected]> 23.7.12-1.fmi
- Use postgresql 15, gdal 3.5, geos 3.11 and proj-9.0
* Mon Jun 20 2022 Andris Pavēnis <[email protected]> 22.6.20-1.fmi
- Add support for RHEL9, upgrade libpqxx to 7.7.0 (rhel8+) and fmt to 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 ABI changes to newbase LatLon methods
* Fri Jan 21 2022 Andris Pavēnis <[email protected]> 22.1.21-1.fmi
- Repackage due to upgrade of packages from PGDG repo: gdal-3.4, geos-3.10, proj-8.2
* Fri Dec 17 2021 Mika Heiskanen <[email protected]> - 21.12.17-1.fmi
- Repackaged since textgen library ABI changed
* Tue Dec 7 2021 Andris Pavēnis <[email protected]> 21.12.7-1.fmi
- Update to postgresql 13 and gdal 3.3
* Thu Oct 28 2021 Pertti Kinnia <[email protected]> - upcoming
- Added test dependency for smartmet-library-newbase-devel
* Wed Oct 6 2021 Mika Heiskanen <[email protected]> - 21.10.6-1.fmi
- Repackaged due to API changes in calculator & textgen libraries
* Wed Sep 15 2021 Anssi Reponen <[email protected]> - 21.9.15-1.fmi
- Support for PostgreSQL dictionary database added (BRAINSTORM-1707)
* Thu May 6 2021 Mika Heiskanen <[email protected]> - 21.5.6-1.fmi
- Repackaged due to ABI changes in NFmiAzimuthalArea
* Mon Feb 22 2021 Mika Heiskanen <[email protected]> - 21.2.22-1.fmi
- Repackaged due to newbase ABI changes
* Mon Jan 25 2021 Andris Pavenis <[email protected]> - 21.1.25-1.fmi
- Build update:use makefile.inc
* Thu Jan 14 2021 Mika Heiskanen <[email protected]> - 21.1.14-1.fmi
- Repackaged smartmet to resolve debuginfo issues
* Tue Dec 15 2020 Mika Heiskanen <[email protected]> - 20.12.15-1.fmi
- Upgrade to pgdg12
* Wed Oct 28 2020 Mika Heiskanen <[email protected]> - 20.10.28-1.fmi
- Upgrade to fmt 7.1
* Fri Aug 21 2020 Mika Heiskanen <[email protected]> - 20.8.21-1.fmi
- Upgrade to fmt 6.2
* Sat Apr 18 2020 Mika Heiskanen <[email protected]> - 20.4.18-1.fmi
- Upgraded to Boost 1.69
* Wed Dec 4 2019 Mika Heiskanen <[email protected]> - 19.12.4-1.fmi
- Fixed dependency to be on gdal-libs instead of gdal
- Use -fno-omit-frame-pointer for a better profiling and debugging experience
* Tue Dec 3 2019 Anssi Reponen <anssi.reponen> - 19.12.3-1.fmi
- Test cases updated (BRAINSTORM-1727)
* Wed Nov 20 2019 Mika Heiskanen <[email protected]> - 19.11.20-1.fmi
- Repackaged due to newbase API changes
* Thu Oct 31 2019 Mika Heiskanen <[email protected]> - 19.10.31-1.fmi
- Rebuilt due to newbase API/ABI changes
* Fri Sep 27 2019 Mika Heiskanen <[email protected]> - 19.9.27-1.fmi
- Repackaged due to ABI changes in SmartMet libraries
* Mon Sep 2 2019 Mika Heiskanen <[email protected]> - 19.9.2-1.fmi
- Repackaged since TextGen::Dictionary ABI changed
* Thu Aug 1 2019 Mika Heiskanen <[email protected]> - 19.8.1-1.fmi
- Filenames can now contain time formatting directives
* Sun Sep 16 2018 Mika Heiskanen <[email protected]> - 18.9.16-1.fmi
- Repackaged since calculator library API changed
* Thu Sep 13 2018 Mika Heiskanen <[email protected]> - 18.9.13-1.fmi
- Updated since MessageLogger changed
* Mon Aug 20 2018 Mika Heiskanen <[email protected]> - 18.8.20-1.fmi
- Avoid unnecessary string temporaries as instructed by clang-tidy
* Sun Aug 19 2018 Mika Heiskanen <[email protected]> - 18.8.19-1.fmi
- Silenced more CodeChecker warnings
* Wed Aug 8 2018 Mika Heiskanen <[email protected]> - 18.8.8-1.fmi
- Silenced CodeChecker warnings
* Sat Apr 7 2018 Mika Heiskanen <[email protected]> - 18.4.7-1.fmi
- Upgrade to boost 1.66
* Tue Sep 12 2017 Mika Heiskanen <[email protected]> - 17.9.12-1.fmi
- Repackaged due to textgen library ABI change when auto_ptr was replaced by unique_ptr
* Mon Aug 28 2017 Mika Heiskanen <[email protected]> - 17.8.28-1.fmi
- Upgrade to boost 1.65
* Tue Mar 14 2017 Mika Heiskanen <[email protected]> - 17.3.14-1.fmi
- Recompiled with latest newbase, macgyver and textgen
* Mon Feb 13 2017 Mika Heiskanen <[email protected]> - 17.2.13-1.fmi
- Repackaged due to newbase API change
* Thu Jan 12 2017 Mika Heiskanen <[email protected]> - 17.1.12-1.fmi
- Moved qdarea to qdtools
- Switched to FMI open source naming conventions
* Wed Jan 11 2017 Anssi Reponen <[email protected]> - 17.1.11-1.fmi
- typo corrected
* Wed Sep 14 2016 Anssi Reponen <[email protected]> - 16.9.14-1.fmi
- Version string written in log file
* Sat Jan 23 2016 Mika Heiskanen <[email protected]> - 16.1.23-1.fmi
- Added optional output encoding
* Sun Jan 17 2016 Mika Heiskanen <[email protected]> - 16.1.17-1.fmi
- newbase API changed
* Wed Apr 15 2015 Mika Heiskanen <[email protected]> - 15.4.15-1.fmi
- newbase API changed
* Thu Apr 9 2015 Mika Heiskanen <[email protected]> - 15.4.9-1.fmi
- newbase API changed
* Mon Mar 30 2015 <[email protected]> - 15.3.30-1.fmi
- Use dynamic linking of smartmet libraries
* Fri Oct 3 2014 Mika Heiskanen <[email protected]> - 14.10.3-1.fmi
- textgen::coordinates is now by default '/smartmet/share/coordinates/default.txt'
* Tue Sep 16 2014 Mika Heiskanen <[email protected]> - 14.9.16-1.fmi
- qdarea::timezone is now by default 'local'
- qdarea::coordinates file is now by default '/smartmet/share/coordinates/default.txt'
* Mon Jun 2 2014 Mika Heiskanen <[email protected]> - 14.6.2-1.fmi
- Recompiled to get the dependencies correct
* Thu May 8 2014 Mika Heiskanen <[email protected]> - 14.5.8-1.fmi
- Removed HDF5 dependency
* Tue Dec 17 2013 Mika Heiskanen <[email protected]> - 13.12.17-1.fmi
- Fixed a bug in handling aggregation for specific coordinates
* Fri Nov 30 2012 Mika Heiskanen <[email protected]> - 12.11.30-1.fmi
- Latest versions of the weather stories into use
* Wed Nov 14 2012 Mika Heiskanen <[email protected]> - 12.11.14-1.fmi
- PostGIS support
- Improved stores
* Tue Aug 28 2012 Mika Heiskanen <[email protected]> - 12.8.28-1.el6.fmi
- Querydata is now memory mapped for speed
* Mon Aug 27 2012 Mika Heiskanen <[email protected]> - 12.8.27-1.el6.fmi
- Improved output features
- Latest textgen features
* Thu Jul 5 2012 Mika Heiskanen <[email protected]> - 12.7.5-1.el6.fmi
- Migration to boost 1.50
* Wed Apr 4 2012 mheiskan <[email protected]> - 12.4.4-1.el6.fmi
- Removed debugging logging from wind_overview
* Thu Mar 29 2012 mheiskan <[email protected]> - 12.3.29-1.el6.fmi
- Improved wave story now handles separately cases where range low value is zero
- Added text-story
* Wed Mar 28 2012 mheiskan <[email protected]> - 12.3.28-1.el6.fmi
- Removed debugging logging from wind_overview
- Added improved UTF-8 handling by using Boost.Locale and libicu
- Fixed UTF-8 capitalization of sentences
- Fixed UTF-8 capitalization of location names
- Added story wave_range
- Added default initialization of global locale
* Tue Mar 27 2012 mheiskan <[email protected]> - 12.3.27-1.el6.fmi
- Improvements to wind_overview
- Improvements to temperature_max36hours
- Improvements to weather_forecast
* Fri Mar 2 2012 mheiskan <[email protected]> - 12.3.2-1.el6.fmi
- Debug text formatter now uses newlines to separate things
* Thu Mar 1 2012 mheiskan <[email protected]> - 12.3.1-3.el6.fmi
- Fixed a typo in a keyword on the wind turning towards the east
* Thu Mar 1 2012 mheiskan <[email protected]> - 12.3.1-2.el6.fmi
- Fixed UTF-8 code of the degree sign
* Thu Mar 1 2012 mheiskan <[email protected]> - 12.3.1-1.el6.fmi
- Improved wind_overview
- Fixes to temperature and weather stories
* Thu Dec 15 2011 mheiskan <[email protected]> - 11.12.15-3.el6.fmi
- A fix to temperature interval clamping
* Thu Dec 15 2011 mheiskan <[email protected]> - 11.12.15-1.el6.fmi
- Latest UTF-8 version
* Thu Nov 3 2011 mheiskan <[email protected]> - 11.11.3-1.el6.fmi
- Bug fix to 0-degrees and 1-degreees phrases
* Wed Nov 2 2011 mheiskan <[email protected]> - 11.11.2-1.el6.fmi
- Bug fixes to smog and frost analysis
- Frost season is now configurable
* Mon Oct 31 2011 mheiskan <[email protected]> - 11.10.31-1.el6.fmi
- New UTF8 version
* Tue Jul 13 2010 mheiskan <[email protected]> - 10.7.13-1.el5.fmi
- -O2 enabled again
* Mon Jul 12 2010 mheiskan <[email protected]> - 10.7.12-1.el5.fmi
- -O2 temporarily disabled in textgen due to segmentation faults
* Mon Jul 5 2010 mheiskan <[email protected]> - 10.7.5-1.el5.fmi
- Upgrade to newbase 10.7.5-2
- New stories by Anssi Reponen into use
* Thu May 20 2010 mheiskan <[email protected]> - 10.5.20-1.el5.fmi
- Released with fixed textgen lib
* Wed Mar 17 2010 mheiskan <[email protected]> - 10.3.17-1.el5.fmi
- Added "-T data"
* Mon Mar 15 2010 mheiskan <[email protected]> - 10.3.15-1.el5.fmi
- New textgen library release with shared_ptr memory leaks removed
* Thu Mar 11 2010 mheiskan <[email protected]> - 10.3.11-1.el5.fmi
- New parameter names
* Fri Jan 15 2010 mheiskan <[email protected]> - 10.1.15-1.el5.fmi
- Upgrade to boost 1.41
* Wed Oct 7 2009 mheiskan <[email protected]> - 9.10.7-1.el5.fmi
- Recompiled with latest textgen
* Wed Sep 9 2009 mheiskan <[email protected]> - 9.9.9-1.el5.fmi
- Linked with new textgen library (preciptation_total_day added)
* Tue May 12 2009 mheiskan <[email protected]> - 9.5.12-1.el5.fmi
- Improved weather_overview
* Mon Mar 16 2009 mheiskan <[email protected]> - 9.3.16-1.el5.fmi
- Recompiled with newbase and textgen
- Added wmax, MaximumWind, HourlyMaximumWindSpeed
* Mon Sep 29 2008 mheiskan <[email protected]> - 8.9.29-1.el5.fmi
- Newbase header changes forced a recompile
* Mon Sep 22 2008 mheiskan <[email protected]> - 8.9.22-2.el5.fmi
- Newbase bugfix forced a recompile
* Mon Sep 22 2008 mheiskan <[email protected]> - 8.9.22-1.el5.fmi
- Linked with static boost 1.36
* Mon Sep 15 2008 mheiskan <[email protected]> - 8.9.15-1.el5.fmi
- Linked with latest newbase to obtain mmap support
* Tue Mar 11 2008 mheiskan <[email protected]> - 8.3.11-1.el5.fmi
- Linked with latest libraries including wind interpolation fixes
* Fri Nov 30 2007 mheiskan <[email protected]> - 1.0.6-1.el5.fmi
- Linked with bugfixed newbase (wind chill)
* Sat Nov 24 2007 mheiskan <[email protected]> - 1.0.5-2.el5.fmi
- Removed mysql runtime dependency
* Fri Nov 23 2007 mheiskan <[email protected]> - 1.0.4-1.el5.fmi
- New textgen release
* Thu Nov 15 2007 mheiskan <[email protected]> - 1.0.3-1.el5.fmi
- New newbase and textgen into use
* Thu Oct 18 2007 mheiskan <[email protected]> - 1.0.2-1.el5.fmi
- New newbase and textgen into use
* Mon Sep 24 2007 mheiskan <[email protected]> - 1.0.1-3.el5.fmi
- Fixed "make depend".
* Fri Sep 14 2007 mheiskan <[email protected]> - 1.0.1-2.el5.fmi
- Improved build system
* Thu Jun 7 2007 tervo <[email protected]> - 1.0.1-1.el5.fmi
- Initial build.