Blame SPECS/libarrow.spec

d1a4fa
# -*- sh-shell: rpm -*-
d1a4fa
#
d1a4fa
# Licensed to the Apache Software Foundation (ASF) under one
d1a4fa
# or more contributor license agreements.  See the NOTICE file
d1a4fa
# distributed with this work for additional information
d1a4fa
# regarding copyright ownership.  The ASF licenses this file
d1a4fa
# to you under the Apache License, Version 2.0 (the
d1a4fa
# "License"); you may not use this file except in compliance
d1a4fa
# with the License.  You may obtain a copy of the License at
d1a4fa
#
d1a4fa
#   http://www.apache.org/licenses/LICENSE-2.0
d1a4fa
#
d1a4fa
# Unless required by applicable law or agreed to in writing,
d1a4fa
# software distributed under the License is distributed on an
d1a4fa
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
d1a4fa
# KIND, either express or implied.  See the License for the
d1a4fa
# specific language governing permissions and limitations
d1a4fa
# under the License.
d1a4fa
9db113
%bcond_without use_flight
9db113
%bcond_with use_gandiva
9db113
%bcond_with use_mimalloc
9db113
%bcond_without use_ninja
d1a4fa
# TODO: Enable this. This works on local but is fragile on GitHub Actions and
d1a4fa
# Travis CI.
9db113
%bcond_with use_s3
9db113
%bcond_without have_rapidjson
9db113
%bcond_without have_re2
9db113
%bcond_without have_utf8proc
d1a4fa
d1a4fa
Name:		libarrow
9db113
Version:	7.0.0
e2be6d
Release:	1%{?dist}
9db113
Summary:	A toolbox for accelerated data interchange and in-memory processing
d1a4fa
License:	ASL 2.0
d1a4fa
URL:		https://arrow.apache.org/
d1a4fa
Source0:	https://dist.apache.org/repos/dist/release/arrow/arrow-%{version}/apache-arrow-%{version}.tar.gz
e2be6d
Patch0001:	0001-cpp-CMakeLists.txt.patch
d1a4fa
# Apache ORC (liborc) has numerous compile errors and apparently assumes
d1a4fa
# a 64-bit build and runtime environment. This is only consumer of the liborc
d1a4fa
# package, and in turn the only consumer of this and liborc is Ceph, which
d1a4fa
# is also 64-bit only
9db113
ExcludeArch:	%{ix86} %{arm}
d1a4fa
BuildRequires:	bison
d1a4fa
BuildRequires:	boost-devel
d1a4fa
BuildRequires:	brotli-devel
d1a4fa
BuildRequires:	bzip2-devel
d1a4fa
BuildRequires:	cmake
9db113
%if %{with use_ninja}
d1a4fa
BuildRequires:	ninja-build
d1a4fa
%endif
d1a4fa
BuildRequires:	meson
9db113
%if %{with use_s3}
d1a4fa
BuildRequires:	curl-devel
d1a4fa
%endif
d1a4fa
BuildRequires:	flex
d1a4fa
BuildRequires:	gcc-c++
d1a4fa
BuildRequires:	gflags-devel
d1a4fa
BuildRequires:	glog-devel
d1a4fa
BuildRequires:	grpc-devel
d1a4fa
BuildRequires:	grpc-plugins
d1a4fa
BuildRequires:	libzstd-devel
d1a4fa
BuildRequires:	lz4-devel
d1a4fa
BuildRequires:	openssl-devel
d1a4fa
BuildRequires:	pkgconfig
d1a4fa
BuildRequires:	python3-devel
d1a4fa
BuildRequires:	python3-numpy
d1a4fa
BuildRequires:	xsimd-devel
d1a4fa
BuildRequires:	abseil-cpp-devel
d1a4fa
BuildRequires:	c-ares-devel
d1a4fa
BuildRequires:	thrift-devel
9db113
%if %{with have_rapidjson}
d1a4fa
BuildRequires:	rapidjson-devel
d1a4fa
%endif
9db113
%if %{with have_re2}
d1a4fa
BuildRequires:	re2-devel
d1a4fa
%endif
d1a4fa
BuildRequires:	snappy-devel
9db113
%if %{with have_utf8proc}
d1a4fa
BuildRequires:	utf8proc-devel
d1a4fa
%endif
d1a4fa
BuildRequires:	zlib-devel
d1a4fa
BuildRequires:	liborc-devel
9db113
%if %{with use_gandiva}
d1a4fa
BuildRequires:	llvm-devel
d1a4fa
BuildRequires:	ncurses-devel
d1a4fa
%endif
d1a4fa
BuildRequires:	gobject-introspection-devel
d1a4fa
BuildRequires:	gtk-doc
d1a4fa
d1a4fa
%description
9db113
Apache Arrow defines a language-independent columnar memory
9db113
format for flat and hierarchical data, organized for efficient
9db113
analytic operations on modern hardware like CPUs and GPUs. The
9db113
Arrow memory format also supports zero-copy reads for lightning-
9db113
fast data access without serialization overhead
d1a4fa
d1a4fa
%files
d1a4fa
%{_libdir}/libarrow.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
e2be6d
%package doc
e2be6d
Summary:	Documentation files for Apache Arrow C++
e2be6d
BuildArch:	noarch
e2be6d
e2be6d
%description doc
e2be6d
Documentation files for Apache Arrow C++.
e2be6d
e2be6d
%files doc
e2be6d
%license LICENSE.txt
e2be6d
%doc README.md NOTICE.txt
e2be6d
%exclude %{_docdir}/arrow/
e2be6d
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package devel
d1a4fa
Summary:	Libraries and header files for Apache Arrow C++
d1a4fa
Requires:	%{name} = %{version}-%{release}
d1a4fa
Requires:	brotli-devel
d1a4fa
Requires:	bzip2-devel
d1a4fa
Requires:	libzstd-devel
d1a4fa
Requires:	lz4-devel
d1a4fa
Requires:	openssl-devel
9db113
%if %{with have_rapidjson}
d1a4fa
Requires:	rapidjson-devel
d1a4fa
%endif
9db113
%if %{with have_re2}
d1a4fa
Requires:	re2-devel
d1a4fa
%endif
d1a4fa
Requires:	snappy-devel
9db113
%if %{with have_utf8proc}
d1a4fa
Requires:	utf8proc-devel
d1a4fa
%endif
d1a4fa
Requires:	zlib-devel
d1a4fa
d1a4fa
%description devel
d1a4fa
Libraries and header files for Apache Arrow C++.
d1a4fa
d1a4fa
%files devel
9db113
%dir %{_includedir}/arrow
9db113
     %{_includedir}/arrow/*
d1a4fa
%exclude %{_includedir}/arrow/dataset/
9db113
%if %{with use_flight}
d1a4fa
%exclude %{_includedir}/arrow/flight/
e2be6d
%exclude %{_includedir}/arrow-flight-glib
d1a4fa
%endif
d1a4fa
%exclude %{_includedir}/arrow/python/
e2be6d
%exclude %{_libdir}/cmake/arrow/*
9db113
%dir %{_libdir}/cmake/arrow
9db113
     %{_libdir}/cmake/arrow/ArrowConfig*.cmake
9db113
     %{_libdir}/cmake/arrow/ArrowOptions.cmake
9db113
     %{_libdir}/cmake/arrow/ArrowTargets*.cmake
9db113
     %{_libdir}/cmake/arrow/FindArrow.cmake
9db113
     %{_libdir}/cmake/arrow/arrow-config.cmake
d1a4fa
%{_libdir}/libarrow.so
d1a4fa
%{_libdir}/pkgconfig/arrow-compute.pc
d1a4fa
%{_libdir}/pkgconfig/arrow-csv.pc
d1a4fa
%{_libdir}/pkgconfig/arrow-filesystem.pc
d1a4fa
%{_libdir}/pkgconfig/arrow-json.pc
d1a4fa
%{_libdir}/pkgconfig/arrow-orc.pc
d1a4fa
%{_libdir}/pkgconfig/arrow.pc
9db113
%exclude %{_libdir}/libarrow.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package dataset-libs
e2be6d
Summary:	C++ library to read and write semantic datasets
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description dataset-libs
d1a4fa
This package contains the libraries for Apache Arrow dataset.
d1a4fa
d1a4fa
%files dataset-libs
d1a4fa
%{_libdir}/libarrow_dataset.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package dataset-devel
e2be6d
Summary:	Libraries and header files for Apache Arrow dataset
d1a4fa
Requires:	%{name}-dataset-libs = %{version}-%{release}
d1a4fa
d1a4fa
%description dataset-devel
d1a4fa
Libraries and header files for Apache Arrow dataset.
d1a4fa
d1a4fa
%files dataset-devel
9db113
%dir %{_includedir}/arrow/dataset
9db113
     %{_includedir}/arrow/dataset/*
d1a4fa
%{_libdir}/cmake/arrow/ArrowDatasetConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/ArrowDatasetTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindArrowDataset.cmake
d1a4fa
%{_libdir}/libarrow_dataset.so
d1a4fa
%{_libdir}/pkgconfig/arrow-dataset.pc
9db113
%exclude %{_libdir}/libarrow_dataset.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
9db113
%if %{with use_flight}
d1a4fa
%package flight-libs
e2be6d
Summary:	C++ library for fast data transport
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
Requires:	openssl
d1a4fa
d1a4fa
%description flight-libs
d1a4fa
This package contains the libraries for Apache Arrow Flight.
d1a4fa
d1a4fa
%files flight-libs
d1a4fa
%{_libdir}/libarrow_flight.so.*
e2be6d
%{_libdir}/libarrow-flight-glib.so.*
e2be6d
%{_libdir}/girepository-1.0/ArrowFlight-1.0.typelib
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package flight-devel
e2be6d
Summary:	Libraries and header files for Apache Arrow Flight
d1a4fa
Requires:	%{name}-flight-libs = %{version}-%{release}
d1a4fa
d1a4fa
%description flight-devel
d1a4fa
Libraries and header files for Apache Arrow Flight.
d1a4fa
d1a4fa
%files flight-devel
9db113
%dir %{_includedir}/arrow/flight
e2be6d
     %{_includedir}/arrow/flight/*
e2be6d
%dir %{_includedir}/arrow-flight-glib
e2be6d
     %{_includedir}/arrow-flight-glib/*
d1a4fa
%{_libdir}/cmake/arrow/ArrowFlightConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/ArrowFlightTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindArrowFlight.cmake
d1a4fa
%{_libdir}/libarrow_flight.so
e2be6d
%{_libdir}/libarrow-flight-glib.so
d1a4fa
%{_libdir}/pkgconfig/arrow-flight.pc
e2be6d
%{_libdir}/pkgconfig/arrow-flight-glib.pc
9db113
%exclude %{_libdir}/libarrow_flight.a
9db113
%exclude %{_libdir}/libarrow-flight-glib.a
d1a4fa
%endif
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
9db113
%if %{with use_gandiva}
d1a4fa
%package -n gandiva-libs
e2be6d
Summary:	C++ library for compiling and evaluating expressions
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
Requires:	ncurses-libs
d1a4fa
d1a4fa
%description -n gandiva-libs
d1a4fa
This package contains the libraries for Gandiva.
d1a4fa
d1a4fa
%files -n gandiva-libs
d1a4fa
%{_libdir}/libgandiva.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n gandiva-devel
e2be6d
Summary:	Libraries and header files for Gandiva
d1a4fa
Requires:	gandiva-libs = %{version}-%{release}
d1a4fa
Requires:	llvm-devel
d1a4fa
d1a4fa
%description -n gandiva-devel
d1a4fa
Libraries and header files for Gandiva.
d1a4fa
d1a4fa
%files -n gandiva-devel
9db113
%dir %{_includedir}/gandiva
9db113
     %{_includedir}/gandiva/*
d1a4fa
%{_libdir}/cmake/arrow/GandivaConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/GandivaTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindGandiva.cmake
d1a4fa
%{_libdir}/libgandiva.so
d1a4fa
%{_libdir}/pkgconfig/gandiva.pc
9db113
%exclude %{_libdir}/libgandiva.a
d1a4fa
%endif
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package python-libs
d1a4fa
Summary:	Python integration library for Apache Arrow
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
Requires:	python3-numpy
d1a4fa
d1a4fa
%description python-libs
d1a4fa
This package contains the Python integration library for Apache Arrow.
d1a4fa
d1a4fa
%files python-libs
d1a4fa
%{_libdir}/libarrow_python.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package python-devel
e2be6d
Summary:	Libraries and header files for Python integration library
d1a4fa
Requires:	%{name}-devel = %{version}-%{release}
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-python-libs = %{version}-%{release}
d1a4fa
Requires:	python3-devel
d1a4fa
d1a4fa
%description python-devel
d1a4fa
Libraries and header files for Python integration library for Apache Arrow.
d1a4fa
d1a4fa
%files python-devel
9db113
%dir %{_includedir}/arrow/python
9db113
     %{_includedir}/arrow/python/*
d1a4fa
%exclude %{_includedir}/arrow/python/flight.h
d1a4fa
%{_libdir}/cmake/arrow/ArrowPythonConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/ArrowPythonTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindArrowPython.cmake
d1a4fa
%{_libdir}/libarrow_python.so
d1a4fa
%{_libdir}/pkgconfig/arrow-python.pc
9db113
%exclude %{_libdir}/libarrow_python.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
9db113
%if %{with use_flight}
d1a4fa
%package python-flight-libs
d1a4fa
Summary:	Python integration library for Apache Arrow Flight
d1a4fa
Requires:	%{name}-flight-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-python-libs = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description python-flight-libs
d1a4fa
This package contains the Python integration library for Apache Arrow Flight.
d1a4fa
d1a4fa
%files python-flight-libs
d1a4fa
%{_libdir}/libarrow_python_flight.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package python-flight-devel
e2be6d
Summary:	Libraries and header files for Python integration
d1a4fa
Requires:	%{name}-flight-devel = %{version}-%{release}
d1a4fa
Requires:	%{name}-python-devel = %{version}-%{release}
d1a4fa
Requires:	%{name}-python-flight-libs = %{version}-%{release}
d1a4fa
d1a4fa
%description python-flight-devel
d1a4fa
Libraries and header files for Python integration library for
d1a4fa
Apache Arrow Flight.
d1a4fa
d1a4fa
%files python-flight-devel
d1a4fa
%{_includedir}/arrow/python/flight.h
d1a4fa
%{_libdir}/cmake/arrow/ArrowPythonFlightConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/ArrowPythonFlightTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindArrowPythonFlight.cmake
d1a4fa
%{_libdir}/libarrow_python_flight.so
d1a4fa
%{_libdir}/pkgconfig/arrow-python-flight.pc
9db113
%exclude %{_libdir}/libarrow_python_flight.a
d1a4fa
%endif
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n plasma-libs
d1a4fa
Summary:	Runtime libraries for Plasma in-memory object store
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description -n plasma-libs
d1a4fa
This package contains the libraries for Plasma in-memory object store.
d1a4fa
d1a4fa
%files -n plasma-libs
d1a4fa
%{_libdir}/libplasma.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n plasma-store-server
d1a4fa
Summary:	Server for Plasma in-memory object store
d1a4fa
Requires:	plasma-libs = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description -n plasma-store-server
d1a4fa
This package contains the server for Plasma in-memory object store.
d1a4fa
d1a4fa
%files -n plasma-store-server
d1a4fa
%{_bindir}/plasma-store-server
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
9db113
%package -n plasma-libs-devel
d1a4fa
Summary:	Libraries and header files for Plasma in-memory object store
d1a4fa
Requires:	plasma-libs = %{version}-%{release}
9db113
# plasma-devel a.k.a. kdelibs-devel provides
9db113
# conflicts with all versions of plasma-devel %%{_libdir}/libplasma.so
9db113
BuildConflicts: plasma-devel 
d1a4fa
9db113
%description -n plasma-libs-devel
d1a4fa
Libraries and header files for Plasma in-memory object store.
d1a4fa
9db113
%files -n plasma-libs-devel
9db113
%dir %{_includedir}/plasma
9db113
     %{_includedir}/plasma/*
d1a4fa
%{_libdir}/cmake/arrow/PlasmaConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/PlasmaTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindPlasma.cmake
d1a4fa
%{_libdir}/libplasma.so
d1a4fa
%{_libdir}/pkgconfig/plasma*.pc
9db113
%exclude %{_libdir}/libplasma.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package -n parquet-libs
d1a4fa
Summary:	Runtime libraries for Apache Parquet C++
d1a4fa
Requires:	boost-program-options
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
Requires:	openssl
d1a4fa
d1a4fa
%description -n parquet-libs
d1a4fa
This package contains the libraries for Apache Parquet C++.
d1a4fa
d1a4fa
%files -n parquet-libs
d1a4fa
%{_libdir}/libparquet.so.*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
9db113
%package -n parquet-libs-devel
d1a4fa
Summary:	Libraries and header files for Apache Parquet C++
d1a4fa
Requires:	parquet-libs = %{version}-%{release}
d1a4fa
Requires:	zlib-devel
d1a4fa
9db113
%description -n parquet-libs-devel
d1a4fa
Libraries and header files for Apache Parquet C++.
d1a4fa
9db113
%files -n parquet-libs-devel
9db113
%dir %{_includedir}/parquet
9db113
     %{_includedir}/parquet/*
d1a4fa
%{_libdir}/cmake/arrow/ParquetConfig*.cmake
d1a4fa
%{_libdir}/cmake/arrow/ParquetTargets*.cmake
d1a4fa
%{_libdir}/cmake/arrow/FindParquet.cmake
d1a4fa
%{_libdir}/libparquet.so
d1a4fa
%{_libdir}/pkgconfig/parquet*.pc
9db113
%exclude %{_libdir}/libparquet.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package glib-libs
d1a4fa
Summary:	Runtime libraries for Apache Arrow GLib
d1a4fa
Requires:	%{name} = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description glib-libs
d1a4fa
This package contains the libraries for Apache Arrow GLib.
d1a4fa
d1a4fa
%files glib-libs
d1a4fa
%{_libdir}/libarrow-glib.so.*
e2be6d
%{_libdir}/girepository-1.0/Arrow-1.0.typelib
e2be6d
%exclude %{_datadir}/doc/arrow-glib/*
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package glib-devel
d1a4fa
Summary:	Libraries and header files for Apache Arrow GLib
d1a4fa
Requires:	%{name}-devel = %{version}-%{release}
e2be6d
Requires:	%{name}-glib-libs = %{version}-%{release}
d1a4fa
Requires:	glib2-devel
d1a4fa
Requires:	gobject-introspection-devel
d1a4fa
d1a4fa
%description glib-devel
d1a4fa
Libraries and header files for Apache Arrow GLib.
d1a4fa
d1a4fa
%files glib-devel
9db113
%dir %{_includedir}/arrow-glib
9db113
     %{_includedir}/arrow-glib/*
d1a4fa
%{_libdir}/libarrow-glib.so
d1a4fa
%{_libdir}/pkgconfig/arrow-glib.pc
d1a4fa
%{_libdir}/pkgconfig/arrow-orc-glib.pc
d1a4fa
%{_datadir}/arrow-glib/example/
e2be6d
%{_datadir}/gir-1.0/Arrow-1.0.gir
e2be6d
%{_datadir}/gir-1.0/ArrowFlight-1.0.gir
9db113
%exclude %{_libdir}/libarrow-glib.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package glib-doc
d1a4fa
Summary:	Documentation for Apache Arrow GLib
d1a4fa
d1a4fa
%description glib-doc
d1a4fa
Documentation for Apache Arrow GLib.
d1a4fa
d1a4fa
%files glib-doc
9db113
%dir %{_datadir}/gtk-doc/html/arrow-glib
9db113
     %{_datadir}/gtk-doc/html/arrow-glib/*
9db113
%dir %{_datadir}/gtk-doc/html/arrow-flight-glib
9db113
     %{_datadir}/gtk-doc/html/arrow-flight-glib/*
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package dataset-glib-libs
d1a4fa
Summary:	Runtime libraries for Apache Arrow dataset GLib
d1a4fa
Requires:	%{name}-dataset-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-libs = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description dataset-glib-libs
d1a4fa
This package contains the libraries for Apache Arrow dataset GLib.
d1a4fa
d1a4fa
%files dataset-glib-libs
d1a4fa
%{_libdir}/libarrow-dataset-glib.so.*
e2be6d
%{_libdir}/girepository-1.0/ArrowDataset-1.0.typelib
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package dataset-glib-devel
d1a4fa
Summary:	Libraries and header files for Apache Arrow dataset GLib
d1a4fa
Requires:	%{name}-dataset-devel = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-devel = %{version}-%{release}
e2be6d
Requires:	%{name}-dataset-glib-libs = %{version}-%{release}
d1a4fa
d1a4fa
%description dataset-glib-devel
d1a4fa
Libraries and header files for Apache Arrow dataset GLib.
d1a4fa
d1a4fa
%files dataset-glib-devel
9db113
%dir %{_includedir}/arrow-dataset-glib
9db113
     %{_includedir}/arrow-dataset-glib/
d1a4fa
%{_libdir}/libarrow-dataset-glib.so
d1a4fa
%{_libdir}/pkgconfig/arrow-dataset-glib.pc
e2be6d
%{_datadir}/gir-1.0/ArrowDataset-1.0.gir
9db113
%exclude %{_libdir}/libarrow-dataset-glib.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package dataset-glib-doc
d1a4fa
Summary:	Documentation for Apache Arrow dataset GLib
d1a4fa
d1a4fa
%description dataset-glib-doc
d1a4fa
Documentation for Apache Arrow dataset GLib.
d1a4fa
d1a4fa
%files dataset-glib-doc
9db113
%dir %{_datadir}/gtk-doc/html/arrow-dataset-glib
9db113
     %{_datadir}/gtk-doc/html/arrow-dataset-glib/*
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
9db113
%if %{with use_gandiva}
d1a4fa
%package -n gandiva-glib-libs
d1a4fa
Summary:	Runtime libraries for Gandiva GLib
d1a4fa
Requires:	gandiva-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-libs = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description -n gandiva-glib-libs
d1a4fa
This package contains the libraries for Gandiva GLib.
d1a4fa
d1a4fa
%files -n gandiva-glib-libs
d1a4fa
%{_libdir}/libgandiva-glib.so.*
e2be6d
%{_libdir}/girepository-1.0/Gandiva-1.0.typelib
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n gandiva-glib-devel
d1a4fa
Summary:	Libraries and header files for Gandiva GLib
d1a4fa
Requires:	gandiva-devel = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-devel = %{version}-%{release}
d1a4fa
d1a4fa
%description -n gandiva-glib-devel
d1a4fa
Libraries and header files for Gandiva GLib.
d1a4fa
d1a4fa
%files -n gandiva-glib-devel
9db113
%dir %{_includedir}/gandiva-glib
9db113
     %{_includedir}/gandiva-glib/*
d1a4fa
%{_libdir}/libgandiva-glib.so
d1a4fa
%{_libdir}/pkgconfig/gandiva-glib.pc
e2be6d
%{_datadir}/gir-1.0/Gandiva-1.0.gir
9db113
%exclude %{_libdir}/libgandiva-glib.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package -n gandiva-glib-doc
d1a4fa
Summary:	Documentation for Gandiva GLib
d1a4fa
d1a4fa
%description -n gandiva-glib-doc
d1a4fa
Documentation for Gandiva GLib.
d1a4fa
d1a4fa
%files -n gandiva-glib-doc
9db113
%dir %{_datadir}/gtk-doc/html/gandiva-glib
9db113
     %{_datadir}/gtk-doc/html/gandiva-glib/*
d1a4fa
%endif
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n plasma-glib-libs
d1a4fa
Summary:	Runtime libraries for Plasma GLib
d1a4fa
Requires:	plasma-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-libs = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description -n plasma-glib-libs
d1a4fa
This package contains the libraries for Plasma GLib.
d1a4fa
d1a4fa
%files -n plasma-glib-libs
d1a4fa
%{_libdir}/libplasma-glib.so.*
e2be6d
%{_libdir}/girepository-1.0/Plasma-1.0.typelib
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n plasma-glib-devel
d1a4fa
Summary:	Libraries and header files for Plasma GLib
d1a4fa
Requires:	plasma-devel = %{version}-%{release}
e2be6d
Requires:	plasma-glib-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-devel = %{version}-%{release}
d1a4fa
d1a4fa
%description -n plasma-glib-devel
d1a4fa
Libraries and header files for Plasma GLib.
d1a4fa
d1a4fa
%files -n plasma-glib-devel
9db113
%dir %{_includedir}/plasma-glib
9db113
     %{_includedir}/plasma-glib/
d1a4fa
%{_libdir}/libplasma-glib.so
d1a4fa
%{_libdir}/pkgconfig/plasma-glib.pc
e2be6d
%{_datadir}/gir-1.0/Plasma-1.0.gir
9db113
%exclude %{_libdir}/libplasma-glib.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package -n plasma-glib-doc
d1a4fa
Summary:	Documentation for Plasma GLib
d1a4fa
d1a4fa
%description -n plasma-glib-doc
d1a4fa
Documentation for Plasma GLib.
d1a4fa
d1a4fa
%files -n plasma-glib-doc
9db113
%dir %{_datadir}/gtk-doc/html/plasma-glib
9db113
     %{_datadir}/gtk-doc/html/plasma-glib/*
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package -n parquet-glib-libs
d1a4fa
Summary:	Runtime libraries for Apache Parquet GLib
d1a4fa
Requires:	parquet-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-libs = %{version}-%{release}
e2be6d
Requires:	%{name}-doc = %{version}-%{release}
d1a4fa
d1a4fa
%description -n parquet-glib-libs
d1a4fa
This package contains the libraries for Apache Parquet GLib.
d1a4fa
d1a4fa
%files -n parquet-glib-libs
d1a4fa
%{_libdir}/libparquet-glib.so.*
e2be6d
%{_libdir}/girepository-1.0/Parquet-1.0.typelib
d1a4fa
9db113
#--------------------------------------------------------------------
9db113
d1a4fa
%package -n parquet-glib-devel
d1a4fa
Summary:	Libraries and header files for Apache Parquet GLib
d1a4fa
Requires:	parquet-devel = %{version}-%{release}
e2be6d
Requires:	parquet-glib-libs = %{version}-%{release}
d1a4fa
Requires:	%{name}-glib-devel = %{version}-%{release}
d1a4fa
d1a4fa
%description -n parquet-glib-devel
d1a4fa
Libraries and header files for Apache Parquet GLib.
d1a4fa
d1a4fa
%files -n parquet-glib-devel
9db113
%dir %{_includedir}/parquet-glib
9db113
     %{_includedir}/parquet-glib/*
d1a4fa
%{_libdir}/libparquet-glib.so
d1a4fa
%{_libdir}/pkgconfig/parquet-glib.pc
e2be6d
%{_datadir}/gir-1.0/Parquet-1.0.gir
9db113
%exclude %{_libdir}/libparquet-glib.a
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%package -n parquet-glib-doc
d1a4fa
Summary:	Documentation for Apache Parquet GLib
d1a4fa
d1a4fa
%description -n parquet-glib-doc
d1a4fa
Documentation for Apache Parquet GLib.
d1a4fa
d1a4fa
%files -n parquet-glib-doc
9db113
%dir %{_datadir}/gtk-doc/html/parquet-glib
9db113
     %{_datadir}/gtk-doc/html/parquet-glib/*
9db113
9db113
#--------------------------------------------------------------------
9db113
9db113
%prep
9db113
%autosetup -p1 -n apache-arrow-%{version}
9db113
9db113
%build
9db113
pushd cpp
9db113
%cmake . \
9db113
%if %{with use_flight}
9db113
  -DARROW_FLIGHT=ON \
9db113
%endif
9db113
%if %{with use_gandiva}
9db113
  -DARROW_GANDIVA=ON \
9db113
%endif
9db113
%if %{with use_mimalloc}
9db113
  -DARROW_MIMALLOC=ON \
9db113
%endif
9db113
  -DARROW_ORC=ON \
9db113
  -DARROW_PARQUET=ON \
9db113
  -DARROW_PLASMA=ON \
9db113
  -DARROW_PYTHON=ON \
9db113
  -DARROW_JEMALLOC=OFF \
9db113
  -DGRPC_SOURCE="SYSTEM" \
9db113
  -Dxsimd_SOURCE="SYSTEM" \
9db113
%if %{with use_s3}
9db113
  -DARROW_S3=ON \
9db113
%endif
9db113
  -DARROW_WITH_BROTLI=ON \
9db113
  -DARROW_WITH_BZ2=ON \
9db113
  -DARROW_WITH_LZ4=ON \
9db113
  -DARROW_WITH_SNAPPY=ON \
9db113
  -DARROW_WITH_ZLIB=ON \
9db113
  -DARROW_WITH_ZSTD=ON \
9db113
  -DARROW_WITH_XSIMD=ON \
9db113
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
9db113
  -DCMAKE_COLOR_MAKEFILE:BOOL=OFF \
9db113
  -DARROW_USE_CCACHE=OFF \
9db113
  -DCMAKE_UNITY_BUILD=ON \
9db113
  -DPARQUET_REQUIRE_ENCRYPTION=ON \
9db113
  -DPythonInterp_FIND_VERSION=ON \
9db113
  -DPythonInterp_FIND_VERSION_MAJOR=3 \
9db113
%if %{with use_ninja}
9db113
  -GNinja
9db113
%endif
9db113
9db113
export VERBOSE=1
9db113
export GCC_COLORS=
9db113
%cmake_build
9db113
popd
9db113
9db113
pushd c_glib
9db113
%meson \
9db113
  -Darrow_cpp_build_dir=../cpp/%{_vpath_builddir} \
9db113
  -Darrow_cpp_build_type=relwithdebinfo \
9db113
  -Dgtk_doc=true
9db113
%meson_build
9db113
9db113
#--------------------------------------------------------------------
9db113
9db113
%check
9db113
9db113
#--------------------------------------------------------------------
9db113
9db113
%install
9db113
pushd c_glib
9db113
%meson_install
9db113
popd
9db113
9db113
pushd cpp
9db113
%cmake_install
9db113
popd
9db113
9db113
#--------------------------------------------------------------------
d1a4fa
d1a4fa
%changelog
9db113
* Thu Jan 13 2022  Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 7.0.0-1
9db113
- New upstream release.
d1a4fa
8f38c3
* Thu Jan 13 2022  Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 4.0.1-2
8f38c3
- rebuild from lookaside
8f38c3