[RPM (6.0)] [DIST generic] icu4j-4.2.1.1-1.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : icu4j                        Relocations: (not relocatable)
Version     : 4.2.1.1                           Vendor: JPackage Project
Release     : 1.jpp6                        Build Date: Tue 07 Aug 2012 09:45:38 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 16068526                         License: MIT and EPL
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www-306.ibm.com/software/globalization/icu/index.jsp
Summary     : International Components for Unicode for Java
Description :
The International Components for Unicode (ICU) library provides robust and
full-featured Unicode services on a wide variety of platforms. ICU supports
the most current version of the Unicode standard, and provides support for
supplementary characters (needed for GB 18030 repertoire support).

Java provides a very strong foundation for global programs, and IBM and the
ICU team played a key role in providing globalization technology into Sun's
Java. But because of its long release schedule, Java cannot always keep
up-to-date with evolving standards. The ICU team continues to extend Java's
Unicode and internationalization support, focusing on improving
performance, keeping current with the Unicode standard, and providing
richer APIs, while remaining as compatible as possible with the original
Java text and internationalization API design.

---------------
Ralph Apel <[email protected]> 0:4.2.1.1-1
- 4.2.1.1
---------------
icu4j.src: W: source-or-patch-not-bzipped icu4j-crosslink.patch
icu4j.src: W: source-or-patch-not-bzipped icu4j-osgiconfigdir.patch
icu4j.src: W: no-signature
icu4j.src: W: invalid-license EPL
1 packages and 0 specfiles checked; 0 errors, 4 warnings.

---------------
Index: icu4j.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/icu4j/icu4j.spec,v
retrieving revision 1.4
diff -u -r1.4 icu4j.spec
--- icu4j.spec	6 Aug 2008 17:59:24 -0000	1.4
+++ icu4j.spec	7 Aug 2012 08:02:55 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, JPackage Project
+# Copyright (c) 2000-2012, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -49,30 +49,23 @@
 %endif
 
 Name:           icu4j
-Version:        3.8.1
-Release:        5%{?dist}
+Version:        4.2.1.1
+Release:        1%{?dist}
 Epoch:          0
 Summary:        International Components for Unicode for Java
 License:        MIT and EPL 
 URL:            http://www-306.ibm.com/software/globalization/icu/index.jsp
 Group:          Development/Libraries/Java
-Source0:        http://download.icu-project.org/files/icu4j/3.8.1/icu4j-3_8_1-src.jar
+Source0:        http://download.icu-project.org/files/icu4j/4.2.1.1/icu4j-4_2_1_1-src.jar
 Patch0:         %{name}-crosslink.patch
 # Set the OSGi shared configuration dir for our split (libdir and
 # datadir) Eclipse packages.  Will go away once 3.4 is in.
 Patch1:         %{name}-osgiconfigdir.patch
-# Update the MANIFEST.MF to have the same qualifier in the bundle as is
-# in Eclipse's Orbit project
-Patch2:         %{name}-updatetimestamp.patch
-# Bundle the source instead of having it be an exploded directory.  This
-# doesn't work with a 3.3 Eclipse SDK but will with a 3.4 so we'll have
-# to rebuild once we get 3.4 in.
-Patch3:         %{name}-individualsourcebundle.patch
-BuildRequires:  ant
-BuildRequires:  java-javadoc
-BuildRequires:  java-devel
+BuildRequires:  ant >= 0:1.7
+BuildRequires:  aqute-bndlib
+BuildRequires:  java-devel >= 0:1.6.0
 BuildRequires:  zip
-Requires:       jpackage-utils
+Requires:       jpackage-utils >= 0:1.7.5
 %if %with eclipse
 BuildRequires:  eclipse-pde >= 0:3.2.1
 %endif
@@ -118,8 +111,6 @@
 %setup -q -c
 %patch0 -p0
 %patch1 -p0
-%patch2 -p0
-%patch3 -p0
 
 %{__sed} -i 's/\r//' license.html
 %{__sed} -i 's/\r//' APIChangeReport.html
@@ -132,12 +123,26 @@
 
 %build
 %if %without eclipse
-%ant -Dicu4j.javac.source=1.5 -Dicu4j.javac.target=1.5 -Dj2se.apidoc=%{_javadocdir}/java jar docs
+%ant -Dicu4j.javac.source=1.5 -Dicu4j.javac.target=1.5 -Dj2se.apidoc=%{_javadocdir}/java all
 %else
 %ant -Dj2se.apidoc=%{_javadocdir}/java -Declipse.home=%{eclipse_base} \
   -Declipse.basews=gtk -Declipse.baseos=linux \
   -Declipse.basearch=%{eclipse_arch} jar docs eclipsePDEBuild
 %endif
+# add bundle atts
+cat > %{name}.properties <<EOP
+Bundle-SymbolicName: com.ibm.icu; singleton:=true
+Bundle-Version: %{version}
+EOP
+java -jar $(build-classpath aqute-bndlib) wrap -properties %{name}.properties %{name}.jar
+cp %{name}.bar %{name}.jar
+
+cat > %{name}-charsets.properties <<EOP
+Bundle-SymbolicName: com.ibm.icu.charsets
+Bundle-Version: %{version}
+EOP
+java -jar $(build-classpath aqute-bndlib) wrap -properties %{name}-charsets.properties %{name}-charsets.jar
+cp %{name}-charsets.bar %{name}-charsets.jar
 
 %install
 %__rm -rf %{buildroot} 
@@ -145,6 +150,7 @@
 # jars
 %__mkdir_p %{buildroot}%{_javadir}
 %__cp -ap %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
+%__cp -ap %{name}-charsets.jar %{buildroot}%{_javadir}/%{name}-charsets-%{version}.jar
 (cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do %__ln_s ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
 
 # javadoc
@@ -184,6 +190,12 @@
 %endif
 
 %changelog
+* Thu Aug 02 2012 Ralph Apel <[email protected]> 0:4.2.1.1-1
+- 4.2.1.1
+
+* Wed Oct 13 2010 Ralph Apel <[email protected]> 0:4.0.1.1-1
+- 4.0.1.1
+
 * Wed Aug 06 2008 David Walluck <[email protected]> 0:3.8.1-5
 - BuildArch: noarch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.