Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
jakarta-taglibs-standard
jakarta-taglibs-standard.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jakarta-taglibs-standard.spec of Package jakarta-taglibs-standard
# # spec file for package jakarta-taglibs-standard (Version 1.1.1) # # Copyright (c) 2008 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 Name: jakarta-taglibs-standard BuildRequires: ant java-devel servletapi5 xalan-j2 xml-commons-apis %define base_name standard %define short_name taglibs-%{base_name} %define name jakarta-%{short_name} %define section free %define jversion 1.1.1 %define version 1.1.1 %define release 4jpp Version: 1.1.1 Release: 234 Summary: Open Source Implementation of the JSP Standard Tag Library License: The Apache Software License Group: Development/Libraries/Java Url: http://jakarta.apache.org/taglibs/ Source: http://www.apache.org/dist/jakarta/taglibs/standard/source/jakarta-taglibs-standard-%{jversion}-src.tar.bz2 Patch0: %{name}-%{version}-build.patch Patch1: %{name}-java6-compatibility.patch Patch2: %{name}-%{version}-remove-enums.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: servletapi5 >= 5.0.16 %description This package contains releases for the 1.1.x versions of the Standard Tag Library, Jakarta Taglibs's open source implementation of the JSP Standard Tag Library (JSTL), version 1.1. JSTL is a standard under the Java Community Process. %package javadoc License: The Apache Software License PreReq: coreutils Summary: Javadoc for jakarta-taglibs-standard Group: Development/Libraries/Java %description javadoc This package contains the javadoc documentation for Jakarta Taglibs. %prep %setup -q -n %{name}-%{jversion}-src %patch0 %patch1 -b .sav1 %patch2 -b .sav2 cat > build.properties <<EOBP build.dir=build dist.dir=dist servlet24.jar=$(build-classpath servletapi5) jsp20.jar=$(build-classpath jspapi) xalan.jar=$(build-classpath xalan-j2) EOBP %build ant \ -Dfinal.name=%{short_name} \ -Dj2se.javadoc=%{_javadocdir}/java \ -f standard/build.xml \ dist %install # jars mkdir -p $RPM_BUILD_ROOT%{_javadir} cp -p standard/dist/standard/lib/jstl.jar $RPM_BUILD_ROOT%{_javadir}/jakarta-taglibs-core-%{version}.jar cp -p standard/dist/standard/lib/standard.jar $RPM_BUILD_ROOT%{_javadir}/jakarta-taglibs-standard-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|jakarta-||g"`; done) (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) # javadoc mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr standard/dist/standard/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink %clean rm -rf $RPM_BUILD_ROOT %post javadoc rm -f %{_javadocdir}/%{name} ln -s %{name}-%{version} %{_javadocdir}/%{name} %files %defattr(0644,root,root,0755) %doc standard/README_src.txt standard/README_bin.txt standard/dist/doc/doc/standard-doc/*.html %{_javadir}/* %files javadoc %defattr(0644,root,root,0755) %doc %{_javadocdir}/%{name}-%{version} %ghost %doc %{_javadocdir}/%{name} %changelog * Tue Aug 05 2008 mvyskocil@suse.cz - fixed build using openjdk6 (add java6 API and remove enums) - use bzip2 in source tarball - use macro name in patches - use source=1.5 and target=1.5 * Mon Sep 18 2006 ro@suse.de - fix build with java-1.5 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Jul 28 2005 jsmeix@suse.de - Adjustments in the spec file. * Mon Jul 18 2005 jsmeix@suse.de - Current version 1.1.1 from JPackage.org * Thu Sep 16 2004 skh@suse.de - Fix prerequires of javadoc subpackage * Mon Sep 06 2004 skh@suse.de - Initial package created with version 1.1.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