SHA256
1
0
forked from pool/icu
2013-06-05 17:42:10 +00:00
committed by Git OBS Bridge
parent d4e69c9894
commit b06df78d14
9 changed files with 38 additions and 19 deletions

View File

@@ -18,9 +18,9 @@
Name: icu
%define lname libicu51
Version: 51.1
Version: 51.2
Release: 0
%define aversion 51_1
%define aversion 51_2
Summary: International Components for Unicode
License: X11
Group: Development/Libraries/C and C++
@@ -29,11 +29,9 @@ Url: http://icu-project.org/
#DL-URL: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz
Source: icu4c-%aversion-src.tar.xz
Source2: icu4c-%aversion-docs.tar.xz
Source3: download.sh
# PATCH-FIX-UPSTREAM icu-rpmlint.diff -- http://bugs.icu-project.org/trac/ticket/7808
Source3: sanitize_docs.sh
Patch1: icu-rpmlint.diff
# PATCH-FIX-OPENSUSE icu-remove-datetime.patch vuntz@novell.com -- Do not put date/time in icu-config (needed for build-compare)
Patch99: icu-remove-datetime.patch
Patch2: icu-remove-datetime.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkg-config
@@ -56,8 +54,8 @@ This subpackage contains the runtime programs for interacting with ICU.
# icudata (largest part) is always needed.
Summary: International Components for Unicode (development files)
Group: Development/Libraries/C and C++
# bug437293
%ifarch ppc64
# bug437293
Obsoletes: libicu-64bit
%endif
Requires: timezone
@@ -74,11 +72,10 @@ libraries for ICU which include precompiled locale data.
%package -n libicu-devel
Summary: International Components for Unicode (development files)
Group: Development/Libraries/C and C++
# bug437293
%ifarch ppc64
# bug437293
Obsoletes: libicu-devel-64bit
%endif
#
Requires: %lname = %version
%description -n libicu-devel
@@ -111,8 +108,7 @@ the "%lname" package.
%prep
%setup -qn icu -a2
%patch1 -p1
%patch99 -p1
%patch -P 1 -P 2 -p1
%build
cd source