Name: spec-version-maven-plugin Version: 1.5 Release: 1 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/refs/tags/1.5.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 %pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin %pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin %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 * Mon Dec 18 2023 Ge Wang - 1.5-1 - Update to version 1.5 * Mon Jun 20 2022 Chenyx - 1.2-2 - License compliance rectification * Wed Jul 22 2020 yaokai - 1.2-1 - package init