diff --git a/invokebinder-1.2.zip b/invokebinder-1.2.zip new file mode 100644 index 0000000..9f1c00f Binary files /dev/null and b/invokebinder-1.2.zip differ diff --git a/invokebinder.spec b/invokebinder.spec new file mode 100644 index 0000000..12bbdf2 --- /dev/null +++ b/invokebinder.spec @@ -0,0 +1,41 @@ +Name: invokebinder +Version: 1.2 +Release: 1 +Summary: A Java DSL for binding method handles forward, rather than backward +License: ASL 2.0 +URL: http://github.com/headius/invokebinder/ +Source0: https://github.com/headius/invokebinder/archive/invokebinder-%{version}.zip +BuildArch: noarch +BuildRequires: maven-local mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:) +%description +This library hopes to provide a more friendly DSL for binding method handles. +Unlike the normal MethodHandle API, handles are bound forward from a source +MethodType and eventually adapted to a final target MethodHandle. Along the +way the transformations are pushed onto a stack and eventually applied in +reverse order, as the standard API demands. + +%package javadoc +Summary: Javadocs for invokebinder +%description javadoc +This package contains the API documentation for invokebinder. + +%prep +%setup -q -n invokebinder-invokebinder-%{version} +find ./ -name '*.jar' -exec rm -f '{}' \; +find ./ -name '*.class' -exec rm -f '{}' \; + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Mon Aug 24 2020 huanghaitao - 1.2-1 +- package init diff --git a/invokebinder.yaml b/invokebinder.yaml new file mode 100644 index 0000000..6e7b9f8 --- /dev/null +++ b/invokebinder.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: headius/invokebinder +tag_prefix: "invokebinder-" +seperator: "."