]> git.pld-linux.org Git - packages/opendap-csv_handler.git/blob - opendap-csv_handler.spec
- updated to 1.0.4
[packages/opendap-csv_handler.git] / opendap-csv_handler.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # make check (requires BES server)
4 #
5 Summary:        CSV module for the OPeNDAP data server
6 Summary(pl.UTF-8):      Moduł CSV dla serwera danych OPeNDAP
7 Name:           opendap-csv_handler
8 Version:        1.0.4
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Daemons
12 Source0:        http://www.opendap.org/pub/source/csv_handler-%{version}.tar.gz
13 # Source0-md5:  59a3c15979143753a70efc5a1a23c6fc
14 URL:            http://opendap.org/
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake >= 1:1.10
17 %{?with_tests:BuildRequires:    bes >= 3.13.0}
18 BuildRequires:  bes-devel >= 3.13.0
19 %{?with_tests:BuildRequires:    cppunit-devel >= 1.12.0}
20 BuildRequires:  libdap-devel >= 3.13.0
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libtool >= 2:1.5
23 BuildRequires:  pkgconfig
24 Requires:       bes >= 3.13.0
25 Requires:       libdap >= 3.13.0
26 # old name (single v3.5.1 release from 2010)
27 Obsoletes:      opendap-csv_module
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This is the CSV module for the OPeNDAP data server. It serves data
32 stored in CSV-formatted files.
33
34 %description -l pl.UTF-8
35 Ten pakiet zawiera moduł CSV dla serwera danych OPeNDAP. Serwuje dane
36 zapisane w plikach w formacie CSV.
37
38 %prep
39 %setup -q -n csv_handler-%{version}
40
41 %build
42 # rebuild autotools for -as-needed to work
43 %{__libtoolize}
44 %{__aclocal} -I conf
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure
49 %{__make}
50
51 %{?with_tests:%{__make} check}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc COPYRIGHT ChangeLog NEWS README
67 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/csv.conf
68 %attr(755,root,root) %{_libdir}/bes/libcsv_module.so
69 %dir %{_datadir}/hyrax/data/csv
70 %{_datadir}/hyrax/data/csv/temperature.csv
This page took 0.059219 seconds and 3 git commands to generate.