43 lines
1.3 KiB
RPMSpec
43 lines
1.3 KiB
RPMSpec
Name: jandex-maven-plugin
|
|
Version: 1.0.4
|
|
Release: 1
|
|
Summary: Jandex wrapper for Maven
|
|
License: GPLv3+
|
|
URL: https://github.com/wildfly/jandex-maven-plugin
|
|
Source0: https://github.com/wildfly/jandex-maven-plugin/archive/%{name}-%{version}.tar.gz
|
|
BuildRequires: maven-local mvn(org.apache.maven:maven:pom:)
|
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:) mvn(org.apache.maven:maven-plugin-api)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) mvn(org.jboss:jandex)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
|
BuildArch: noarch
|
|
%description
|
|
This is a Maven plugin used to generate Jandex index files.
|
|
|
|
%package help
|
|
Summary: Javadoc for %{name}
|
|
provides: %{name}-help = %{version}-%{release}
|
|
obsoletes: %{name}-help < %{version}-%{release}
|
|
%description help
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
%mvn_file :%{name} %{name}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.md
|
|
%license LICENSE.txt
|
|
|
|
%files help -f .mfiles-javadoc
|
|
%license LICENSE.txt
|
|
|
|
%changelog
|
|
* Mon Aug 24 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.4-1
|
|
- package init
|