Name: bounce Version: 0.19 Release: 1%{?dist} Summary: Java Swing extensions License: BSD URL: http://www.edankert.com/bounce/ # svn export http://svn.code.sf.net/p/bounce/svn bounce-0.19 # rm -rf bounce-0.19/repository # tar cJf bounce-0.19.tar.xz bounce-0.19 Source0: %{name}-%{version}.tar.xz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildArch: noarch %description A set of Java and Swing extensions, including layout managers like a FormLayout and CenterLayout, image filters, a comprehensive messaging mechanism, a XMLEditorKit with syntax highlighting and automatic indentation and more. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q %pom_xpath_remove "pom:project/pom:repositories" %pom_remove_plugin :maven-assembly-plugin %pom_remove_plugin :maven-site-plugin # expected:<[sub/]test.tst> but was:<[file:~/BUILD/bounce-0.19/\temp\test\sub\]test.tst> rm -r src/test/java/org/bounce/util/URIUtilsTest.java sed -i 's/\r//' license.txt %mvn_file edankert.com:%{name} %{name} %mvn_alias edankert.com:%{name} org.%{name}: %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %license license.txt %files javadoc -f .mfiles-javadoc %license license.txt %changelog * Mon May 11 2015 gil cattaneo 0.19-1 - initial rpm