Projects
openEuler:24.03:SP1:Everything
jakarta-server-pages
_service:tar_scm:jakarta-server-pages.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:jakarta-server-pages.spec of Package jakarta-server-pages
%global srcname jsp-api Name: jakarta-server-pages Version: 2.3.6 Release: 1 Summary: Jakarta Server Pages (JSP) License: (EPL-2.0 or GPLv2 with exceptions) and ASL 2.0 %global upstream_version IMPL-%{version}-RELEASE URL: https://github.com/eclipse-ee4j/jsp-api Source0: %{url}/archive/%{upstream_version}/%{srcname}-%{upstream_version}.tar.gz Patch1: 0001-enable-support-for-JDTJavaCompiler-and-AntJavaCompil.patch Patch2: 0002-Port-to-latest-version-of-Servlet-API.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(jakarta.el:jakarta.el-api) BuildRequires: mvn(jakarta.servlet:jakarta.servlet-api) BuildRequires: mvn(javax.servlet:javax.servlet-api) BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.eclipse.jdt:core) BuildRequires: mvn(org.glassfish:javax.el) Provides: glassfish-jsp = %{version}-%{release} Obsoletes: glassfish-jsp < 2.3.4-9 %description Jakarta Server Pages provides a container-independent implementation of the JSP API. %package api Summary: Jakarta Server Pages (JSP) API Provides: glassfish-jsp-api = %{version}-%{release} Obsoletes: glassfish-jsp-api < 2.3.3-6 %description api Jakarta Server Pages provides a container-independent implementation of the JSP API. This package contains the API only. %package javadoc Summary: Javadoc for %{name} Provides: glassfish-jsp-javadoc = %{version}-%{release} Obsoletes: glassfish-jsp-javadoc < 2.3.4-9 Provides: glassfish-jsp-api-javadoc = %{version}-%{release} Obsoletes: glassfish-jsp-api-javadoc < 2.3.3-6 %description javadoc This package contains the API documentation for %{name}. %prep %autosetup -n %{srcname}-%{upstream_version} -p1 %pom_remove_parent . api impl %pom_disable_module spec %mvn_package org.eclipse.ee4j.jsp:jsp-parent __noinstall sed -i "s/2\.3\.7-SNAPSHOT/2.3.6/" api/pom.xml %pom_xpath_inject "pom:dependency[pom:groupId='org.apache.ant']" "<optional>true</optional>" impl %pom_xpath_inject "pom:dependency[pom:groupId='org.eclipse.jdt']" "<optional>true</optional>" impl rm impl/src/main/java/org/apache/jasper/runtime/PerThreadTagHandlerPool.java %mvn_alias org.glassfish.web:jakarta.servlet.jsp \ org.eclipse.jetty.orbit:org.apache.jasper.glassfish \ org.glassfish.web:javax.servlet.jsp %mvn_alias jakarta.servlet.jsp:jakarta.servlet.jsp-api \ javax.servlet.jsp:javax.servlet.jsp-api \ javax.servlet.jsp:jsp-api \ javax.servlet:jsp-api %mvn_file :jakarta.servlet.jsp %{name}/jakarta.servlet.jsp glassfish-jsp javax.servlet.jsp %mvn_file :jakarta.servlet.jsp-api %{name}/jakarta.servlet.jsp-api glassfish-jsp-api %build %mvn_build -s %install %mvn_install %files -f .mfiles-jakarta.servlet.jsp %license LICENSE.md NOTICE.md %doc README.md %files api -f .mfiles-jakarta.servlet.jsp-api %license LICENSE.md NOTICE.md %files javadoc -f .mfiles-javadoc %license LICENSE.md NOTICE.md %changelog * Wed Feb 09 2022 wangkai <wangkai385@huawei.com> - 2.3.6-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