Name: neko-htmlunit Version: 2.23 Release: 1%{?dist} Summary: HtmlUnit adaptation of NekoHtml License: ASL 2.0 URL: http://htmlunit.sourceforge.net # svn export http://svn.code.sf.net/p/htmlunit/code/tags/HtmlUnit\ NekoHtml-2.23 neko-htmlunit-2.23 # tar cJf neko-htmlunit-2.23.tar.xz neko-htmlunit-2.23 Source0: neko-htmlunit-%{version}.tar.xz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(xerces:xercesImpl) # Modified version of NekoHtml # see https://sourceforge.net/p/htmlunit/mailman/message/34963360/ Provides: bundled(nekohtml) = 1.9.22 BuildArch: noarch %description HtmlUnit adaptation of NekoHtml. It has the same functionality but exposing HTMLElements to be overridden. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n neko-htmlunit-%{version} %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-scm-plugin %mvn_file net.sourceforge.htmlunit:%{name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Thu Jul 28 2016 gil cattaneo 2.23-1 - update to 2.23 * Thu Jun 02 2016 gil cattaneo 2.21-1 - initial rpm