38 lines
989 B
RPMSpec
38 lines
989 B
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: staxmapper
|
|
Version: 1.2.0
|
|
Release: 1
|
|
Summary: StAX Mapper
|
|
License: LGPLv2+
|
|
URL: https://github.com/jbossas/staxmapper
|
|
Source0: https://github.com/jbossas/staxmapper/archive/%{namedversion}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(junit:junit)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
|
%description
|
|
This package contains the StAX Mapper.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{namedversion}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Sat Aug 15 2020 wangxiao <wangxiao65@huawei.com> - 1.2.0-1
|
|
- Package init
|