OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jakarta-taglibs-standard?expand=0&rev=1
This commit is contained in:
commit
e3ca537911
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
jakarta-taglibs-standard-1.1.1-build.patch
Normal file
19
jakarta-taglibs-standard-1.1.1-build.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- standard/build.xml.orig 2004-10-22 11:16:21.000000000 -0400
|
||||
+++ standard/build.xml 2004-10-22 11:17:53.000000000 -0400
|
||||
@@ -164,14 +164,11 @@
|
||||
<!-- Build the tag library itself -->
|
||||
<target name="library-build" depends="prepare-build">
|
||||
|
||||
- <!-- Compile the taglib.
|
||||
- Need to override xalan classes if using J2SE 1.4, that's why we
|
||||
- use bootclasspath. Works with J2SE 1.3 as well. -->
|
||||
+ <!-- Compile the taglib. -->
|
||||
<javac
|
||||
srcdir="${library.src}"
|
||||
destdir="${build.library}/classes"
|
||||
- bootclasspath="${xalan.jar}:${java.home}/lib/rt.jar"
|
||||
- classpath="${servlet24.jar}:${jsp20.jar}:${jdbc2_0-stdext.jar}:${jaxp-api.jar}:${dom.jar}:${sax.jar}"
|
||||
+ classpath="${xalan.jar}:${servlet24.jar}:${jsp20.jar}:${jdbc2_0-stdext.jar}:${jaxp-api.jar}:${dom.jar}:${sax.jar}"
|
||||
excludes="org/apache/taglibs/standard/lang/jstl/parser/jsp20/* org/apache/taglibs/standard/lang/jpath/** org/apache/taglibs/standard/lang/spel/**"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
3
jakarta-taglibs-standard-1.1.1-src.tar.gz
Normal file
3
jakarta-taglibs-standard-1.1.1-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a75a8ad1a9c7c53e29f8cefdb2435227556c81925fa9d9dcf15ece2f3a1fb37
|
||||
size 283401
|
30
jakarta-taglibs-standard.changes
Normal file
30
jakarta-taglibs-standard.changes
Normal file
@ -0,0 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 17 22:44:30 CEST 2006 - ro@suse.de
|
||||
|
||||
- fix build with java-1.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:46:39 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 28 15:01:10 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Adjustments in the spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 16:34:00 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Current version 1.1.1 from JPackage.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 14:53:41 CEST 2004 - skh@suse.de
|
||||
|
||||
- Fix prerequires of javadoc subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 00:24:26 CEST 2004 - skh@suse.de
|
||||
|
||||
- Initial package created with version 1.1.1 (JPackage 1.5)
|
||||
|
115
jakarta-taglibs-standard.spec
Normal file
115
jakarta-taglibs-standard.spec
Normal file
@ -0,0 +1,115 @@
|
||||
#
|
||||
# spec file for package jakarta-taglibs-standard (Version 1.1.1)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: jakarta-taglibs-standard
|
||||
BuildRequires: ant java2-devel-packages 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: 23
|
||||
Summary: Open Source Implementation of the JSP Standard Tag Library
|
||||
License: Apache
|
||||
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.gz
|
||||
Patch0: jakarta-taglibs-standard-%{version}-build.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Requires: servletapi5 >= 0: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
|
||||
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
|
||||
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
|
||||
if ! grep -q "javac.*source=" standard/build.xml ; then
|
||||
perl -p -i -e 's|<javac |<javac source=\"1.4\" |' standard/build.xml
|
||||
perl -p -i -e 's|<javadoc |<javadoc source=\"1.4\" |' standard/build.xml
|
||||
fi
|
||||
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 -n jakarta-taglibs-standard
|
||||
* Sun Sep 17 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)
|
Loading…
Reference in New Issue
Block a user