Blob Blame History Raw
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}

Name:             jboss-common-beans
Version:          1.1.0
Release:          3%{dist}
Summary:          JBoss Common Beans
License:          LGPLv2 and ASL 2.0
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
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Thu Jul 04 2013 Marek Goldmann <mgoldman@redhat.com> - 1.1.0-1
- Initial import