%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jboss-common-beans Version: 1.1.0 Release: 1%{dist} Summary: JBoss Common Beans License: LGPLv2 Url: http://www.jboss.org Source0: https://github.com/jboss/jboss-common-beans/archive/%{namedversion}.tar.gz BuildRequires: jboss-parent BuildRequires: maven-local BuildRequires: buildnumber-maven-plugin BuildRequires: maven-failsafe-plugin BuildRequires: maven-checkstyle-plugin BuildArch: noarch %description JBoss Property Editors library. Contains set of Property Editors for commonly used java types, as well as alternative version of Property Editors provided by JDK. It also contains simple utility classes which ease tasks related to property edition. %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jboss-common-beans-%{namedversion} %pom_xpath_remove "pom:build/pom:extensions" # The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? %pom_remove_plugin :maven-failsafe-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc LICENSE.txt README.md %files javadoc -f .mfiles-javadoc %doc LICENSE.txt %changelog * Thu Jul 04 2013 Marek Goldmann - 1.1.0-1 - Initial import