diff --git a/serp-1.15.2-20150412-cvs.tar.xz b/serp-1.15.2-20150412-cvs.tar.xz new file mode 100644 index 0000000..2e57ae5 Binary files /dev/null and b/serp-1.15.2-20150412-cvs.tar.xz differ diff --git a/serp.spec b/serp.spec new file mode 100644 index 0000000..0e8bfa5 --- /dev/null +++ b/serp.spec @@ -0,0 +1,65 @@ +Name: serp +Version: 1.15.2 +Release: 1 +Summary: Byte-code manipulation framework +License: BSD +Url: http://serp.sourceforge.net/ +# cvs -d:pserver:anonymous@serp.cvs.sourceforge.net:/cvsroot/serp login +# cvs -z3 -d:pserver:anonymous@serp.cvs.sourceforge.net:/cvsroot/serp export -r HEAD serp +# tar cJf serp-1.15.2-20150412-cvs.tar.xz serp +Source0: serp-1.15.2-20150412-cvs.tar.xz + +BuildRequires: maven-local mvn(junit:junit) + +BuildArch: noarch + +%description +The goal of the serp byte-code framework is to tap the full +power of byte-code modification while lowering its associated +costs. The framework provides a set of high-level APIs for +manipulating all aspects of byte-code, from large-scale +structures like class member fields to the individual +instructions that comprise the code of methods. While in +order to perform any advanced manipulation, some understanding +of the class file format and especially of the JVM instruction +set is necessary, the framework makes it as easy as possible +to enter the world of byte-code development. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n %{name} +find . -name "*.class" -delete +find . -name "*.jar" -delete + +%pom_remove_plugin :jxr-maven-plugin +%pom_remove_plugin :maven-assembly-plugin +%pom_remove_plugin :maven-site-plugin +%pom_remove_plugin :maven-source-plugin +%pom_remove_plugin :surefire-report-maven-plugin +%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']" + +%mvn_file :%{name} %{name} +%mvn_alias :%{name} %{name}:%{name} + +%build + +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + +%files -f .mfiles +%doc README.txt +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Fri Aug 21 2020 wangxiao - 1.15.2-1 +- package init diff --git a/serp.yaml b/serp.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/serp.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA