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