]> git.pld-linux.org Git - packages/bes.git/blame - bes.spec
- started update to 3.17.0
[packages/bes.git] / bes.spec
CommitLineData
118a05b7
JB
1Summary: OPeNDAP Back End Server software framework
2Summary(pl.UTF-8): Szkielet OPeNDAP Back End Server (serwera backendu OPeNDAP)
3Name: bes
63c68927
JB
4Version: 3.17.0
5Release: 0.1
118a05b7
JB
6License: LGPL v2.1+
7Group: Libraries
8Source0: http://www.opendap.org/pub/source/%{name}-%{version}.tar.gz
63c68927
JB
9# Source0-md5: 4534a887fe752cb30f20a09bda058fd1
10Patch0: %{name}-conf.patch
11Patch1: %{name}-configure.patch
12Patch2: %{name}-link.patch
118a05b7 13URL: http://opendap.org/
63c68927 14BuildRequires: autoconf >= 2.63
118a05b7
JB
15BuildRequires: automake >= 1:1.10
16BuildRequires: bison
17BuildRequires: bzip2-devel
18%{?with_tests:BuildRequires: cppunit-devel >= 1.12.0}
63c68927 19BuildRequires: cfitsio-devel
118a05b7 20BuildRequires: gdal-devel >= 1.10.0
63c68927
JB
21BuildRequires: gridfields-devel >= 1.0.5
22BuildRequires: hdf-devel >= 4
23BuildRequires: hdf-eos-devel >= 2
24BuildRequires: hdf5-devel
25BuildRequires: libdap-devel >= 3.17.0
26BuildRequires: libicu-devel >= 3.6
118a05b7
JB
27BuildRequires: libstdc++-devel
28BuildRequires: libtool >= 2:1.5
29BuildRequires: libwrap-devel
63c68927 30BuildRequires: libuuid-devel
118a05b7 31BuildRequires: libxml2-devel >= 1:2.6.16
63c68927 32BuildRequires: openjpeg2-devel >= 2
118a05b7 33BuildRequires: openssl-devel
63c68927 34BuildRequires: perl-base
118a05b7
JB
35BuildRequires: pkgconfig
36BuildRequires: readline-devel
37BuildRequires: sed >= 4.0
38BuildRequires: zlib-devel
39Requires(pre): /bin/id
40Requires(pre): /usr/bin/getgid
41Requires(pre): /usr/sbin/groupadd
42Requires(pre): /usr/sbin/useradd
43Requires(postun): /usr/sbin/groupdel
44Requires(postun): /usr/sbin/userdel
45Requires: libxml2 >= 1:2.6.16
46Requires: %{name}-libs = %{version}-%{release}
47Provides: group(bes)
48Provides: user(bes)
49BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
51%description
52BES is a high-performance back-end server software framework for
53OPeNDAP that allows data providers more flexibility in providing end
54users views of their data. The current OPeNDAP data objects (DAS, DDS,
55and DataDDS) are still supported, but now data providers can add new
56data views, provide new functionality, and new features to their end
57users through the BES modular design. Providers can add new data
58handlers, new data objects/views, the ability to define views with
59constraints and aggregation, the ability to add reporting mechanisms,
60initialization hooks, and more.
61
62%description -l pl.UTF-8
63BES to szkielet wysoko wydajnego serwera backendu dla OPeNDAP,
64pozwalający na większą elastyczność dostarczycieli danych (providers)
65w udostępnianiu widoków danych dla użytkowników końcowych. Obecne
66obiekty danych OPeNDAP (DAS, DDS i DataDDS) są nadal obsługiwane, ale
67teraz dostarczyciele danych mogą dodawać nowe widoki danych, zapewniać
68nową funkcjonalność oraz nowe możliwości dla użytkowników końcowych
69poprzez modularną budowę BES. Dostarczyciele mogą dodawać nowe
70procedury obsługujące (handlers), nowe obiekty/widoki danych,
71możliwość definiowania widoków z ograniczeniami i agregacją, możliwość
72dodawania mechanizmów raportujących, uchwytów inicjujących itd.
73
74%package libs
75Summary: Shared OPeNDAP Back End Server libraries
76Summary(pl.UTF-8): Biblioteki współdzielone serwera backendu OPeNDAP
77Group: Libraries
63c68927 78Requires: libdap >= 3.17.0
118a05b7
JB
79
80%description libs
81Shared OPeNDAP Back End Server libraries.
82
83%description libs -l pl.UTF-8
84Biblioteki współdzielone serwera backendu OPeNDAP.
85
86%package devel
87Summary: Header files for OPeNDAP Back End Server libraries
88Summary(pl.UTF-8): Pliki nagłówkowe bibliotek serwera backendu OPeNDAP
89Group: Development/Libraries
90Requires: %{name}-libs = %{version}-%{release}
91Requires: bzip2-devel
92Requires: libstdc++-devel
93Requires: openssl-devel
94Requires: zlib-devel
95
96%description devel
97Header files for OPeNDAP Back End Server libraries.
98
99%description devel -l pl.UTF-8
100Pliki nagłówkowe bibliotek serwera backendu OPeNDAP.
101
102%package static
103Summary: Static OPeNDAP Back End Server libraries
104Summary(pl.UTF-8): Statyczne biblioteki serwera backendu OPeNDAP
105Group: Development/Libraries
106Requires: %{name}-devel = %{version}-%{release}
107
108%description static
109Static OPeNDAP Back End Server libraries.
110
111%description static -l pl.UTF-8
112Statyczne biblioteki serwera backendu OPeNDAP.
113
114%prep
115%setup -q
116%patch0 -p1
117%patch1 -p1
63c68927 118%patch2 -p1
118a05b7
JB
119
120%build
121%{__libtoolize}
122%{__aclocal} -I conf
123%{__autoconf}
124%{__autoheader}
125%{__automake}
126%configure \
63c68927
JB
127 CURL=/usr/bin/curl \
128 --with-hdfeos2="" \
118a05b7
JB
129 --with-libwrap
130%{__make}
131
132%{?with_tests:%{__make} check}
133
134%install
135rm -rf $RPM_BUILD_ROOT
63c68927 136install -d $RPM_BUILD_ROOT/etc/pki/bes/{cacerts,certs,public} \
f29bf279
JB
137 $RPM_BUILD_ROOT{/var/cache/bes,/var/log/bes} \
138 $RPM_BUILD_ROOT%{_datadir}/hyrax/data
118a05b7 139
2c9f23ac 140%{__make} -j1 install \
118a05b7
JB
141 DESTDIR=$RPM_BUILD_ROOT
142
118a05b7
JB
143%{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.{la,a}
144# obsoleted by pkg-config
145%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbes*.la
146
147install -d $RPM_BUILD_ROOT%{systemdtmpfilesdir}
148cat >$RPM_BUILD_ROOT%{systemdtmpfilesdir}/bes.conf <<EOF
149d /var/run/bes 0775 bes bes -
150EOF
151
152%clean
153rm -rf $RPM_BUILD_ROOT
154
155%pre
156%groupadd -g 307 bes
157%useradd -u 307 -d /var/cache/bes -g bes -s /bin/false -c "BES daemon" bes
158
159%postun
160if [ "$1" = "0" ]; then
161 %userremove bes
162 %groupremove bes
163fi
164
165%post libs -p /sbin/ldconfig
166%postun libs -p /sbin/ldconfig
167
168%files
169%defattr(644,root,root,755)
170%attr(755,root,root) %{_bindir}/bescmdln
171%attr(755,root,root) %{_bindir}/besctl
172%attr(755,root,root) %{_bindir}/besdaemon
173%attr(755,root,root) %{_bindir}/beslistener
118a05b7
JB
174%attr(755,root,root) %{_bindir}/besstandalone
175%attr(755,root,root) %{_bindir}/hyraxctl
176%dir %{_sysconfdir}/bes/modules
177%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dap.conf
178%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/functions.conf
179%dir /etc/pki/bes
180%dir /etc/pki/bes/cacerts
63c68927 181%dir /etc/pki/bes/certs
118a05b7
JB
182%dir /etc/pki/bes/public
183%attr(754,root,root) /etc/rc.d/init.d/besd
f29bf279
JB
184%dir %{_datadir}/hyrax
185%dir %{_datadir}/hyrax/data
118a05b7
JB
186%attr(775,bes,bes) %dir /var/cache/bes
187%attr(775,bes,bes) %dir /var/log/bes
188%attr(775,bes,bes) %dir /var/run/bes
189%{systemdtmpfilesdir}/bes.conf
190
63c68927
JB
191# [opendap-csv_handler]
192#%doc modules/csv_handler/{COPYRIGHT,ChangeLog,NEWS,README}
193%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/csv.conf
194%attr(755,root,root) %{_libdir}/bes/libcsv_module.so
195%dir %{_datadir}/hyrax/data/csv
196%{_datadir}/hyrax/data/csv/temperature.csv
197
198# [opendap-fileout_gdal]
199#%doc modules/fileout_gdal/{ChangeLog,NEWS,README}
200%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fong.conf
201%attr(755,root,root) %{_libdir}/bes/libfong_module.so
202
203# [opendap-fileout_netcdf]
204#%doc modules/fileout_netcdf/{COPYRIGHT,ChangeLog,NEWS,README}
205%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fonc.conf
206%attr(755,root,root) %{_libdir}/bes/libfonc_module.so
207
208# [opendap-fits_handler]
209#%doc modules/fits_handler/{COPYRIGHT,ChangeLog,NEWS,README}
210%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fits.conf
211%attr(755,root,root) %{_libdir}/bes/libfits_module.so
212%dir %{_datadir}/hyrax/data/fits
213%{_datadir}/hyrax/data/fits/*.fts
214
215# [opendap-freeform_handler]
216#%doc modules/freeform_handler/{COPYRIGHT,ChangeLog,NEWS,README}
217%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ff.conf
218%attr(755,root,root) %{_libdir}/bes/libff_module.so
219%dir %{_datadir}/hyrax/data/ff
220%{_datadir}/hyrax/data/ff/*.dat
221%{_datadir}/hyrax/data/ff/*.dat.das
222%{_datadir}/hyrax/data/ff/*.fmt
223
224# [opendap-gateway_module]
225#%doc modules/gateway_module/{COPYRIGHT,ChangeLog,NEWS,README}
226%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/gateway.conf
227%attr(755,root,root) %{_libdir}/bes/libgateway_module.so
228
229# [opendap-gdal_handler]
230#%doc modules/gdal_handler/{ChangeLog,NEWS,README}
231%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/gdal.conf
232%attr(755,root,root) %{_libdir}/bes/libgdal_module.so
233%dir %{_datadir}/hyrax/data/gdal
234%{_datadir}/hyrax/data/gdal/*.wind.grb.bz2
235%{_datadir}/hyrax/data/gdal/*.jp2
236%{_datadir}/hyrax/data/gdal/*.jpg
237%{_datadir}/hyrax/data/gdal/*.lgo
238%{_datadir}/hyrax/data/gdal/*.tif
239%{_datadir}/hyrax/data/gdal/*.txt
240%{_datadir}/hyrax/data/gdal/*.TIF
241%doc %{_datadir}/hyrax/data/gdal/README
242
243# [opendap-hdf4_handler]
244#%doc modules/hdf4_handler/{COPYRIGHT_URI,ChangeLog,NEWS,README}
245%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/h4.conf
246%attr(755,root,root) %{_libdir}/bes/libhdf4_module.so
247%dir %{_datadir}/hyrax/data/hdf4
248%{_datadir}/hyrax/data/hdf4/*.HDF.gz
249%{_datadir}/hyrax/data/hdf4/*.hdf.gz
250%{_datadir}/hyrax/data/hdf4/grid_1_2d.hdf
251
252# [opendap-hdf5_handler]
253#%doc modules/hdf5_handler/{ChangeLog,NEWS,README}
254%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/h5.conf
255%attr(755,root,root) %{_libdir}/bes/libhdf5_module.so
256%dir %{_datadir}/hyrax/data/hdf5
257%{_datadir}/hyrax/data/hdf5/grid_1_2d.h5
258
259# [opendap-ncml_module]
260#%doc modules/ncml_module/{COPYRIGHT,ChangeLog,NEWS,README}
261%attr(755,root,root) %{_libdir}/bes/libncml_module.so
262%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ncml.conf
263#XXX %dir %{_datadir}/hyrax/data/nc
264%{_datadir}/hyrax/data/nc/jan.nc
265%{_datadir}/hyrax/data/nc/feb.nc
266%dir %{_datadir}/hyrax/data/ncml
267%{_datadir}/hyrax/data/ncml/fnoc1.nc
268%{_datadir}/hyrax/data/ncml/*.ncml
269%dir %{_datadir}/hyrax/data/ncml/agg
270%{_datadir}/hyrax/data/ncml/agg/*.ncml
271%dir %{_datadir}/hyrax/data/ncml/agg/dated
272%{_datadir}/hyrax/data/ncml/agg/dated/*.nc
273%dir %{_datadir}/hyrax/data/ncml/agg/grids
274%{_datadir}/hyrax/data/ncml/agg/grids/*.hdf
275
276# [opendap-netcdf_handler]
277#%doc modules/netcdf_handler/{COPYRIGHT,ChangeLog,NEWS,README}
278%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/nc.conf
279%attr(755,root,root) %{_libdir}/bes/libnc_module.so
280# XXX dir here? (see module_ncml)
281%dir %{_datadir}/hyrax/data/nc
282%{_datadir}/hyrax/data/nc/bears.nc
283%{_datadir}/hyrax/data/nc/bears.nc.das
284%{_datadir}/hyrax/data/nc/coads_climatology.nc
285%{_datadir}/hyrax/data/nc/fnoc1.das
286%{_datadir}/hyrax/data/nc/fnoc1.nc
287%{_datadir}/hyrax/data/nc/fnoc1.nc.html
288%{_datadir}/hyrax/data/nc/zero_length_array.nc
289
290# [opendap-ugrid_functions]
291#%doc modules/ugrid_functions/{ChangeLog,INSTALL,NEWS,README}
292%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ugrid_functions.conf
293%attr(755,root,root) %{_libdir}/bes/libugrid_functions.so
294%dir %{_datadir}/hyrax/data/ugrids
295%{_datadir}/hyrax/data/ugrids/ugrid_test_*.nc
296
297# [opendap-xml_data_handler]
298#%doc modules/xml_data_handler/{ChangeLog,NEWS,README}
299%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/xml_data_handler.conf
300%attr(755,root,root) %{_libdir}/bes/libxml_data_module.so
301
302# [dap-server]
303#%doc modules/dap-server/{COPYRIGHT_*,ChangeLog,NEWS,README}
304%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dap-server.conf
305%attr(755,root,root) %{_libdir}/bes/libascii_module.so
306%attr(755,root,root) %{_libdir}/bes/libusage_module.so
307%attr(755,root,root) %{_libdir}/bes/libwww_module.so
308%{_datadir}/bes/dap-server_help.*
309
310# (fileout_json - new module)
311#%doc modules/fileout_json/{ChangeLog,NEWS}
312%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fojson.conf
313%attr(755,root,root) %{_libdir}/bes/libfojson_module.so
314
315# (w10n_handler - new module)
316#%doc modules/w10n_handler/{ChangeLog,NEWS}
317%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/w10n.conf
318%attr(755,root,root) %{_libdir}/bes/libw10n_handler.so
319
320#%doc dapreader/README
321%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dapreader.conf
322%dir %{_datadir}/hyrax/data/dapreader
323%{_datadir}/hyrax/data/dapreader/fnoc1.das
324%{_datadir}/hyrax/data/dapreader/fnoc1.data
325%{_datadir}/hyrax/data/dapreader/fnoc1.dds
326%dir %{_datadir}/hyrax/data/dapreader/dap4
327%{_datadir}/hyrax/data/dapreader/dap4/dap4.html
328%{_datadir}/hyrax/data/dapreader/dap4/D4-xml
329%{_datadir}/hyrax/data/dapreader/dap4/dmr-testsuite
330
118a05b7
JB
331%files libs
332%defattr(644,root,root,755)
333%doc NEWS README*
334%attr(755,root,root) %{_libdir}/libbes_dispatch.so.*.*.*
335%attr(755,root,root) %ghost %{_libdir}/libbes_dispatch.so.8
336%attr(755,root,root) %{_libdir}/libbes_ppt.so.*.*.*
337%attr(755,root,root) %ghost %{_libdir}/libbes_ppt.so.4
338%attr(755,root,root) %{_libdir}/libbes_xml_command.so.*.*.*
339%attr(755,root,root) %ghost %{_libdir}/libbes_xml_command.so.1
340%dir %{_libdir}/bes
341%attr(755,root,root) %{_libdir}/bes/libdap_module.so
342%attr(755,root,root) %{_libdir}/bes/libdap_xml_module.so
343%attr(755,root,root) %{_libdir}/bes/libdapreader_module.so
344%attr(755,root,root) %{_libdir}/bes/libfunctions_module.so
345%dir %{_sysconfdir}/bes
346%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/bes.conf
347%dir %{_datadir}/bes
348%{_datadir}/bes/bes_help.*
349%{_datadir}/bes/dap_help.*
350
351%files devel
352%defattr(644,root,root,755)
353%attr(755,root,root) %{_bindir}/bes-config
354%attr(755,root,root) %{_bindir}/bes-config-pkgconfig
355%attr(755,root,root) %{_bindir}/besCreateModule
356%attr(755,root,root) %{_libdir}/libbes_dispatch.so
357%attr(755,root,root) %{_libdir}/libbes_ppt.so
358%attr(755,root,root) %{_libdir}/libbes_xml_command.so
359%{_includedir}/bes
360%{_pkgconfigdir}/bes_dispatch.pc
361%{_pkgconfigdir}/bes_ppt.pc
362%{_pkgconfigdir}/bes_xml_command.pc
363%{_aclocaldir}/bes.m4
364%{_datadir}/bes/templates
365
366%files static
367%defattr(644,root,root,755)
368%{_libdir}/libbes_dispatch.a
369%{_libdir}/libbes_ppt.a
370%{_libdir}/libbes_xml_command.a
This page took 0.129913 seconds and 4 git commands to generate.