Name: cglib Version: 3.2.4 Release: 9 Summary: Code Generation Library for Java License: ASL 2.0 and BSD URL: https://github.com/cglib/cglib Source0: https://github.com/cglib/cglib/archive/RELEASE_3_2_4.tar.gz BuildArch: noarch BuildRequires: maven-local maven-plugin-bundle javapackages-local mvn(org.apache.ant:ant) BuildRequires: mvn(org.ow2.asm:asm) mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:) %description cglib is a powerful, high performance and quality code generation library for Java. It is used to extend Java classes and implements interfaces at run-time. %package help Summary: API documentation for cglib Provides: %{name}-javadoc = %{version}-%{release} Obsoletes: %{name}-javadoc < %{version}-%{release} %description help The help for cglib to use. %prep %autosetup -n %{name}-RELEASE_3_2_4 -p1 %pom_disable_module cglib-nodep %pom_disable_module cglib-integration-test %pom_disable_module cglib-jmh %pom_xpath_set pom:packaging 'bundle' cglib %pom_xpath_inject pom:build/pom:plugins ' org.apache.felix maven-bundle-plugin 1.4.0 true net.sf.cglib.core net.* org.apache.tools.*;resolution:=optional,* ' cglib %pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample %pom_remove_plugin -r :maven-javadoc-plugin %pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "true" cglib %mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib" %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE NOTICE %files help -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Thu Nov 14 2019 wangye - 3.2.4-9 - Package init