44 lines
1.2 KiB
RPMSpec
44 lines
1.2 KiB
RPMSpec
name: univocity-parsers
|
|
Version: 2.5.5
|
|
Release: 5
|
|
Summary: Java Collection of parsers
|
|
License: ASL 2.0
|
|
URL: https://github.com/uniVocity/univocity-parsers
|
|
Source0: https://github.com/uniVocity/univocity-parsers/archive/v%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
|
%description
|
|
uniVocity-parsers is an extremely fast and reliable parser for Java. It provides a consistent
|
|
interface for working with different file formats and a solid framework for developing new parsers.
|
|
|
|
%package help
|
|
Summary: univocity-parsers Javadoc
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
univocity-parsers API documentation.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%pom_remove_plugin :nexus-staging-maven-plugin
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE-2.0.html
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Tue Dec 3 2019 duyeyu <duyeyu@huawei.com> - 2.5.5-5
|
|
- Package init
|