File fastbit.spec of Package fastbit
#
# spec file for package fastbit
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 1
Name: fastbit
Version: 2.0.3
Release: 0
Summary: An open-source data processing library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: https://sdm.lbl.gov/fastbit/
Source: https://code.lbl.gov/frs/download.php/file/426/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: flex
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
FastBit is an open-source data processing library following the spirit of NoSQL
movement. It offers a set of searching functions supported by compressed bitmap
indexes. It treats user data in the column-oriented manner similar to
well-known database management systems such as Sybase IQ, MonetDB, and Vertica.
It is designed to accelerate user's data selection tasks without imposing undue
requirements. In particular, the user data is NOT required to be under the
control of FastBit software, which allows the user to continue to use their
existing data analysis tools.
%package -n libfastbit%{soname}
Summary: An open-source data processing library
Group: Development/Libraries/C and C++
%description -n libfastbit%{soname}
FastBit is an open-source data processing library following the spirit of NoSQL
movement. It offers a set of searching functions supported by compressed bitmap
indexes. It treats user data in the column-oriented manner similar to
well-known database management systems such as Sybase IQ, MonetDB, and Vertica.
It is designed to accelerate user's data selection tasks without imposing undue
requirements. In particular, the user data is NOT required to be under the
control of FastBit software, which allows the user to continue to use their
existing data analysis tools.
%package -n libfastbit-devel
Summary: Development headers for fastbit
Group: Development/Libraries/C and C++
Requires: libfastbit%{soname} = %{version}
%description -n libfastbit-devel
Development headers for libfastbit.
%prep
%setup -q
autoreconf -fiv
# Fix spurious-executable-permissions
chmod -x README ChangeLog doc/ibisCommandLine.html
%build
%configure --without-java
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
rm -rf %{buildroot}/%{_libdir}/libfastbit.la
%post -n libfastbit%{soname} -p /sbin/ldconfig
%postun -n libfastbit%{soname} -p /sbin/ldconfig
%files -n libfastbit%{soname}
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README ChangeLog
%doc doc/
%{_bindir}/ardea
%{_bindir}/fastbit-config
%{_bindir}/fbmerge
%{_bindir}/ibis
%{_bindir}/rara
%{_bindir}/tcapi
%{_bindir}/thula
%{_bindir}/tiapi
%{_libdir}/libfastbit.so.*
%files -n libfastbit-devel
%defattr(-,root,root)
%dir %{_includedir}/fastbit/
%{_includedir}/fastbit/*.h
%{_includedir}/fastbit/*.hh
%{_libdir}/libfastbit.so
%{_libdir}/libfastbit.a
%changelog