diff --git a/univocity-parsers.spec b/univocity-parsers.spec new file mode 100644 index 0000000..74f524b --- /dev/null +++ b/univocity-parsers.spec @@ -0,0 +1,47 @@ +Name: univocity-parsers +Version: 2.5.5 +Release: 1%{?dist} +Summary: Collection of parsers for Java +License: ASL 2.0 +URL: https://github.com/uniVocity/univocity-parsers +BuildArch: noarch + +Source0: https://github.com/uniVocity/univocity-parsers/archive/v%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) + +%description +uniVocity-parsers is a suite of extremely fast and reliable parsers +for Java. It provides a consistent interface for handling different +file formats, and a solid framework for the development of new +parsers. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q + +%pom_remove_plugin :nexus-staging-maven-plugin + +%build +# Tests require univocity-output-tester, which is not packaged yet. +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE-2.0.html + +%files javadoc -f .mfiles-javadoc +%license LICENSE-2.0.html + +%changelog +* Thu Sep 14 2017 Mikolaj Izdebski - 2.5.5-1 +- Initial packaging