Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
servletapi3
servletapi3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File servletapi3.spec of Package servletapi3
# # spec file for package servletapi3 (Version 3.3.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # # norootforbuild # icecream 0 Name: servletapi3 BuildRequires: ant java2-devel-packages xml-commons-apis %define base_name servletapi %define major_version 3 %define name %{base_name}%{major_version} %define full_name jakarta-%{base_name} %define version 3.3.1 %define release 0.a.2jpp %define section free Version: 3.3.1 Release: 273 Summary: Java servlet and JSP implementation classes License: The Apache Software License Group: Development/Libraries/Java Url: http://jakarta.apache.org/tomcat/ Source0: http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/src/jakarta-servletapi-src.tar.gz Patch: %{name}-java14compat.patch Provides: servlet PreReq: /usr/sbin/update-alternatives BuildRequires: jpackage-utils >= 1.5 BuildRequires: ant >= 1.6.2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: servlet3 Obsoletes: servlet22 Provides: servlet3 Provides: servlet22 %description This subproject contains the source code for the implementation classes of the Java Servlet and JSP APIs (packages javax.servlet). %package javadoc License: The Apache Software License PreReq: coreutils Group: Development/Libraries/Java Summary: Javadoc for servletapi3 %description javadoc This package contains the javadoc documentation for the implementation classes of the Java Servlet and JSP APIs (packages javax.servlet). %prep %setup -q -n %{full_name}-src %patch %build ant dist -Dservletapi.build=build -Dservletapi.dist=dist %install # jar install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 dist/lib/servlet.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} ${jar/-%{version}/}; done) #javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %post update-alternatives --install %{_javadir}/servlet.jar servlet %{_javadir}/%{name}-%{version}.jar 30 %postun if [ "$1" = "0" ]; then update-alternatives --remove servlet %{_javadir}/%{name}-%{version}.jar fi %files %defattr(0644,root,root,0755) %doc LICENSE README %{_javadir}/* %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name} %changelog * Wed Sep 27 2006 skh@suse.de - don't use icecream - use source="1.4" and target="1.4" for build with java 1.5 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Jul 29 2005 jsmeix@suse.de - Adjustments in the spec file. * Mon Jul 18 2005 jsmeix@suse.de - Current version 3.3.1 from JPackage.org * Thu Sep 16 2004 skh@suse.de - Fix prerequires of javadoc subpackage * Thu Sep 02 2004 skh@suse.de - Initial package with version 3.3.1 (JPackage 1.5)
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