]>
Commit | Line | Data |
---|---|---|
f27f07f5 JB |
1 | # Notes on module subpackages: |
2 | # - order comes from source directories / git module names | |
3 | # - individual module versions (used in Provides/Obsoletes) could be found in $DIR/NEWS files | |
118a05b7 JB |
4 | Summary: OPeNDAP Back End Server software framework |
5 | Summary(pl.UTF-8): Szkielet OPeNDAP Back End Server (serwera backendu OPeNDAP) | |
6 | Name: bes | |
65ffef41 | 7 | Version: 3.17.4 |
693a43d5 | 8 | Release: 2 |
118a05b7 JB |
9 | License: LGPL v2.1+ |
10 | Group: Libraries | |
21f42a5d | 11 | Source0: https://www.opendap.org/pub/source/%{name}-%{version}.tar.gz |
65ffef41 | 12 | # Source0-md5: c8e5ea98fd9f4a2d490b3e61202a59f9 |
63c68927 JB |
13 | Patch0: %{name}-conf.patch |
14 | Patch1: %{name}-configure.patch | |
15 | Patch2: %{name}-link.patch | |
65ffef41 | 16 | Patch3: %{name}-build.patch |
21f42a5d | 17 | URL: https://www.opendap.org/ |
63c68927 | 18 | BuildRequires: autoconf >= 2.63 |
118a05b7 JB |
19 | BuildRequires: automake >= 1:1.10 |
20 | BuildRequires: bison | |
21 | BuildRequires: bzip2-devel | |
22 | %{?with_tests:BuildRequires: cppunit-devel >= 1.12.0} | |
63c68927 | 23 | BuildRequires: cfitsio-devel |
118a05b7 | 24 | BuildRequires: gdal-devel >= 1.10.0 |
63c68927 JB |
25 | BuildRequires: gridfields-devel >= 1.0.5 |
26 | BuildRequires: hdf-devel >= 4 | |
27 | BuildRequires: hdf-eos-devel >= 2 | |
28 | BuildRequires: hdf5-devel | |
29 | BuildRequires: libdap-devel >= 3.17.0 | |
30 | BuildRequires: libicu-devel >= 3.6 | |
118a05b7 JB |
31 | BuildRequires: libstdc++-devel |
32 | BuildRequires: libtool >= 2:1.5 | |
33 | BuildRequires: libwrap-devel | |
63c68927 | 34 | BuildRequires: libuuid-devel |
118a05b7 | 35 | BuildRequires: libxml2-devel >= 1:2.6.16 |
63c68927 | 36 | BuildRequires: openjpeg2-devel >= 2 |
118a05b7 | 37 | BuildRequires: openssl-devel |
63c68927 | 38 | BuildRequires: perl-base |
118a05b7 JB |
39 | BuildRequires: pkgconfig |
40 | BuildRequires: readline-devel | |
41 | BuildRequires: sed >= 4.0 | |
42 | BuildRequires: zlib-devel | |
43 | Requires(pre): /bin/id | |
44 | Requires(pre): /usr/bin/getgid | |
45 | Requires(pre): /usr/sbin/groupadd | |
46 | Requires(pre): /usr/sbin/useradd | |
47 | Requires(postun): /usr/sbin/groupdel | |
48 | Requires(postun): /usr/sbin/userdel | |
49 | Requires: libxml2 >= 1:2.6.16 | |
50 | Requires: %{name}-libs = %{version}-%{release} | |
51 | Provides: group(bes) | |
52 | Provides: user(bes) | |
53 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
54 | ||
55 | %description | |
56 | BES is a high-performance back-end server software framework for | |
57 | OPeNDAP that allows data providers more flexibility in providing end | |
58 | users views of their data. The current OPeNDAP data objects (DAS, DDS, | |
59 | and DataDDS) are still supported, but now data providers can add new | |
60 | data views, provide new functionality, and new features to their end | |
61 | users through the BES modular design. Providers can add new data | |
62 | handlers, new data objects/views, the ability to define views with | |
63 | constraints and aggregation, the ability to add reporting mechanisms, | |
64 | initialization hooks, and more. | |
65 | ||
66 | %description -l pl.UTF-8 | |
67 | BES to szkielet wysoko wydajnego serwera backendu dla OPeNDAP, | |
68 | pozwalający na większą elastyczność dostarczycieli danych (providers) | |
69 | w udostępnianiu widoków danych dla użytkowników końcowych. Obecne | |
70 | obiekty danych OPeNDAP (DAS, DDS i DataDDS) są nadal obsługiwane, ale | |
71 | teraz dostarczyciele danych mogą dodawać nowe widoki danych, zapewniać | |
72 | nową funkcjonalność oraz nowe możliwości dla użytkowników końcowych | |
73 | poprzez modularną budowę BES. Dostarczyciele mogą dodawać nowe | |
74 | procedury obsługujące (handlers), nowe obiekty/widoki danych, | |
75 | możliwość definiowania widoków z ograniczeniami i agregacją, możliwość | |
76 | dodawania mechanizmów raportujących, uchwytów inicjujących itd. | |
77 | ||
f27f07f5 JB |
78 | %package module-dapreader |
79 | Summary: OpeNDAP BES dapreader module | |
80 | Summary(pl.UTF-8): Moduł dapreader dla serwera OpeNDAP BES | |
81 | Group: Libraries | |
82 | Requires: %{name} = %{version}-%{release} | |
83 | ||
84 | %description module-dapreader | |
85 | This module can be used by the BES to return DAP2 and DAP4 responses | |
86 | using simple input files. | |
87 | ||
88 | %description module-dapreader -l pl.UTF-8 | |
89 | Ten moduł może być używany przez BES do zwracania odpowiedzi DAP2 i | |
90 | DAP4 przy użyciu prostych plików wejściowych. | |
91 | ||
92 | %package module-handler-csv | |
93 | Summary: CSV module for the OPeNDAP BES server | |
94 | Summary(pl.UTF-8): Moduł CSV dla serwera OPeNDAP BES | |
95 | Group: Libraries | |
96 | Requires: %{name} = %{version}-%{release} | |
97 | Provides: opendap-csv_handler = 1.1.3 | |
98 | Obsoletes: opendap-csv_handler < 1.1.3 | |
99 | # old name (single v3.5.1 release from 2010) | |
100 | Obsoletes: opendap-csv_module | |
101 | ||
102 | %description module-handler-csv | |
103 | This is the CSV handler module for the OPeNDAP data server. It serves | |
104 | data stored in CSV-formatted files. | |
105 | ||
106 | %description module-handler-csv -l pl.UTF-8 | |
107 | Ten pakiet zawiera moduł obsługi CSV dla serwera danych OPeNDAP. | |
108 | Serwuje dane zapisane w plikach w formacie CSV. | |
109 | ||
110 | %package module-dap-server | |
111 | Summary: Basic request handling for OPeNDAP servers | |
112 | Summary(pl.UTF-8): Podstawowa obsługa żądań dla serwerów OPeNDAP | |
113 | Group: Libraries | |
114 | Requires: %{name} = %{version}-%{release} | |
115 | Provides: dap-server = 4.2.3 | |
116 | Obsoletes: dap-server < 4.2.3 | |
117 | ||
118 | %description module-dap-server | |
119 | This package contains general purpose handlers for use with the new | |
120 | Hyrax data server. These are the Usage, ASCII and HTML form handlers. | |
121 | Each takes input from a 'data handler' and returns a HTML or plain | |
122 | text response - something other than a DAP response object. | |
123 | ||
124 | %description module-dap-server -l pl.UTF-8 | |
125 | Ten pakiet zawiera kilka procedur obsługi ogólnego przeznaczenia dla | |
126 | nowego serwera danych Hyrax. Są to procedury obsługi Usage, ASCII oraz | |
127 | formularzy HTML. Każdy z nich pobiera wejście z procedury obsługi | |
128 | danych i zwraca odpowiedź w formacie HTML lub czystego tekstu - czegoś | |
129 | innego, niż obiekt odpowiedzi DAP. | |
130 | ||
131 | %package module-fileout-gdal | |
132 | Summary: OPeNDAP BES server module to return a GeoTiff, JP2k, etc., file for a DAP Data response | |
133 | Summary(pl.UTF-8): Moduł serwera OPeNDAP BES zwracający pliki GeoTiff, JP2k itp. jako odpowiedź DAP | |
134 | Group: Libraries | |
135 | Requires: %{name} = %{version}-%{release} | |
136 | Requires: gdal >= 1.10.0 | |
137 | Provides: opendap-fileout_gdal = 0.9.8 | |
138 | Obsoletes: opendap-fileout_gdal < 0.9.8 | |
139 | ||
140 | %description module-fileout-gdal | |
141 | This is the fileout GDAL response handler for Hyrax - the OPeNDAP data | |
142 | server. With this handler a server can easily be configured to return | |
143 | data packaged in a GeoTiff, JP2, etc., file. | |
144 | ||
145 | %description module-fileout-gdal -l pl.UTF-8 | |
146 | Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący | |
147 | odpowiedzi GDAL. Przy jego użyciu można łatwo skonfigurować serwer, | |
148 | aby zwracał dane spakowane w pliku GeoTiff, JP2 itp. | |
149 | ||
150 | %package module-fileout-json | |
151 | Summary: OPeNDAP BES server module to return JSON responses | |
152 | Summary(pl.UTF-8): Moduł serwera OPeNDAP BES zwracający odpowiedzi JSON | |
153 | Group: Libraries | |
154 | Requires: %{name} = %{version}-%{release} | |
155 | Provides: opendap-fileout_json = 1.0.3 | |
156 | ||
157 | %description module-fileout-json | |
158 | This is the fileout JSON response handler for Hyrax - the OPeNDAP data | |
159 | server. | |
160 | ||
161 | %description module-fileout-json -l pl.UTF-8 | |
162 | Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący | |
163 | odpowiedzi JSON. | |
164 | ||
165 | %package module-fileout-netcdf | |
166 | Summary: OPeNDAP BES server module to return a NetCDF file for a DAP Data response | |
167 | Summary(pl.UTF-8): Moduł serwera OPeNDAP BES zwracający pliki NetCDF jako odpowiedź DAP | |
168 | Group: Libraries | |
169 | Requires: %{name} = %{version}-%{release} | |
170 | Provides: opendap-fileout_netcdf = 1.4.0 | |
171 | Obsoletes: opendap-fileout_netcdf = 1.4.0 | |
172 | ||
173 | %description module-fileout-netcdf | |
174 | This is the fileout netCDF response handler for Hyrax - the OPeNDAP | |
175 | data server. With this handler a server can easily be configured to | |
176 | return data packaged in a netCDF 3 file. | |
177 | ||
178 | %description module-fileout-netcdf -l pl.UTF-8 | |
179 | Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący | |
180 | odpowiedzi netCDF. Przy jego użyciu można łatwo skonfigurować serwer, | |
181 | aby zwracał dane spakowane w pliku netCDF 3. | |
182 | ||
183 | %package module-handler-fits | |
184 | Summary: FITS data handler module for the OPeNDAP BES data server | |
185 | Summary(pl.UTF-8): Moduł obsługujący dane FITS dla serwera danych OPeNDAP BES | |
186 | Group: Libraries | |
187 | Requires: %{name} = %{version}-%{release} | |
188 | Provides: opendap-fits_handler = 1.0.15 | |
189 | Obsoletes: opendap-fits_handler < 1.0.15 | |
190 | ||
191 | %description module-handler-fits | |
192 | This is the FITS data handler module for the OPeNDAP data server. It | |
193 | reads FITS data and returns DAP responses that are compatible with | |
194 | DAP2 and the dap-server software. | |
195 | ||
196 | %description module-handler-fits -l pl.UTF-8 | |
197 | Ten pakiet zawiera moduł obsługujący dane FITS dla serwera danych | |
198 | OPeNDAP. Odczytuje dane FITS i zwraca odpowiedzi DAP zgodne z | |
199 | oprogramowaniem DAP2 i dap-server. | |
200 | ||
201 | %package module-handler-freeform | |
202 | Summary: FreeForm data handler module for the OPeNDAP BES data server | |
203 | Summary(pl.UTF-8): Moduł obsługujący dane FreeForm dla serwera danych OPeNDAP BES | |
204 | Group: Libraries | |
205 | Requires: %{name} = %{version}-%{release} | |
206 | Provides: opendap-freeform_handler = 3.9.3 | |
207 | Obsoletes: opendap-freeform_handler < 3.9.3 | |
208 | ||
209 | %description module-handler-freeform | |
210 | This is the FreeForm data handler module for the OPeNDAP data server. | |
211 | It reads ASCII, binary and DB4 files which have been described using | |
212 | FreeForm and returns DAP responses that are compatible with DAP2 and | |
213 | the dap-server software. | |
214 | ||
215 | %description module-handler-freeform -l pl.UTF-8 | |
216 | Ten pakiet zawiera moduł obsługujący dane FreeForm dla serwera danych | |
217 | OPeNDAP. Odczytuje dane z plików ASCII, binarnych i DB4 opisane przy | |
218 | użyciu FreeForm i zwraca odpowiedzi DAP zgodne z oprogramowaniem DAP2 | |
219 | i dap-server. | |
220 | ||
221 | %package module-gateway | |
222 | Summary: Gateway module for the OPeNDAP BES data server | |
223 | Summary(pl.UTF-8): Moduł bramki dla serwera danych OPeNDAP BES | |
224 | Group: Libraries | |
225 | Requires: %{name} = %{version}-%{release} | |
226 | Provides: opendap-gateway_module = 1.1.6 | |
227 | Obsoletes: opendap-gateway_module < 1.1.6 | |
228 | ||
229 | %description module-gateway | |
230 | This is the Gateway module for the OPeNDAP data server. It allows a | |
231 | remote URL to be passed as a container to the BES, have that remote | |
232 | URL accessed, and served locally. | |
233 | ||
234 | %description module-gateway -l pl.UTF-8 | |
235 | Ten pakiet zawiera moduł bramki (Gateway) dla serwera danych OPeNDAP. | |
236 | Pozwala na przekazanie zdalnego URL-a jako kontenera do BES, który | |
237 | odwołuje się do tego zdalnego URL-a i serwuje go lokalnie. | |
238 | ||
239 | %package module-handler-gdal | |
240 | Summary: GDAL data handler module for the OPeNDAP BES data server | |
241 | Summary(pl.UTF-8): Moduł obsługujący dane GDAL dla serwera danych OPeNDAP BES | |
242 | Group: Libraries | |
243 | Requires: %{name} = %{version}-%{release} | |
244 | Requires: gdal >= 1.10.0 | |
245 | Provides: opendap-gdal_handler = 1.0.3 | |
246 | Obsoletes: opendap-gdal_handler < 1.0.3 | |
247 | ||
248 | %description module-handler-gdal | |
249 | This is the GDAL data handler module for the OPeNDAP data server. It | |
250 | should be able to serve any file that can be read using the GDAL | |
251 | library. | |
252 | ||
253 | %description module-handler-gdal -l pl.UTF-8 | |
254 | Ten pakiet zawiera moduł obsługujący dane GDAL dla serwera danych | |
255 | OPeNDAP. Powinien być w stanie zaserwować dowolny plik, który można | |
256 | odczytać przy użyciu biblioteki GDAL. | |
257 | ||
258 | %package module-handler-hdf4 | |
259 | Summary: HDF4 data handler module for the OPeNDAP BES data server | |
260 | Summary(pl.UTF-8): Moduł obsługujący dane HDF4 dla serwera danych OPeNDAP BES | |
261 | Group: Libraries | |
262 | Requires: %{name} = %{version}-%{release} | |
263 | Provides: opendap-hdf4_handler = 3.12.0 | |
264 | Obsoletes: opendap-hdf4_handler < 3.12.0 | |
265 | ||
266 | %description module-handler-hdf4 | |
267 | This is the HDF4 data handler module for the OPeNDAP data server. It | |
268 | reads HDF4 and HDF-EOS2 files and returns DAP responses that are | |
269 | compatible with DAP2 and the dap-server software. | |
270 | ||
271 | %description module-handler-hdf4 -l pl.UTF-8 | |
272 | Ten pakiet zawiera moduł obsługujący dane HDF4 dla serwera danych | |
273 | OPeNDAP. Odczytuje pliki HDF4 oraz HDF-EOS2 i zwraca odpowiedzi DAP | |
274 | zgodne z oprogramowaniem DAP2 i dap-server. | |
275 | ||
276 | %package module-handler-hdf5 | |
277 | Summary: HDF5 data handler module for the OPeNDAP BES data server | |
278 | Summary(pl.UTF-8): Moduł obsługujący dane HDF5 dla serwera danych OPeNDAP BES | |
279 | Group: Libraries | |
280 | Requires: %{name} = %{version}-%{release} | |
281 | Provides: opendap-hdf5_handler = 2.3.2 | |
282 | Obsoletes: opendap-hdf5_handler < 2.3.2 | |
283 | ||
284 | %description module-handler-hdf5 | |
285 | This is the HDF5 data handler module for the OPeNDAP data server. It | |
286 | reads HDF5 files and returns DAP responses that are compatible with | |
287 | DAP2 and the dap-server software. | |
288 | ||
289 | %description module-handler-hdf5 -l pl.UTF-8 | |
290 | Ten pakiet zawiera moduł obsługujący dane HDF5 dla serwera danych | |
291 | OPeNDAP. Odczytuje pliki HDF5 i zwraca odpowiedzi DAP zgodne z | |
292 | oprogramowaniem DAP2 i dap-server. | |
293 | ||
294 | %package module-ncml | |
295 | Summary: NCML module for the OPeNDAP BES data server | |
296 | Summary(pl.UTF-8): Moduł NCML dla serwera danych OPeNDAP BES | |
297 | Group: Libraries | |
298 | Requires: %{name} = %{version}-%{release} | |
299 | Provides: opendap-ncml_module = 1.4.1 | |
300 | Obsoletes: opendap-ncml_module < 1.4.1 | |
301 | ||
302 | %description module-ncml | |
303 | This is the NcML module for the OPeNDAP data server. It parses NcML | |
304 | files to add metadata to other local datasets on the local Hyrax | |
305 | server. It also allows authors to create joinNew and union | |
306 | aggregations of other datasets. | |
307 | ||
308 | %description module-ncml -l pl.UTF-8 | |
309 | Ten pakiet zawiera moduł NcML dla serwera danych OPeNDAP. Analizuje | |
310 | pliki NcML w celu dodania metadanych do innych lokalnych zbiorów | |
311 | danych na lokalnym serwerze Hyrax. Ponadto pozwala autorom na | |
312 | tworzenie agregatów joinNew i union innych zbiorów danych. | |
313 | ||
314 | %package module-handler-netcdf | |
315 | Summary: NetCDF 3 data handler module for the OPeNDAP BES data server | |
316 | Summary(pl.UTF-8): Moduł obsługujący dane NetCDF 3 dla serwera danych OPeNDAP BES | |
317 | Group: Libraries | |
318 | Requires: %{name} = %{version}-%{release} | |
319 | Provides: opendap-netcdf_handler = 3.11.3 | |
320 | Obsoletes: opendap-netcdf_handler < 3.11.3 | |
321 | ||
322 | %description module-handler-netcdf | |
323 | This is the NetCDF data handler module for the OPeNDAP data server. It | |
324 | reads NetCDF 3 files and returns DAP responses that are compatible | |
325 | with DAP2 and the dap-server software. | |
326 | ||
327 | %description module-handler-netcdf -l pl.UTF-8 | |
328 | Ten pakiet zawiera moduł obsługujący dane NetCDF dla serwera danych | |
329 | OPeNDAP. Odczytuje pliki NetCDF 3 i zwraca odpowiedzi DAP zgodne z | |
330 | oprogramowaniem DAP2 i dap-server. | |
331 | ||
332 | %package module-functions-ugrid | |
333 | Summary: ugrid functions handler for the OPeNDAP BES data server | |
334 | Summary(pl.UTF-8): Moduł obsługi funkcji ugrid dla serwera danych OPeNDAP BES | |
335 | Group: Libraries | |
336 | Requires: %{name} = %{version}-%{release} | |
337 | Requires: gridfields >= 1.0.5 | |
338 | Provides: opendap-ugrid_functions = 1.0.5 | |
339 | Obsoletes: opendap-ugrid_functions < 1.0.5 | |
340 | ||
341 | %description module-functions-ugrid | |
342 | This is the ugrid (Unstructured Grid or irregular mesh) subsetting | |
343 | function handler for Hyrax. This Hyrax server function will subset a | |
344 | compliant ugrid mesh and return a mesh that is also compliant. The | |
345 | subset can be specified using latitude, longitude and time. | |
346 | ||
347 | %description module-functions-ugrid -l pl.UTF-8 | |
348 | Ten pakiet zawiera moduł ugrid (Unstructured Grid - tablicy bez | |
349 | struktury lub maski nieregularnej) obsługujący funkcję podzbioru dla | |
350 | serwera Hyrax. Funkcja serwera wyliczy podzbiór zgodny z siatką ugrid | |
351 | i zwróci także zgodną siatkę. Podzbiór może być określony przy użyciu | |
352 | szerokości, długości i czasu. | |
353 | ||
354 | %package module-handler-w10n | |
355 | Summary: w10n data handler module for the OPeNDAP BES data server | |
356 | Summary(pl.UTF-8): Moduł obsługujący dane w10n dla serwera danych OPeNDAP BES | |
357 | Group: Libraries | |
358 | Requires: %{name} = %{version}-%{release} | |
359 | Provides: opendap-w10n_handler = 1.0.3 | |
360 | ||
361 | %description module-handler-w10n | |
362 | This package provides w10n navigation and data retrieval for Hyrax | |
363 | data server. | |
364 | ||
365 | %description module-handler-w10n -l pl.UTF-8 | |
366 | Ten pakiet zapewnia nawigację oraz odtwarzanie danych w10n dla serwera | |
367 | danych Hyrax. | |
368 | ||
369 | %package module-handler-xml_data | |
370 | Summary: Basic request handling the OPeNDAP BES data server | |
371 | Summary(pl.UTF-8): Obsługa podstawowych zapytań dla serwera danych OPeNDAP BES | |
372 | Group: Libraries | |
373 | Requires: %{name} = %{version}-%{release} | |
374 | Provides: opendap-xml_data_handler = 1.0.9 | |
375 | Obsoletes: opendap-xml_data_handler < 1.0.9 | |
376 | ||
377 | %description module-handler-xml_data | |
378 | This package contains a general purpose handler for use with the Hyrax | |
379 | data server. This handler takes input from a 'data handler' and | |
380 | returns XML document that encodes both dataset metadata and values. It | |
381 | is intended to be used for small data requests and web systems that | |
382 | need data in XML documents. | |
383 | ||
384 | %description module-handler-xml_data -l pl.UTF-8 | |
385 | Ten pakiet zawiera moduł obsługi ogólnego przeznaczenia przeznaczony | |
386 | dla serwera danych Hyrax. Moduł ten przyjmuje dane wejściowe z modułu | |
387 | obsługi danych (data handler) i zwraca dokuemnt XML, zawierający | |
388 | zakodowane zarówno metadane, jak i wartości zbioru danych. Jest | |
389 | przeznaczony do użycia dla ządań małych danych oraz systemów WWW | |
390 | wymagających danych w dokumentach XML. | |
391 | ||
118a05b7 JB |
392 | %package libs |
393 | Summary: Shared OPeNDAP Back End Server libraries | |
394 | Summary(pl.UTF-8): Biblioteki współdzielone serwera backendu OPeNDAP | |
395 | Group: Libraries | |
63c68927 | 396 | Requires: libdap >= 3.17.0 |
118a05b7 JB |
397 | |
398 | %description libs | |
399 | Shared OPeNDAP Back End Server libraries. | |
400 | ||
401 | %description libs -l pl.UTF-8 | |
402 | Biblioteki współdzielone serwera backendu OPeNDAP. | |
403 | ||
404 | %package devel | |
405 | Summary: Header files for OPeNDAP Back End Server libraries | |
406 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek serwera backendu OPeNDAP | |
407 | Group: Development/Libraries | |
408 | Requires: %{name}-libs = %{version}-%{release} | |
409 | Requires: bzip2-devel | |
410 | Requires: libstdc++-devel | |
411 | Requires: openssl-devel | |
412 | Requires: zlib-devel | |
413 | ||
414 | %description devel | |
415 | Header files for OPeNDAP Back End Server libraries. | |
416 | ||
417 | %description devel -l pl.UTF-8 | |
418 | Pliki nagłówkowe bibliotek serwera backendu OPeNDAP. | |
419 | ||
420 | %package static | |
421 | Summary: Static OPeNDAP Back End Server libraries | |
422 | Summary(pl.UTF-8): Statyczne biblioteki serwera backendu OPeNDAP | |
423 | Group: Development/Libraries | |
424 | Requires: %{name}-devel = %{version}-%{release} | |
425 | ||
426 | %description static | |
427 | Static OPeNDAP Back End Server libraries. | |
428 | ||
429 | %description static -l pl.UTF-8 | |
430 | Statyczne biblioteki serwera backendu OPeNDAP. | |
431 | ||
432 | %prep | |
433 | %setup -q | |
434 | %patch0 -p1 | |
435 | %patch1 -p1 | |
63c68927 | 436 | %patch2 -p1 |
65ffef41 | 437 | %patch3 -p1 |
118a05b7 JB |
438 | |
439 | %build | |
440 | %{__libtoolize} | |
441 | %{__aclocal} -I conf | |
442 | %{__autoconf} | |
443 | %{__autoheader} | |
444 | %{__automake} | |
445 | %configure \ | |
63c68927 | 446 | CURL=/usr/bin/curl \ |
f27f07f5 | 447 | --with-hdfeos2 \ |
118a05b7 JB |
448 | --with-libwrap |
449 | %{__make} | |
450 | ||
451 | %{?with_tests:%{__make} check} | |
452 | ||
453 | %install | |
454 | rm -rf $RPM_BUILD_ROOT | |
63c68927 | 455 | install -d $RPM_BUILD_ROOT/etc/pki/bes/{cacerts,certs,public} \ |
f29bf279 JB |
456 | $RPM_BUILD_ROOT{/var/cache/bes,/var/log/bes} \ |
457 | $RPM_BUILD_ROOT%{_datadir}/hyrax/data | |
118a05b7 | 458 | |
2c9f23ac | 459 | %{__make} -j1 install \ |
118a05b7 JB |
460 | DESTDIR=$RPM_BUILD_ROOT |
461 | ||
118a05b7 JB |
462 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.{la,a} |
463 | # obsoleted by pkg-config | |
464 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbes*.la | |
465 | ||
466 | install -d $RPM_BUILD_ROOT%{systemdtmpfilesdir} | |
467 | cat >$RPM_BUILD_ROOT%{systemdtmpfilesdir}/bes.conf <<EOF | |
468 | d /var/run/bes 0775 bes bes - | |
469 | EOF | |
470 | ||
471 | %clean | |
472 | rm -rf $RPM_BUILD_ROOT | |
473 | ||
474 | %pre | |
475 | %groupadd -g 307 bes | |
476 | %useradd -u 307 -d /var/cache/bes -g bes -s /bin/false -c "BES daemon" bes | |
477 | ||
478 | %postun | |
479 | if [ "$1" = "0" ]; then | |
480 | %userremove bes | |
481 | %groupremove bes | |
482 | fi | |
483 | ||
484 | %post libs -p /sbin/ldconfig | |
485 | %postun libs -p /sbin/ldconfig | |
486 | ||
487 | %files | |
488 | %defattr(644,root,root,755) | |
489 | %attr(755,root,root) %{_bindir}/bescmdln | |
490 | %attr(755,root,root) %{_bindir}/besctl | |
491 | %attr(755,root,root) %{_bindir}/besdaemon | |
492 | %attr(755,root,root) %{_bindir}/beslistener | |
118a05b7 JB |
493 | %attr(755,root,root) %{_bindir}/besstandalone |
494 | %attr(755,root,root) %{_bindir}/hyraxctl | |
495 | %dir %{_sysconfdir}/bes/modules | |
496 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dap.conf | |
497 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/functions.conf | |
498 | %dir /etc/pki/bes | |
499 | %dir /etc/pki/bes/cacerts | |
63c68927 | 500 | %dir /etc/pki/bes/certs |
118a05b7 JB |
501 | %dir /etc/pki/bes/public |
502 | %attr(754,root,root) /etc/rc.d/init.d/besd | |
f29bf279 JB |
503 | %dir %{_datadir}/hyrax |
504 | %dir %{_datadir}/hyrax/data | |
118a05b7 JB |
505 | %attr(775,bes,bes) %dir /var/cache/bes |
506 | %attr(775,bes,bes) %dir /var/log/bes | |
507 | %attr(775,bes,bes) %dir /var/run/bes | |
508 | %{systemdtmpfilesdir}/bes.conf | |
509 | ||
f27f07f5 JB |
510 | %files module-dapreader |
511 | %defattr(644,root,root,755) | |
512 | %doc dapreader/README | |
513 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dapreader.conf | |
514 | %attr(755,root,root) %{_libdir}/bes/libdapreader_module.so | |
515 | %dir %{_datadir}/hyrax/data/dapreader | |
516 | %{_datadir}/hyrax/data/dapreader/fnoc1.das | |
517 | %{_datadir}/hyrax/data/dapreader/fnoc1.data | |
518 | %{_datadir}/hyrax/data/dapreader/fnoc1.dds | |
519 | %dir %{_datadir}/hyrax/data/dapreader/dap4 | |
520 | %{_datadir}/hyrax/data/dapreader/dap4/dap4.html | |
521 | %{_datadir}/hyrax/data/dapreader/dap4/D4-xml | |
522 | %{_datadir}/hyrax/data/dapreader/dap4/dmr-testsuite | |
523 | ||
524 | %files module-handler-csv | |
525 | %defattr(644,root,root,755) | |
526 | %doc modules/csv_handler/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
527 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/csv.conf |
528 | %attr(755,root,root) %{_libdir}/bes/libcsv_module.so | |
529 | %dir %{_datadir}/hyrax/data/csv | |
530 | %{_datadir}/hyrax/data/csv/temperature.csv | |
531 | ||
f27f07f5 JB |
532 | %files module-dap-server |
533 | %defattr(644,root,root,755) | |
534 | %doc modules/dap-server/{COPYRIGHT_*,ChangeLog,NEWS,README} | |
535 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dap-server.conf | |
536 | %attr(755,root,root) %{_libdir}/bes/libascii_module.so | |
537 | %attr(755,root,root) %{_libdir}/bes/libusage_module.so | |
538 | %attr(755,root,root) %{_libdir}/bes/libwww_module.so | |
539 | %{_datadir}/bes/dap-server_help.* | |
540 | ||
541 | %files module-fileout-gdal | |
542 | %defattr(644,root,root,755) | |
543 | %doc modules/fileout_gdal/{ChangeLog,NEWS,README} | |
63c68927 JB |
544 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fong.conf |
545 | %attr(755,root,root) %{_libdir}/bes/libfong_module.so | |
546 | ||
f27f07f5 JB |
547 | %files module-fileout-json |
548 | %defattr(644,root,root,755) | |
549 | %doc modules/fileout_json/{ChangeLog,NEWS} | |
550 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fojson.conf | |
551 | %attr(755,root,root) %{_libdir}/bes/libfojson_module.so | |
552 | ||
553 | %files module-fileout-netcdf | |
554 | %defattr(644,root,root,755) | |
555 | %doc modules/fileout_netcdf/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
556 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fonc.conf |
557 | %attr(755,root,root) %{_libdir}/bes/libfonc_module.so | |
558 | ||
f27f07f5 JB |
559 | %files module-handler-fits |
560 | %defattr(644,root,root,755) | |
561 | %doc modules/fits_handler/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
562 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fits.conf |
563 | %attr(755,root,root) %{_libdir}/bes/libfits_module.so | |
564 | %dir %{_datadir}/hyrax/data/fits | |
565 | %{_datadir}/hyrax/data/fits/*.fts | |
566 | ||
f27f07f5 JB |
567 | %files module-handler-freeform |
568 | %defattr(644,root,root,755) | |
569 | %doc modules/freeform_handler/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
570 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ff.conf |
571 | %attr(755,root,root) %{_libdir}/bes/libff_module.so | |
572 | %dir %{_datadir}/hyrax/data/ff | |
573 | %{_datadir}/hyrax/data/ff/*.dat | |
574 | %{_datadir}/hyrax/data/ff/*.dat.das | |
575 | %{_datadir}/hyrax/data/ff/*.fmt | |
576 | ||
f27f07f5 JB |
577 | %files module-gateway |
578 | %defattr(644,root,root,755) | |
579 | %doc modules/gateway_module/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
580 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/gateway.conf |
581 | %attr(755,root,root) %{_libdir}/bes/libgateway_module.so | |
582 | ||
f27f07f5 JB |
583 | %files module-handler-gdal |
584 | %defattr(644,root,root,755) | |
585 | %doc modules/gdal_handler/{ChangeLog,NEWS,README} | |
63c68927 JB |
586 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/gdal.conf |
587 | %attr(755,root,root) %{_libdir}/bes/libgdal_module.so | |
588 | %dir %{_datadir}/hyrax/data/gdal | |
589 | %{_datadir}/hyrax/data/gdal/*.wind.grb.bz2 | |
590 | %{_datadir}/hyrax/data/gdal/*.jp2 | |
591 | %{_datadir}/hyrax/data/gdal/*.jpg | |
592 | %{_datadir}/hyrax/data/gdal/*.lgo | |
593 | %{_datadir}/hyrax/data/gdal/*.tif | |
594 | %{_datadir}/hyrax/data/gdal/*.txt | |
595 | %{_datadir}/hyrax/data/gdal/*.TIF | |
596 | %doc %{_datadir}/hyrax/data/gdal/README | |
597 | ||
f27f07f5 JB |
598 | %files module-handler-hdf4 |
599 | %defattr(644,root,root,755) | |
600 | %doc modules/hdf4_handler/{COPYRIGHT_URI,ChangeLog,NEWS,README} | |
63c68927 JB |
601 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/h4.conf |
602 | %attr(755,root,root) %{_libdir}/bes/libhdf4_module.so | |
603 | %dir %{_datadir}/hyrax/data/hdf4 | |
604 | %{_datadir}/hyrax/data/hdf4/*.HDF.gz | |
605 | %{_datadir}/hyrax/data/hdf4/*.hdf.gz | |
606 | %{_datadir}/hyrax/data/hdf4/grid_1_2d.hdf | |
607 | ||
f27f07f5 JB |
608 | %files module-handler-hdf5 |
609 | %defattr(644,root,root,755) | |
610 | %doc modules/hdf5_handler/{ChangeLog,NEWS,README} | |
63c68927 JB |
611 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/h5.conf |
612 | %attr(755,root,root) %{_libdir}/bes/libhdf5_module.so | |
613 | %dir %{_datadir}/hyrax/data/hdf5 | |
614 | %{_datadir}/hyrax/data/hdf5/grid_1_2d.h5 | |
615 | ||
f27f07f5 JB |
616 | %files module-ncml |
617 | %defattr(644,root,root,755) | |
618 | %doc modules/ncml_module/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
619 | %attr(755,root,root) %{_libdir}/bes/libncml_module.so |
620 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ncml.conf | |
63c68927 JB |
621 | %{_datadir}/hyrax/data/nc/jan.nc |
622 | %{_datadir}/hyrax/data/nc/feb.nc | |
623 | %dir %{_datadir}/hyrax/data/ncml | |
624 | %{_datadir}/hyrax/data/ncml/fnoc1.nc | |
625 | %{_datadir}/hyrax/data/ncml/*.ncml | |
626 | %dir %{_datadir}/hyrax/data/ncml/agg | |
627 | %{_datadir}/hyrax/data/ncml/agg/*.ncml | |
628 | %dir %{_datadir}/hyrax/data/ncml/agg/dated | |
629 | %{_datadir}/hyrax/data/ncml/agg/dated/*.nc | |
630 | %dir %{_datadir}/hyrax/data/ncml/agg/grids | |
631 | %{_datadir}/hyrax/data/ncml/agg/grids/*.hdf | |
632 | ||
f27f07f5 JB |
633 | %files module-handler-netcdf |
634 | %defattr(644,root,root,755) | |
635 | %doc modules/netcdf_handler/{COPYRIGHT,ChangeLog,NEWS,README} | |
63c68927 JB |
636 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/nc.conf |
637 | %attr(755,root,root) %{_libdir}/bes/libnc_module.so | |
63c68927 JB |
638 | %dir %{_datadir}/hyrax/data/nc |
639 | %{_datadir}/hyrax/data/nc/bears.nc | |
640 | %{_datadir}/hyrax/data/nc/bears.nc.das | |
641 | %{_datadir}/hyrax/data/nc/coads_climatology.nc | |
642 | %{_datadir}/hyrax/data/nc/fnoc1.das | |
643 | %{_datadir}/hyrax/data/nc/fnoc1.nc | |
644 | %{_datadir}/hyrax/data/nc/fnoc1.nc.html | |
645 | %{_datadir}/hyrax/data/nc/zero_length_array.nc | |
646 | ||
f27f07f5 JB |
647 | %files module-functions-ugrid |
648 | %defattr(644,root,root,755) | |
649 | %doc modules/ugrid_functions/{ChangeLog,INSTALL,NEWS,README} | |
63c68927 JB |
650 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ugrid_functions.conf |
651 | %attr(755,root,root) %{_libdir}/bes/libugrid_functions.so | |
652 | %dir %{_datadir}/hyrax/data/ugrids | |
653 | %{_datadir}/hyrax/data/ugrids/ugrid_test_*.nc | |
654 | ||
f27f07f5 JB |
655 | %files module-handler-w10n |
656 | %defattr(644,root,root,755) | |
657 | %doc modules/w10n_handler/{ChangeLog,NEWS} | |
63c68927 JB |
658 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/w10n.conf |
659 | %attr(755,root,root) %{_libdir}/bes/libw10n_handler.so | |
660 | ||
f27f07f5 JB |
661 | %files module-handler-xml_data |
662 | %defattr(644,root,root,755) | |
663 | %doc modules/xml_data_handler/{ChangeLog,NEWS,README} | |
664 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/xml_data_handler.conf | |
665 | %attr(755,root,root) %{_libdir}/bes/libxml_data_module.so | |
63c68927 | 666 | |
118a05b7 JB |
667 | %files libs |
668 | %defattr(644,root,root,755) | |
669 | %doc NEWS README* | |
670 | %attr(755,root,root) %{_libdir}/libbes_dispatch.so.*.*.* | |
671 | %attr(755,root,root) %ghost %{_libdir}/libbes_dispatch.so.8 | |
672 | %attr(755,root,root) %{_libdir}/libbes_ppt.so.*.*.* | |
673 | %attr(755,root,root) %ghost %{_libdir}/libbes_ppt.so.4 | |
674 | %attr(755,root,root) %{_libdir}/libbes_xml_command.so.*.*.* | |
675 | %attr(755,root,root) %ghost %{_libdir}/libbes_xml_command.so.1 | |
676 | %dir %{_libdir}/bes | |
677 | %attr(755,root,root) %{_libdir}/bes/libdap_module.so | |
678 | %attr(755,root,root) %{_libdir}/bes/libdap_xml_module.so | |
118a05b7 JB |
679 | %attr(755,root,root) %{_libdir}/bes/libfunctions_module.so |
680 | %dir %{_sysconfdir}/bes | |
681 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/bes.conf | |
682 | %dir %{_datadir}/bes | |
683 | %{_datadir}/bes/bes_help.* | |
684 | %{_datadir}/bes/dap_help.* | |
685 | ||
686 | %files devel | |
687 | %defattr(644,root,root,755) | |
688 | %attr(755,root,root) %{_bindir}/bes-config | |
689 | %attr(755,root,root) %{_bindir}/bes-config-pkgconfig | |
690 | %attr(755,root,root) %{_bindir}/besCreateModule | |
691 | %attr(755,root,root) %{_libdir}/libbes_dispatch.so | |
692 | %attr(755,root,root) %{_libdir}/libbes_ppt.so | |
693 | %attr(755,root,root) %{_libdir}/libbes_xml_command.so | |
694 | %{_includedir}/bes | |
695 | %{_pkgconfigdir}/bes_dispatch.pc | |
696 | %{_pkgconfigdir}/bes_ppt.pc | |
697 | %{_pkgconfigdir}/bes_xml_command.pc | |
698 | %{_aclocaldir}/bes.m4 | |
699 | %{_datadir}/bes/templates | |
700 | ||
701 | %files static | |
702 | %defattr(644,root,root,755) | |
703 | %{_libdir}/libbes_dispatch.a | |
704 | %{_libdir}/libbes_ppt.a | |
705 | %{_libdir}/libbes_xml_command.a |