-
Notifications
You must be signed in to change notification settings - Fork 0
/
smartmet-library-imagine2.spec
409 lines (291 loc) · 13.8 KB
/
smartmet-library-imagine2.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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
%define DIRNAME imagine2
%define LIBNAME smartmet-%{DIRNAME}
%define SPECNAME smartmet-library-%{DIRNAME}
%define DEVELNAME %{SPECNAME}-devel
Summary: imagine2 library
Name: %{SPECNAME}
Version: 24.8.7
Release: 1%{?dist}.fmi
License: MIT
Group: Development/Libraries
URL: https://github.com/fmidev/smartmet-library-imagine
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
%define smartmet_fmt_min 11.0.0
%define smartmet_fmt_max 12.0.0
BuildRequires: %{smartmet_boost}-devel
BuildRequires: cairomm-devel
BuildRequires: freetype-devel
BuildRequires: gcc-c++
BuildRequires: gdal38-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: make
BuildRequires: rpm-build
BuildRequires: fmt-devel >= %{smartmet_fmt_min}, fmt-devel < %{smartmet_fmt_max}
BuildRequires: smartmet-library-newbase-devel >= 24.8.7
BuildRequires: smartmet-library-macgyver-devel >= 24.8.7
BuildRequires: smartmet-library-gis-devel >= 24.8.7
BuildRequires: zlib-devel
Requires: smartmet-library-newbase >= 24.8.7
Requires: cairomm
Requires: freetype
Requires: gdal38-libs
Requires: libjpeg
Requires: libpng
Requires: zlib
Requires: fmt-libs >= %{smartmet_fmt_min}, fmt-libs < %{smartmet_fmt_max}
#TestRequires: cairomm-devel
#TestRequires: %{smartmet_boost}-devel
#TestRequires: bzip2-libs
#TestRequires: freetype-devel
#TestRequires: gcc-c++
#TestRequires: libjpeg
#TestRequires: libpng
#TestRequires: make
#TestRequires: smartmet-library-newbase-devel >= 24.8.7
#TestRequires: smartmet-library-regression
#TestRequires: smartmet-library-macgyver-devel >= 24.8.7
#TestRequires: smartmet-library-gis-devel >= 24.8.7
#TestRequires: zlib
Provides: %{LIBNAME}
Obsoletes: libsmartmet-imagine2 < 17.1.4
Obsoletes: libsmartmet-imagine2-debuginfo < 17.1.4
%description
FMI imagine2 rendering library
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{SPECNAME}
%build
make %{_smp_mflags}
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0775)
%{_libdir}/lib%{LIBNAME}.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%package -n %{DEVELNAME}
Summary: FMI %{DIRNAME} development files
Provides: %{DEVELNAME}
Obsoletes: libsmartmet-imagine2-devel < 17.1.4
%description -n %{DEVELNAME}
FMI %{DIRNAME} development files
%files -n %{DEVELNAME}
%defattr(0664,root,root,-)
%{_includedir}/smartmet/%{DIRNAME}/*.h
%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
* Wed Jul 17 2024 Andris Pavēnis <[email protected]> 24.7.17-1.fmi
- Do not link with libboost_filesystem
* Fri Jul 12 2024 Andris Pavēnis <[email protected]> 24.7.12-1.fmi
- Replace many boost library types with C++ standard library ones
* Wed Jul 3 2024 Andris Pavēnis <[email protected]> 24.7.3-1.fmi
- Fix missing break statement
* 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
* 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
* Fri Jun 17 2022 Andris Pavēnis <[email protected]> 22.6.17-1.fmi
- Add support for RHEL9. Update 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 newbase ABI change to LatLon methods
* Wed May 18 2022 Mika Heiskanen <[email protected]> - 22.5.18-1.fmi
- Removed obsolete #ifdef WGS84 segments
* 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
* Tue Dec 7 2021 Andris Pavēnis <[email protected]> 21.12.7-1.fmi
- Update to postgresql 13 and gdal 3.3
* Thu May 6 2021 Mika Heiskanen <[email protected]> - 21.5.6-1.fmi
- Repackaged due to NFmiAzimuthalArea ABI changes
* Tue Mar 30 2021 Mika Heiskanen <[email protected]> - 21.3.30-1.fmi
- Handle colour "none" properly in ImagineXr::Erase
* Thu Feb 18 2021 Mika Heiskanen <[email protected]> - 21.2.18-1.fmi
- Repackaged due to NFmiArea ABI changes
* Tue Feb 16 2021 Andris Pavēnis <[email protected]> - 21.2.16-1.fmi
- Repackaged due to newbase ABI changes
* Mon Feb 15 2021 Mika Heiskanen <[email protected]> - 21.2.15-1.fmi
- Merged WGS84 branch
* 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
* Fri Sep 11 2020 Mika Heiskanen <[email protected]> - 20.9.11-1.fmi
- Removed obsolete FMI_DLL export declarations
* Thu Aug 27 2020 Mika Heiskanen <[email protected]> - 20.8.27-1.fmi
- NFmiGrid API changed
* Wed Aug 26 2020 Mika Heiskanen <[email protected]> - 20.8.26-1.fmi
- Numerous newbase API changes
* Tue Aug 25 2020 Mika Heiskanen <[email protected]> - 20.8.25-1.fmi
- Repackaged due to NFmiGrid API changes
* Fri Aug 21 2020 Mika Heiskanen <[email protected]> - 20.8.21-1.fmi
- Upgrade to fmt 6.2
* Wed Jul 1 2020 Mika Heiskanen <[email protected]> - 20.7.1-1.fmi
- Repackaged
* Sun Jun 14 2020 Mika Heiskanen <[email protected]> - 20.6.14-1.fmi
- Separated from imagine for CircleCI
* Fri Apr 24 2020 Mika Heiskanen <[email protected]> - 20.4.24-1.fmi
- Repackaged
* Sat Apr 18 2020 Mika Heiskanen <[email protected]> - 20.4.18-1.fmi
- Upgrade to Boost 1.69
* Wed Apr 1 2020 Mika Heiskanen <[email protected]> - 20.4.1-1.fmi
- Use NFmiCoordinateMatrix instead of NFmiDataMatrix<NFmiPoint>
* Thu Mar 26 2020 Mika Heiskanen <[email protected]> - 20.3.26-1.fmi
- Repackaged due to NFmiArea API changes
* Wed Feb 12 2020 Mika Heiskanen <[email protected]> - 20.2.12-1.fmi
- Ported to use GDAL 3.0
* Thu Feb 6 2020 Mika Heiskanen <[email protected]> - 20.2.6-1.fmi
- NFmiPoint Z-coordinate was removed from the ABI
* Fri Dec 13 2019 Mika Heiskanen <[email protected]> - 19.12.13-1.fmi
- Repackaged due to NFmiArea API changes
* Wed Dec 4 2019 Mika Heiskanen <[email protected]> - 19.12.4-1.fmi
- Use -fno-omit-frame-pointer for a better profiling and debugging experience
* 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 newbase
* Thu Jul 26 2018 Mika Heiskanen <[email protected]> - 18.7.26-1.fmi
- Prefer nullptr over NULL
* Sat Apr 7 2018 Mika Heiskanen <[email protected]> - 18.4.7-1.fmi
- Upgrade to boost 1.66
* Mon Aug 28 2017 Mika Heiskanen <[email protected]> - 17.8.28-1.fmi
- Upgraded to boost 1.65
* Fri Feb 10 2017 Mika Heiskanen <[email protected]> - 17.2.10-1.fmi
- newbase API change forced recompile
* Wed Jan 4 2017 Mika Heiskanen <[email protected]> - 17.1.4-1.fmi
- Switched to FMI open source naming conventions
* Thu Oct 27 2016 Mika Heiskanen <[email protected]> - 16.10.27-1.fmi
- Added more tolerance to Pacific view guessing
* 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 Mika Heiskanen <[email protected]> - 15.3.30-1.fmi
- Switched to dynamic linkage
* Fri Feb 6 2015 Mika Heiskanen <[email protected]> - 15.2.6-1.fmi
- Recompiled with the latest newbase
* Thu Sep 25 2014 Mika Heiskanen <[email protected]> - 14.9.25-1.fmi
- New improved color reduction algorithm
* Wed Nov 27 2013 Mika Heiskanen <[email protected]> - 13.11.27-1.fmi
- Recompiled due to newbase API changes
* Thu Oct 17 2013 Mika Heiskanen <[email protected]> - 13.10.17-1.fmi
- Recompiled due to newbase API changes
* Fri Sep 27 2013 Mika Heiskanen <[email protected]> - 13.9.27-1.fmi
- Added NFmiEsriTools for filtering shapes
- Fixed shapefilter and shapepoints segmentation faults
* Thu Sep 5 2013 Mika Heiskanen <[email protected]> - 13.9.5-1.fmi
- Compiled with the latest newbase
* Fri Aug 2 2013 Mika Heiskanen <[email protected]> - 13.8.2-4.fmi
- Permit very long line segments at the poles, they are really of length zero
* Fri Aug 2 2013 Mika Heiskanen <[email protected]> - 13.8.2-3.fmi
- Fixed a problem with some shapes the have longitudes slightly beyond 180
* Fri Aug 2 2013 Mika Heiskanen <[email protected]> - 13.8.2-2.fmi
- Bug fix to forcing Pacific paths into Atlantic mode
* Fri Aug 2 2013 Mika Heiskanen <[email protected]> - 13.8.2-1.fmi
- Added code to enable Pacific views of data
- Added contouring of automatically detected global data with wrap-around at the edges
* Wed Jul 3 2013 Mika Heiskanen <[email protected]> - 13.7.3-1.fmi
- Update to boost 1.54
* Thu Mar 21 2013 Mika Heiskanen <[email protected]> - 13.3.21-1.fmi
- Replaced auto_ptr with shared_ptr
* Wed Nov 7 2012 Mika Heiskanen <[email protected]> - 12.11.7-1.fmi
- Upgrade to boost 1.52
* Fri Jul 6 2012 Mika Heiskanen <[email protected]> - 12.7.6-1.el6.fmi
- Fixed all issues reported by cppcheck
* Thu Jul 5 2012 Mika Heiskanen <[email protected]> - 12.7.5-1.el6.fmi
- Migration to boost 1.50
* Sat Mar 31 2012 mheiskan <[email protected]> - 12.3.31-1.el5.fmi
- RHEL5 specific release with latest newbase math functions
* Wed Mar 28 2012 mheiskan <[email protected]> - 12.3.28-1.el6.fmi
- Upgrade to boost 1.49
* Mon Feb 27 2012 mheiskan <[email protected]> - 12.2.27-1.el6.fmi
- Upgraded newbase
* Mon Oct 17 2011 mheiskan <[email protected]> - 11.10.17-1.el5.fmi
- Upgrade to newbase 11.10.17
* Wed Jul 20 2011 mheiskan <[email protected]> - 11.7.20-1.el5.fmi
- Upgrade to boost 1.47
* Tue May 31 2011 mheiskan <[email protected]> - 11.5.31-1.el5.fmi
- Major newbase upgrade
* Fri May 20 2011 mheiskan <[email protected]> - 11.5.20-1.el6.fmi
- Upgrade to RHEL6
* Thu Mar 24 2011 mheiskan <[email protected]> - 11.3.24-1.el5.fmi
- Upgrade to boost 1.46
* Thu Feb 3 2011 mheiskan <[email protected]> - 11.2.3-1.el5.fmi
- Upgraded to latest newbase
* Tue Sep 14 2010 mheiskan <[email protected]> - 10.9.14-1.el5.fmi
- Upgraded to boost 1.44 and newbase 10.9.14-1
* Wed Jul 7 2010 mheiskan <[email protected]> - 10.7.5-1.el5.fmi
- Upgraded to newbase 10.7.5-1
* Fri Jan 15 2010 mheiskan <[email protected]> - 10.1.15-1.el5.fmi
- Upgraded to boost 1.41
* Tue Jan 5 2010 mheiskan <[email protected]> - 10.1.5-1.el5.fmi
- Fixed TrueType font rendering
* Tue Jul 14 2009 mheiskan <[email protected]> - 9.4.17-1.el5.fmi
- Recompiled with boost 1.39
* Mon Apr 6 2009 mheiskan <[email protected]> - 9.4.6-1.el5.fmi
- Recompiled due to newbase and WIN32 changes
* Wed Mar 18 2009 mheiskan <[email protected]> - 9.3.18-1.el5.fmi
- Recompiled due to newbase API changes
* Wed Nov 12 2008 pkeranen <[email protected]> - 8.11.12-1.el5.fmi
- More improved shapefile support
* Mon Nov 10 2008 pkeranen <[email protected]> - 8.11.10-1.el5.fmi
- Improved shapefile support
* Mon Sep 29 2008 mheiskan <[email protected]> - 8.9.29-1.el5.fmi
- Newbase header change forced recompile
* Mon Sep 22 2008 mheiskan <[email protected]> - 8.9.22-3.el5.fmi
- Restored jpeg support to be on by default
* Mon Sep 22 2008 mheiskan <[email protected]> - 8.9.22-2.el5.fmi
- Fixed typedef when Cairo is not in use
* Mon Sep 22 2008 mheiskan <[email protected]> - 8.9.22-1.el5.fmi
- Updates from Asko and compiled with static boost 1.36
* Mon Sep 15 2008 mheiskan <[email protected]> - 8.9.15-1.el5.fmi
- Compiled with boost 1.36 and latest newbase
* Tue Jul 15 2008 mheiskan <[email protected]> - 8.7.15-1.el5.fmi
- Linked with newest newbase
* Mon May 19 2008 mheiskan <[email protected]> - 8.5.19-1.el5.fmi
- Added partial support for line width in stroking paths
* Tue Apr 15 2008 mheiskan <[email protected]> - 8.4.15-1.el5.fmi
- Linked with newbase 8.4.15-2 with Asko's mmap technology
* Tue Mar 11 2008 mheiskan <[email protected]> - 8.3.11-1.el5.fmi
- Linked with newbase 8.3.11-1 with wind interpolation fixes
* Wed Jan 30 2008 mheiskan <[email protected]> - 8.1.30-1.el5.fmi
- Linked with newbase 8.1.25-1 for getting new parameter names
* Thu Dec 27 2007 mheiskan <[email protected]> - 1.0.7-1.el5.fmi
- Linked with newbase 1-0.7 with wind direction bugfixes
* Wed Dec 19 2007 mheiskan <[email protected]> - 1.0.6-1.el5.fmi
- API fixes
* Fri Dec 14 2007 mheiskan <[email protected]> - 1.0.5-1.el5.fmi
- Added new GetType method to NFmiEsriElement
* Fri Nov 30 2007 mheiskan <[email protected]> - 1.0.4-1.el5.fmi
- Linked with newbase 1.0.5-1
* Mon Nov 19 2007 mheiskan <[email protected]> - 1.0.3-1.el5.fmi
- Linked with newbase 1.0.4-1
* Thu Nov 15 2007 mheiskan <[email protected]> - 1.0.2-1.el5.fmi
- Linked with newbase 1.0.3-1
- Fixed regression test build system
* Mon Sep 24 2007 mheiskan <[email protected]> - 1.0.1-4.el5.fmi
- Fixed "make depend".
* Fri Sep 14 2007 mheiskan <[email protected]> - 1.0.1-3.el5.fmi
- Added "make tag" feature.
* Thu Sep 13 2007 mheiskan <[email protected]> - 1.0.1-2.el5.fmi
- Improved make system.
* Thu Jun 7 2007 tervo <[email protected]> -
- Initial build.