Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
glassfish-jsp-api
glassfish-jsp-api.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glassfish-jsp-api.spec of Package glassfish-jsp-api
# # spec file for package glassfish-jsp-api # # 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 artifactId javax.servlet.jsp-api Name: glassfish-jsp-api Version: 2.3.3 Release: 0 Summary: Glassfish J2EE JSP API specification License: Apache-2.0 AND (CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0) Group: Development/Libraries/Java URL: http://java.net/jira/browse/JSP Source0: %{artifactId}-%{version}.tar.xz Source1: https://raw.githubusercontent.com/javaee/javaee-jsp-api/%{artifactId}-%{version}/LICENSE Source2: http://www.apache.org/licenses/LICENSE-2.0 Source3: %{name}-build.xml BuildRequires: ant BuildRequires: fdupes BuildRequires: glassfish-el-api BuildRequires: glassfish-servlet-api BuildRequires: javapackages-local BuildArch: noarch %description This project provides a container independent specification of JSP 2.2. Note that this package doesn't contain implementation of this specification. See glassfish-jsp for one of implementations %package javadoc Summary: API documentation for %{name} Group: Development/Libraries/Java BuildArch: noarch %description javadoc %{summary}. %prep %setup -q -n %{artifactId}-%{version} cp -p %{SOURCE1} . cp -p %{SOURCE2} . cp -p %{SOURCE3} build.xml # Submited upstream: http://java.net/jira/browse/JSP-31 sed -i "/<bundle.symbolicName>/s/-api//" pom.xml %pom_xpath_remove "pom:dependency[pom:groupId='javax.el' or pom:groupId='javax.servlet']/pom:scope" # xmvn-connector-gradle does not handle well the ranges of versions # like here [3.0.1-b06,), so change it to a fixed version. # Xmvn is not strict about versions. %pom_xpath_set "pom:dependency[pom:groupId='javax.el']/pom:version" "3.0.1-b06" %build mkdir -p lib build-jar-repository -s lib glassfish-el-api glassfish-servlet-api %{ant} jar javadoc %install # jar install -dm 0755 %{buildroot}%{_javadir}/%{name} install -pm 0644 target/%{artifactId}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifactId}.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} %{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifactId}.pom %add_maven_depmap %{name}/%{artifactId}.pom %{name}/%{artifactId}.jar -a javax.servlet:jsp-api,javax.servlet.jsp:jsp-api # javadoc install -dm 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE LICENSE-2.0 %files javadoc %license LICENSE LICENSE-2.0 %{_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