46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
Name: spec-version-maven-plugin
|
|
Version: 1.2
|
|
Release: 1
|
|
Summary: Spec Version Maven Plugin
|
|
License: CDDL or GPLv2 with exceptions
|
|
URL: http://glassfish.java.net/
|
|
Source0: https://github.com/javaee/spec-version-maven-plugin/archive/1.2.tar.gz
|
|
Source1: https://github.com/javaee/spec-version-maven-plugin/raw/master/LICENSE
|
|
BuildRequires: mvn(net.java:jvnet-parent:pom:) mvn(org.apache.maven:maven-core)
|
|
BuildRequires: mvn(org.apache.maven:maven-model) mvn(org.apache.maven:maven-plugin-api)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-resources)
|
|
BuildRequires: mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: maven-local maven-plugin-build-helper maven-plugin-plugin
|
|
BuildArch: noarch
|
|
%description
|
|
Maven Plugin to configure APIs version and
|
|
specs in a MANIFEST.MF file.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s|mvn|mvn-rpmbuild|" src/main/resources/checkVersion.sh
|
|
cp -p %{SOURCE1} LICENSE.txt
|
|
sed -i 's/\r//' LICENSE.txt
|
|
%mvn_file :%{name} %{name}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE.txt
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE.txt
|
|
|
|
%changelog
|
|
* Wed Jul 22 2020 yaokai <yaokai13@huawei.com> - 1.2-1
|
|
- package init
|