Projects
Eulaceura:Mainline:GA
portlet-2.0-api
_service:obs_scm:portlet-2.0-api.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:portlet-2.0-api.spec of Package portlet-2.0-api
%global api_version 2.0 %global pkg_name portlet-api_%{api_version}_spec Name: portlet-2.0-api Version: 1.0 Release: 1 Summary: Java Portlet Specification V2.0 License: ASL 2.0 Url: http://portals.apache.org/ Source0: https://repo1.maven.org/maven2/org/apache/portals/portlet-api_2.0_spec/1.0/portlet-api_2.0_spec-1.0-project.tar.gz BuildRequires: mvn(org.apache.portals:portals-pom:pom:) BuildRequires: mvn(org.apache.tomcat:tomcat-servlet-api) maven-local maven-plugin-bundle BuildArch: noarch %description The Java Portlet API version 2.0 developed by the Java Community Process JSR-286 Expert Group. %package help Summary: Javadoc for %{name} Provides: %{name}-javadoc = %{version}-%{release} Obsoletes: %{name}-javadoc < %{version}-%{release} %description help This package contains javadoc for %{name}. %prep %setup -q -n portlet-api_2.0_spec-%{version} find . -name '*.class' -delete find . -name '*.jar' -delete for p in LICENSE NOTICE;do iconv -f iso8859-1 -t utf-8 ${p} > ${p}.conv && mv -f ${p}.conv ${p} sed -i 's/\r//' ${p} done sed -i "s|javax.servlet.http;version=2.4,*|javax.servlet.http;version=3.0,*|" pom.xml %pom_remove_dep javax.servlet:servlet-api %pom_add_dep org.apache.tomcat:tomcat-servlet-api::provided %mvn_file :%{pkg_name} %{name} %mvn_alias :%{pkg_name} javax.portlet:portlet-api %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %license LICENSE NOTICE %files help -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.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