Skip to content

Commit 11c5984

Browse files
committed
Add Arrow GCS as a new deb/rpm for our Linux Packaging jobs
1 parent 4bbb052 commit 11c5984

4 files changed

Lines changed: 64 additions & 0 deletions

File tree

‎dev/tasks/linux-packages/apache-arrow/debian/control.in‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,19 @@ Description: Apache Arrow is a data processing library for analysis
141141
.
142142
This package provides C++ library files for S3 filesystem module.
143143

144+
Package: libarrow-gcs-2700
145+
Section: libs
146+
Architecture: any
147+
Multi-Arch: same
148+
Pre-Depends: ${misc:Pre-Depends}
149+
Depends:
150+
${misc:Depends},
151+
${shlibs:Depends},
152+
libarrow2700 (= ${binary:Version})
153+
Description: Apache Arrow is a data processing library for analysis
154+
.
155+
This package provides C++ library files for GCS filesystem module.
156+
144157
Package: libarrow-flight2700
145158
Section: libs
146159
Architecture: any
@@ -263,6 +276,18 @@ Description: Apache Arrow is a data processing library for analysis
263276
.
264277
This package provides C++ library files for S3 filesystem module.
265278

279+
Package: libarrow-gcs-dev
280+
Section: libdevel
281+
Architecture: any
282+
Multi-Arch: same
283+
Depends:
284+
${misc:Depends},
285+
libarrow-gcs-2700 (= ${binary:Version}),
286+
libarrow-dev (= ${binary:Version})
287+
Description: Apache Arrow is a data processing library for analysis
288+
.
289+
This package provides C++ library files for GCS filesystem module.
290+
266291
Package: libarrow-flight-dev
267292
Section: libdevel
268293
Architecture: any
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/*/libarrow_gcs.so.*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
usr/lib/*/cmake/ArrowGcs/
2+
usr/lib/*/libarrow_gcs.a
3+
usr/lib/*/libarrow_gcs.so
4+
usr/lib/*/pkgconfig/arrow-gcs.pc

‎dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,40 @@ Libraries and header files for Apache Arrow Compute
358358
%{_libdir}/libarrow_compute.so
359359
%{_libdir}/pkgconfig/arrow-compute.pc
360360

361+
%if %{use_gcs}
362+
%package -n %{name}%{so_version}-gcs-libs
363+
Summary: C++ library for the GCS filesystem
364+
License: Apache-2.0
365+
Requires: %{name}%{so_version}-libs = %{version}-%{release}
366+
367+
%description -n %{name}%{so_version}-gcs-libs
368+
This package contains the libraries for Apache Arrow GCS filesystem.
369+
370+
%files -n %{name}%{so_version}-gcs-libs
371+
%defattr(-,root,root,-)
372+
%doc README.md
373+
%license LICENSE.txt NOTICE.txt
374+
%{_libdir}/libarrow_gcs.so.*
375+
376+
%package gcs-devel
377+
Summary: Libraries and header files for Apache Arrow GCS filesystem
378+
License: Apache-2.0
379+
Requires: %{name}%{so_version}-gcs-libs = %{version}-%{release}
380+
Requires: %{name}-devel = %{version}-%{release}
381+
382+
%description gcs-devel
383+
Libraries and header files for Apache Arrow GCS filesystem.
384+
385+
%files gcs-devel
386+
%defattr(-,root,root,-)
387+
%doc README.md
388+
%license LICENSE.txt NOTICE.txt
389+
%{_libdir}/cmake/ArrowGcs/
390+
%{_libdir}/libarrow_gcs.a
391+
%{_libdir}/libarrow_gcs.so
392+
%{_libdir}/pkgconfig/arrow-gcs.pc
393+
%endif
394+
361395
%package -n %{name}%{so_version}-acero-libs
362396
Summary: C++ library to execute a query in streaming
363397
License: Apache-2.0

0 commit comments

Comments
 (0)