spec-version-maven-plugin/spec-version-maven-plugin.spec
2024-06-13 14:54:29 +08:00

49 lines
1.5 KiB
RPMSpec

Name: spec-version-maven-plugin
Version: 1.2
Release: 2
Summary: Spec Version Maven Plugin
License: CDDL-1.1 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
* Thu Jun 13 2024 wulei <wu_lei@hoperun.com> - 1.2-2
- Regulate license information
* Wed Jul 22 2020 yaokai <yaokai13@huawei.com> - 1.2-1
- package init