diff --git a/VERSION-3.2.0-b003.tar.gz b/VERSION-3.2.0-b003.tar.gz new file mode 100644 index 0000000..fd7753c Binary files /dev/null and b/VERSION-3.2.0-b003.tar.gz differ diff --git a/glassfish-gmbal-3.2.0-b003-01-build.xml b/glassfish-gmbal-3.2.0-b003-01-build.xml new file mode 100644 index 0000000..a265cff --- /dev/null +++ b/glassfish-gmbal-3.2.0-b003-01-build.xml @@ -0,0 +1,299 @@ + + +GlassFish MBean Annotation Library. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your CLASSPATH. Tests not executed + =============================================================================== + + + \ No newline at end of file diff --git a/glassfish-gmbal.spec b/glassfish-gmbal.spec new file mode 100644 index 0000000..15ad7af --- /dev/null +++ b/glassfish-gmbal.spec @@ -0,0 +1,56 @@ +%global namedreltag -b003 +%global namedversion %{version}%{?namedreltag} +Name: glassfish-gmbal +Version: 3.2.0 +Release: 1 +Summary: GlassFish MBean Annotation Library +License: CDDL or GPLv2 with exceptions +URL: http://java.net/projects/gmbal/pages/Home +Source0: https://github.com/javaee/gmbal/archive/VERSION-%{namedversion}.tar.gz +Source1: https://src.fedoraproject.org/rpms/glassfish-gmbal/raw/f30/f/%{name}-%{namedversion}-01-build.xml +BuildRequires: ant ant-junit aqute-bnd glassfish-management-api glassfish-pfl +BuildRequires: javapackages-local junit +BuildArch: noarch +%description +The GlassFish MBean Annotation Library (gmbal, pronounced "Gumball") +is a library for using annotations to create Open MBeans. There is similar +functionality in JSR 255 for JDK 7, but gmbal only requires JDK 5. Gmbal +also supports JSR 77 ObjectNames and the GlassFish Version 3 AMX +requirements for MBeans. AS a consequence, gmbal-enabled classes +will be fully manageable in GlassFish v3 using the standard GlassFish +v3 admin tools, while still being manageable with generic MBean tools +when not run under GlassFish v3. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n gmbal-VERSION-%{namedversion} +cp -p %{SOURCE1} build.xml +rm -r test/org/glassfish/gmbal/impl/AMXClientTest.java + +%build +%ant jars javadoc test +bnd wrap -p make/gmbal.bnd -o dist/gmbal.bar dist/gmbal.jar +mv dist/gmbal.bar dist/gmbal.jar +bnd wrap -p make/gmbal-api-only.bnd -o dist/gmbal-api-only.bar dist/gmbal-api-only.jar +mv dist/gmbal-api-only.bar dist/gmbal-api-only.jar + +%install +%mvn_file org.glassfish.gmbal:gmbal %{name} +%mvn_file org.glassfish.gmbal:gmbal-api-only %{name}-api-only +%mvn_artifact make/gmbal.pom dist/gmbal.jar +%mvn_artifact make/gmbal-api-only.pom dist/gmbal-api-only.jar +%mvn_install -J dist/javadoc + +%files -f .mfiles +%license legal/LICENSE.TXT + +%files javadoc -f .mfiles-javadoc +%license legal/LICENSE.TXT + +%changelog +* Mon Aug 17 2020 Ge Wang - 3.2.0-1 +- package init diff --git a/glassfish-gmbal.yaml b/glassfish-gmbal.yaml new file mode 100644 index 0000000..5f9d42d --- /dev/null +++ b/glassfish-gmbal.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: javaee/gmbal +tag_prefix: "VERSION-" +seperator: "."