42 lines
1.3 KiB
RPMSpec
42 lines
1.3 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jboss-annotations-1.2-api
|
|
Version: 1.0.0
|
|
Release: 1
|
|
Summary: Common Annotations 1.2 API
|
|
License: CDDL or GPLv2 with exceptions
|
|
URL: https://github.com/jboss/jboss-annotations-api_spec
|
|
Source0: https://github.com/jboss/jboss-annotations-api_spec/archive/jboss-annotations-api_1.2_spec-%{namedversion}.tar.gz
|
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
|
BuildArch: noarch
|
|
%description
|
|
This package contains Common Annotations 1.2 API.
|
|
|
|
%package help
|
|
Summary: Javadoc for %{name}
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
%description help
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-%{namedversion}
|
|
%pom_remove_plugin :maven-source-plugin
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README
|
|
%license LICENSE
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.0.0-1
|
|
- package init
|