48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
Name: parquet-format
|
|
Version: 2.9.0
|
|
Release: 1
|
|
Summary: Columnar file format for Hadoop
|
|
License: Apache-2.0 and MIT
|
|
URL: http://parquet.io/
|
|
Source0: https://github.com/apache/parquet-format/archive/refs/tags/apache-parquet-format-2.9.0.tar.gz
|
|
Patch0: 0001-use-antrun-plugin-and-update-thrift-to-0.14.0.patch
|
|
|
|
BuildRequires: maven maven-local
|
|
BuildRequires: mvn(junit:junit)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
BuildRequires: mvn(org.slf4j:slf4j-api) exec-maven-plugin apache-rat-plugin
|
|
BuildRequires: thrift mvn(org.apache.thrift:libthrift)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Parquet is a columnar storage format that supports nested data.
|
|
This provides all generated meta-data code.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
|
|
%description javadoc
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-apache-%{name}-%{version} -p1
|
|
%pom_remove_plugin :maven-shade-plugin
|
|
chmod 644 LICENSE
|
|
|
|
%build
|
|
%mvn_build --bootstrap -- -Drat.skip=true
|
|
|
|
%install
|
|
%mvn_install -- -Drat.skip=true
|
|
|
|
%files -f .mfiles
|
|
%doc CONTRIBUTING.md README.md
|
|
%license LICENSE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Fri Jul 2 2021 baizhonggui <baizhonggui@huawei.com> - 2.9.0-1
|
|
- Package init
|