package init
This commit is contained in:
parent
c3f8a29b12
commit
5495da62ad
148
icu4j-63.2.pom
Normal file
148
icu4j-63.2.pom
Normal file
@ -0,0 +1,148 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
* © 2016 and later: Unicode, Inc. and others.
|
||||
* License & terms of use: http://www.unicode.org/copyright.html#License
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2010-2016, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j</artifactId>
|
||||
<version>63.2</version>
|
||||
|
||||
<name>ICU4J</name>
|
||||
<description>
|
||||
International Component for Unicode for Java (ICU4J) is a mature, widely used Java library
|
||||
providing Unicode and Globalization support
|
||||
</description>
|
||||
<url>http://icu-project.org/</url>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Unicode/ICU License</name>
|
||||
<url>https://raw.githubusercontent.com/unicode-org/icu/master/icu4c/LICENSE</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>macchiati</id>
|
||||
<name>Mark Davis</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>JCEmmons</id>
|
||||
<name>John Emmons</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>dougfelt</id>
|
||||
<name>Doug Felt</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>deborah</id>
|
||||
<name>Deborah Goldsmith</name>
|
||||
<organization>Apple</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>srl295</id>
|
||||
<name>Steven Loomis</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>markusicu</id>
|
||||
<name>Markus Scherer</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>pedberg</id>
|
||||
<name>Peter Edberg</name>
|
||||
<organization>Apple</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>yumaoka</id>
|
||||
<name>Yoshito Umaoka</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>icu-support</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-support</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-support</unsubscribe>
|
||||
<post>icu-support@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-support</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>icu-announce</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-announce</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-announce</unsubscribe>
|
||||
<post>icu-announce@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-announce</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>icu-design</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-design</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-design</unsubscribe>
|
||||
<post>icu-design@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-design</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com/unicode-org/icu.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:unicode-org/icu.git</developerConnection>
|
||||
<url>https://github.com/unicode-org/icu</url>
|
||||
</scm>
|
||||
|
||||
<issueManagement>
|
||||
<system>JIRA</system>
|
||||
<url>https://unicode-org.atlassian.net/projects/ICU</url>
|
||||
</issueManagement>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>icu4j-releases</id>
|
||||
<name>ICU4J Central Repository</name>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>icu4j-snapshots</id>
|
||||
<name>ICU4J Central Development Repository</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
BIN
icu4j-63_2.tgz
Normal file
BIN
icu4j-63_2.tgz
Normal file
Binary file not shown.
151
icu4j-charset-63.2.pom
Normal file
151
icu4j-charset-63.2.pom
Normal file
@ -0,0 +1,151 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
* © 2017 and later: Unicode, Inc. and others.
|
||||
* License & terms of use: http://www.unicode.org/copyright.html#License
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-charset</artifactId>
|
||||
<version>63.2</version>
|
||||
|
||||
<name>ICU4J Charset Provider</name>
|
||||
<description>
|
||||
icu4j-charset is a supplemental library for icu4j, implementing Java Charset SPI.
|
||||
</description>
|
||||
<url>http://icu-project.org/</url>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Unicode/ICU License</name>
|
||||
<url>https://raw.githubusercontent.com/unicode-org/icu/master/icu4c/LICENSE</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>macchiati</id>
|
||||
<name>Mark Davis</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>JCEmmons</id>
|
||||
<name>John Emmons</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>dougfelt</id>
|
||||
<name>Doug Felt</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>deborah</id>
|
||||
<name>Deborah Goldsmith</name>
|
||||
<organization>Apple</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>srl295</id>
|
||||
<name>Steven Loomis</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>markusicu</id>
|
||||
<name>Markus Scherer</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>pedberg</id>
|
||||
<name>Peter Edberg</name>
|
||||
<organization>Apple</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>yumaoka</id>
|
||||
<name>Yoshito Umaoka</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>icu-support</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-support</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-support</unsubscribe>
|
||||
<post>icu-support@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-support</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>icu-announce</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-announce</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-announce</unsubscribe>
|
||||
<post>icu-announce@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-announce</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>icu-design</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-design</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-design</unsubscribe>
|
||||
<post>icu-design@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-design</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com/unicode-org/icu.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:unicode-org/icu.git</developerConnection>
|
||||
<url>https://github.com/unicode-org/icu</url>
|
||||
</scm>
|
||||
|
||||
<issueManagement>
|
||||
<system>JIRA</system>
|
||||
<url>https://unicode-org.atlassian.net/projects/ICU</url>
|
||||
</issueManagement>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>icu4j-releases</id>
|
||||
<name>ICU4J Central Repository</name>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>icu4j-snapshots</id>
|
||||
<name>ICU4J Central Development Repository</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j</artifactId>
|
||||
<version>63.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
151
icu4j-localespi-63.2.pom
Normal file
151
icu4j-localespi-63.2.pom
Normal file
@ -0,0 +1,151 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
* © 2017 and later: Unicode, Inc. and others.
|
||||
* License & terms of use: http://www.unicode.org/copyright.html#License
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-localespi</artifactId>
|
||||
<version>63.2</version>
|
||||
|
||||
<name>ICU4J Locale Service Provider</name>
|
||||
<description>
|
||||
icu4j-localespi is a supplemental library for icu4j, implementing Java Locale SPI.
|
||||
</description>
|
||||
<url>http://icu-project.org/</url>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Unicode/ICU License</name>
|
||||
<url>https://raw.githubusercontent.com/unicode-org/icu/master/icu4c/LICENSE</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>macchiati</id>
|
||||
<name>Mark Davis</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>JCEmmons</id>
|
||||
<name>John Emmons</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>dougfelt</id>
|
||||
<name>Doug Felt</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>deborah</id>
|
||||
<name>Deborah Goldsmith</name>
|
||||
<organization>Apple</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>srl295</id>
|
||||
<name>Steven Loomis</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>markusicu</id>
|
||||
<name>Markus Scherer</name>
|
||||
<organization>Google</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>pedberg</id>
|
||||
<name>Peter Edberg</name>
|
||||
<organization>Apple</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>yumaoka</id>
|
||||
<name>Yoshito Umaoka</name>
|
||||
<organization>IBM Corporation</organization>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>icu-support</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-support</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-support</unsubscribe>
|
||||
<post>icu-support@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-support</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>icu-announce</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-announce</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-announce</unsubscribe>
|
||||
<post>icu-announce@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-announce</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>icu-design</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/icu-design</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/icu-design</unsubscribe>
|
||||
<post>icu-design@lists.sourceforge.net</post>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=icu-design</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com/unicode-org/icu.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:unicode-org/icu.git</developerConnection>
|
||||
<url>https://github.com/unicode-org/icu</url>
|
||||
</scm>
|
||||
|
||||
<issueManagement>
|
||||
<system>JIRA</system>
|
||||
<url>https://unicode-org.atlassian.net/projects/ICU</url>
|
||||
</issueManagement>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>icu4j-releases</id>
|
||||
<name>ICU4J Central Repository</name>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>icu4j-snapshots</id>
|
||||
<name>ICU4J Central Development Repository</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j</artifactId>
|
||||
<version>63.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
96
icu4j.spec
Normal file
96
icu4j.spec
Normal file
@ -0,0 +1,96 @@
|
||||
%global gittag %(v=%{version}; echo "release-$v" | sed 's/\\./-/')
|
||||
%global srctgz %(v=%{version}; echo "icu4j-$v" | sed 's/\\./_/')
|
||||
Name: icu4j
|
||||
Version: 63.2
|
||||
Release: 1
|
||||
Epoch: 1
|
||||
Summary: International Components for Unicode for Java
|
||||
License: Unicode and MIT and BSD and Public Domain
|
||||
URL: https://github.com/unicode-org/icu/
|
||||
Source0: https://github.com/unicode-org/icu/releases/download/release-63-2/icu4j-63_2.tgz
|
||||
Source1: https://repo1.maven.org/maven2/com/ibm/icu/icu4j/%{version}/icu4j-%{version}.pom
|
||||
Source2: https://repo1.maven.org/maven2/com/ibm/icu/icu4j-charset/%{version}/icu4j-charset-%{version}.pom
|
||||
Source3: https://repo1.maven.org/maven2/com/ibm/icu/icu4j-localespi/%{version}/icu4j-localespi-%{version}.pom
|
||||
Patch0: improve-osgi-manifest.patch
|
||||
BuildRequires: ant ant-junit java-javadoc javapackages-local ivy-local
|
||||
BuildArch: noarch
|
||||
%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.
|
||||
|
||||
%package charset
|
||||
Summary: Charset converter library of %{name}
|
||||
%description charset
|
||||
Charset converter library of %{name}.
|
||||
|
||||
%package localespi
|
||||
Summary: Locale SPI library of %{name}
|
||||
%description localespi
|
||||
Locale SPI library of %{name}.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Requires: java-javadoc
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
%patch0
|
||||
sed -i -e 's/junit-4.12/junit-SYSTEM/' \
|
||||
-e 's/hamcrest-core-1.3/hamcrest-core-SYSTEM/' build.xml
|
||||
sed -i -e '/pl.pragmatists/d' ivy.xml
|
||||
rm main/tests/core/src/com/ibm/icu/dev/test/format/DataDrivenFormatTest.java
|
||||
rm main/tests/core/src/com/ibm/icu/dev/test/calendar/DataDrivenCalendarTest.java
|
||||
rm main/tests/core/src/com/ibm/icu/dev/test/serializable/CompatibilityTest.java
|
||||
rm main/tests/core/src/com/ibm/icu/dev/test/serializable/CoverageTest.java
|
||||
rm main/tests/charset/src/com/ibm/icu/dev/test/charset/TestConversion.java
|
||||
rm main/tests/translit/src/com/ibm/icu/dev/test/translit/TransliteratorDisorderedMarksTest.java
|
||||
rm main/tests/charset/src/com/ibm/icu/dev/test/charset/TestSelection.java
|
||||
rm main/tests/charset/src/com/ibm/icu/dev/test/charset/TestCharset.java
|
||||
rm main/tests/core/src/com/ibm/icu/dev/test/format/TimeZoneFormatTest.java
|
||||
|
||||
%build
|
||||
export JAVA_HOME=%{_jvmdir}/java/
|
||||
mkdir -p ~/.ant/lib
|
||||
ant -Divy.mode=local -Doffline=true -Dicu4j.api.doc.jdk.link=%{_javadocdir}/java \
|
||||
all check
|
||||
mkdir -p maven/icu4j{,-charset,-localespi}
|
||||
cp -p %{SOURCE1} maven/icu4j/pom.xml
|
||||
cp -p %{SOURCE2} maven/icu4j-charset/pom.xml
|
||||
cp -p %{SOURCE3} maven/icu4j-localespi/pom.xml
|
||||
for jar in icu4j icu4j-charset icu4j-localespi ; do
|
||||
sed -i -e 's/@POMVERSION@/%{version}/' maven/$jar/pom.xml
|
||||
%mvn_artifact maven/$jar/pom.xml $jar.jar
|
||||
%mvn_package :$jar $jar
|
||||
done
|
||||
|
||||
%install
|
||||
%mvn_install -J doc
|
||||
install -m 644 icu4j-charset.jar %{buildroot}%{_javadir}/icu4j/
|
||||
install -m 644 icu4j-localespi.jar %{buildroot}%{_javadir}/icu4j/
|
||||
|
||||
%files -f .mfiles-icu4j
|
||||
%license main/shared/licenses/*
|
||||
%doc readme.html APIChangeReport.html
|
||||
|
||||
%files charset -f .mfiles-icu4j-charset
|
||||
|
||||
%files localespi -f .mfiles-icu4j-localespi
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license main/shared/licenses/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 1 2020 chengzihan <chengzihan2@huawei.com> - 63.2-1
|
||||
- Package init
|
||||
4
icu4j.yaml
Normal file
4
icu4j.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: unicode-org/icu
|
||||
tag_prefix: "release-"
|
||||
seperator: "-"
|
||||
47
improve-osgi-manifest.patch
Normal file
47
improve-osgi-manifest.patch
Normal file
@ -0,0 +1,47 @@
|
||||
--- manifest.stub.orig 2018-11-27 10:26:04.174847598 +0000
|
||||
+++ manifest.stub 2018-11-27 10:27:14.685508767 +0000
|
||||
@@ -15,5 +15,23 @@
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
Main-Class: com.ibm.icu.util.VersionInfo
|
||||
-Export-Package: com.ibm.icu.lang,com.ibm.icu.math,com.ibm.icu.number,com.ibm.icu.text,com.ibm.icu.util
|
||||
+Export-Package: com.ibm.icu.lang;base=true;full=true;version="@IMPLVERSION@",
|
||||
+ com.ibm.icu.math;base=true;full=true;version="@IMPLVERSION@",
|
||||
+ com.ibm.icu.number;base=true;full=true;version="@IMPLVERSION@",
|
||||
+ com.ibm.icu.text;base=true;full=true;version="@IMPLVERSION@",
|
||||
+ com.ibm.icu.util;base=true;full=true;version="@IMPLVERSION@",
|
||||
+ com.ibm.icu.impl;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.brkitr;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.coll;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.curr;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.lang;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.rbnf;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.region;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.translit;x-internal:=true,
|
||||
+ com.ibm.icu.impl.data.icudt@DATAVERSION@b.zone;x-internal:=true,
|
||||
+ com.ibm.icu.impl.duration;x-internal:=true,
|
||||
+ com.ibm.icu.impl.locale;x-internal:=true
|
||||
+Bundle-ActivationPolicy: lazy
|
||||
Automatic-Module-Name: com.ibm.icu
|
||||
--- main/shared/build/common-targets.xml.orig 2014-11-17 14:59:05.335849961 +0000
|
||||
+++ main/shared/build/common-targets.xml 2014-11-17 14:59:36.868423736 +0000
|
||||
@@ -75,6 +75,7 @@
|
||||
<filterset>
|
||||
<filter token="SPECVERSION" value="${jar.spec.version}"/>
|
||||
<filter token="IMPLVERSION" value="${jar.impl.version}"/>
|
||||
+ <filter token="DATAVERSION" value="${icu4j.data.version}"/>
|
||||
<filter token="COPYRIGHT" value="${jar.copyright.info}"/>
|
||||
<filter token="EXECENV" value="${jar.exec.env}"/>
|
||||
</filterset>
|
||||
--- build.xml.orig 2014-11-17 21:45:53.308610711 +0000
|
||||
+++ build.xml 2014-11-17 21:46:29.969096734 +0000
|
||||
@@ -683,6 +683,7 @@
|
||||
<filterset>
|
||||
<filter token="SPECVERSION" value="${jar.spec.version}"/>
|
||||
<filter token="IMPLVERSION" value="${jar.impl.version}"/>
|
||||
+ <filter token="DATAVERSION" value="${icu4j.data.version}"/>
|
||||
<filter token="COPYRIGHT" value="${jar.copyright.info}"/>
|
||||
<filter token="EXECENV" value="${jar.exec.env}"/>
|
||||
</filterset>
|
||||
Loading…
x
Reference in New Issue
Block a user