Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
glassfish-el
glassfish-el.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glassfish-el.spec of Package glassfish-el
# # spec file for package glassfish-el # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global reltag b08 %global verbase 3.0.1 %bcond_with tests Name: glassfish-el Version: %{verbase}~%{reltag} Release: 0 Summary: J2EE Expression Language Implementation License: CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 Group: Development/Libraries/Java URL: http://uel.java.net # svn export https://svn.java.net/svn/uel~svn/tags/javax.el-%{verbase}-%{reltag}/ glassfish-el-%{verbase}-%{reltag} # rm -r glassfish-el-%{verbase}-%{reltag}/fonts # rm -r glassfish-el-%{verbase}-%{reltag}/parent-pom # rm -r glassfish-el-%{verbase}-%{reltag}/repo # rm -r glassfish-el-%{verbase}-%{reltag}/spec # rm -r glassfish-el-%{verbase}-%{reltag}/uel # rm -r glassfish-el-%{verbase}-%{reltag}/www # tar cJf glassfish-el-%{verbase}-%{reltag}.tar.xz glassfish-el-%{verbase}-%{reltag} Source0: %{name}-%{verbase}-%{reltag}-clean.tar.xz Source1: %{name}-%{verbase}-%{reltag}-build.tar.xz Source2: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: ant BuildRequires: fdupes BuildRequires: javacc BuildRequires: javapackages-local >= 6 Requires: %{name}-api = %{version} BuildArch: noarch %if %{with tests} BuildRequires: ant-junit %endif %description This project provides an implementation of the Expression Language (EL). The main goals are: * Improves current implementation: bug fixes and performance improvements * Provides API for use by other tools, such as Netbeans %package api Summary: Expression Language 3.0 API License: Apache-2.0 AND (CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0) Group: Development/Libraries/Java %description api Expression Language 3.0 API. %package javadoc Summary: Javadoc for %{name} License: Apache-2.0 AND (CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0) Group: Documentation/HTML %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{verbase}-%{reltag} -a1 cp -p %{SOURCE2} . # Fix apis version %pom_xpath_set "pom:project/pom:version" %{verbase}-%{reltag} api # Add missing build dep %pom_add_dep javax.el:javax.el-api:'${project.version}' # Let javacc regenerate this one to avoid some type incompatibilities rm impl/src/main/java/com/sun/el/parser/TokenMgrError.java %build mkdir -p lib %{ant} \ -Djavacc.home=%{_javadir} \ %if %{without tests} -Dtest.skip=true \ %endif all %install # jar install -dm 0755 %{buildroot}%{_javadir} install -pm 0644 api/target/javax.el-api-%{verbase}-%{reltag}.jar %{buildroot}%{_javadir}/%{name}-api.jar install -pm 0644 target/javax.el-%{verbase}-%{reltag}.jar %{buildroot}%{_javadir}/%{name}.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir} %{mvn_install_pom} api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-api.pom %add_maven_depmap %{name}-api.pom %{name}-api.jar -a "javax.el:el-api,org.glassfish:javax.el-api" -f api %{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom %add_maven_depmap %{name}.pom %{name}.jar -a "org.eclipse.jetty.orbit:com.sun.el,org.glassfish.web:javax.el,org.glassfish:javax.el-impl" # javadoc install -dm 0755 %{buildroot}%{_javadocdir}/%{name}/api cp -pr api/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/api/ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ %fdupes -s %{buildroot}%{_javadocdir} cp -p api/src/main/javadoc/doc-files/*-spec-license.html . %files -f .mfiles %files api -f .mfiles-api %license LICENSE-2.0.txt *-spec-license.html %files javadoc %license LICENSE-2.0.txt %{_javadocdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor