Projects
Eulaceura:Mainline:GA
glassfish-pfl
_service:obs_scm:glassfish-pfl.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:glassfish-pfl.spec of Package glassfish-pfl
%global namedreltag -b001 %global namedversion %{version}%{?namedreltag} Name: glassfish-pfl Version: 3.2.0 Release: 2 Summary: GlassFish Primitive Function Library License: (CDDL-1.0 OR GPL-2.0-with-classpath-exception) AND Apache-2.0 URL: http://java.net/projects/gmbal/pages/Home # hg clone -r VERSION-3.2.0-b001 https://hg.java.net/hg/gmbal~pfl glassfish-pfl-3.2.0-b001 # find glassfish-pfl-3.2.0-b001/ -name '*.jar' -delete # find glassfish-pfl-3.2.0-b001/ -name '*.class' -delete # find glassfish-pfl-3.2.0-b001/ -name '*.zip' -delete # rm -rf glassfish-pfl-3.2.0-b001/src/org/glassfish/pfl/objectweb # tar czf glassfish-pfl-3.2.0-b001-src-hg.tar.gz glassfish-pfl-3.2.0-b001 Source0: %{name}-%{namedversion}-src-hg.tar.gz Source1: %{name}-%{namedversion}-00-build.xml Source2: http://repo1.maven.org/maven2/org/glassfish/pfl/pfl-basic/3.2.0-b001/pfl-basic-3.2.0-b001.pom Source3: http://repo1.maven.org/maven2/org/glassfish/pfl/pfl-basic-tools/3.2.0-b001/pfl-basic-tools-3.2.0-b001.pom Source4: http://repo1.maven.org/maven2/org/glassfish/pfl/pfl-dynamic/3.2.0-b001/pfl-dynamic-3.2.0-b001.pom Source5: pfl-ff-%{namedversion}.pom Source6: http://repo1.maven.org/maven2/org/glassfish/pfl/pfl-tf/3.2.0-b001/pfl-tf-3.2.0-b001.pom Source7: http://repo1.maven.org/maven2/org/glassfish/pfl/pfl-tf-tools/3.2.0-b001/pfl-tf-tools-3.2.0-b001.pom Source8: http://repo1.maven.org/maven2/org/glassfish/pfl/pfl-test/3.2.0-b001/pfl-test-3.2.0-b001.pom Source9: glassfish-LICENSE.txt Source10: http://www.apache.org/licenses/LICENSE-2.0.txt Patch0: %{name}-%{namedversion}-use-system-asm.patch BuildRequires: ant aqute-bnd javapackages-local objectweb-asm3 BuildRequires: geronimo-ejb hamcrest 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. This package provides the gmbal Primitive Function Library. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{namedversion} cp -p %{SOURCE1} build.xml %patch0 -p1 cp -p %{SOURCE4} pom-dynamic.xml %pom_remove_dep org.glassfish.pfl:pfl-asm pom-dynamic.xml %pom_xpath_inject "pom:project/pom:dependencies" " <dependency> <groupId>asm</groupId> <artifactId>asm</artifactId> <version>3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-util</artifactId> <version>3</version> </dependency>" pom-dynamic.xml cp -p %{SOURCE6} pom-tf.xml %pom_remove_dep org.glassfish.pfl:pfl-asm pom-tf.xml %pom_xpath_inject "pom:project/pom:dependencies" " <dependency> <groupId>asm</groupId> <artifactId>asm</artifactId> <version>3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-tree</artifactId> <version>3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-util</artifactId> <version>3</version> </dependency>" pom-tf.xml cp -p %{SOURCE7} pom-tf-tools.xml %pom_remove_dep org.glassfish.pfl:pfl-asm pom-tf-tools.xml %pom_xpath_inject "pom:project/pom:dependencies" " <dependency> <groupId>asm</groupId> <artifactId>asm</artifactId> <version>3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-tree</artifactId> <version>3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-util</artifactId> <version>3</version> </dependency>" pom-tf-tools.xml cp -p %{SOURCE9} LICENSE.txt cp -p %{SOURCE10} . sed -i 's/\r//' LICENSE.txt LICENSE-2.0.txt %build %ant dist javadoc test %install %mvn_artifact %{SOURCE2} target/pfl-basic.jar %mvn_artifact %{SOURCE3} target/pfl-basic-tools.jar %mvn_artifact pom-dynamic.xml target/pfl-dynamic.jar %mvn_artifact %{SOURCE5} target/pfl-ff.jar %mvn_artifact pom-tf.xml target/pfl-tf.jar %mvn_artifact pom-tf-tools.xml target/pfl-tf-tools.jar %mvn_artifact %{SOURCE8} target/pfl-test.jar %mvn_install -J target/apidocs %files -f .mfiles %license LICENSE.txt LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt LICENSE-2.0.txt %changelog * Thu May 12 2022 Ge Wang <wangge20@h-partners.com> - 3.2.0-2 - License compliance rectification * Tue Aug 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.2.0-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2