Accepting request 141722 from X11:common:Factory
- Update to new upstream release 50 OBS-URL: https://build.opensuse.org/request/show/141722 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icu?expand=0&rev=33
This commit is contained in:
commit
d8f9ec555c
@ -1,4 +1,4 @@
|
||||
libicu49
|
||||
libicu50
|
||||
libicu-devel
|
||||
requires -libicu-<targettype>
|
||||
requires "libicu49-<targettype> = <version>"
|
||||
requires "libicu50-<targettype> = <version>"
|
||||
|
15
icu.changes
15
icu.changes
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 14 18:09:09 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 50
|
||||
* Unicode 6.2: Turkish Lira Sign, improved word & line segmentation
|
||||
(BreakIterator) for symbols
|
||||
* CLDR 22.1: Data coverage & quality improved across all major
|
||||
languages; new short width type for weekday names; new zhuyin
|
||||
(Bopomofo) collation for Chinese; improved data for
|
||||
CompactDecimalFormat & RBNF
|
||||
* Time zone data: 2012h
|
||||
* Ordinal-number support in MessageFormat & PluralRules
|
||||
* Deprecate setLocale(locale) in PluralFormat
|
||||
* Dictionary-based break iterators (word segmentation)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 11 21:35:12 UTC 2012 - jengelh@inai.de
|
||||
|
||||
|
104
icu.spec
104
icu.spec
@ -17,23 +17,25 @@
|
||||
|
||||
|
||||
Name: icu
|
||||
%define lname libicu49
|
||||
Version: 49.1
|
||||
%define lname libicu50
|
||||
Version: 50.1
|
||||
Release: 0
|
||||
%define aversion 50_1
|
||||
Summary: International Components for Unicode
|
||||
License: SUSE-XFree86-1.0
|
||||
Group: System/Libraries
|
||||
Url: http://ibm.com/software/globalization/icu
|
||||
Source0: icu4c-49_1-src.tgz
|
||||
Source1: icu4c-49_1-docs.zip
|
||||
Source0: icu4c-%aversion-src.tar.xz
|
||||
Source1: icu4c-%aversion-docs.zip
|
||||
# PATCH-FIX-UPSTREAM icu-rpmlint.diff -- http://bugs.icu-project.org/trac/ticket/7808
|
||||
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
|
||||
BuildRequires: automake
|
||||
#BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -53,6 +55,8 @@ contain any of the data files needed at runtime and present in the icu
|
||||
and icu-locales packages.
|
||||
|
||||
%package -n %lname
|
||||
# Splitting this package is of no significant benefit:
|
||||
# icudata (largest part) is always needed.
|
||||
Summary: International Components for Unicode (development files)
|
||||
Group: Development/Libraries/C and C++
|
||||
# bug437293
|
||||
@ -79,7 +83,7 @@ Group: Development/Libraries/C and C++
|
||||
Obsoletes: libicu-devel-64bit
|
||||
%endif
|
||||
#
|
||||
Requires: %lname = %{version}
|
||||
Requires: %lname = %version
|
||||
|
||||
%description -n libicu-devel
|
||||
ICU is a C++ and C library that provides robust and full-featured
|
||||
@ -96,7 +100,7 @@ Unicode support. This package contains the html documentation.
|
||||
%package data
|
||||
Summary: International Components for Unicode (Sources for the Data in ICU)
|
||||
Group: System/Libraries
|
||||
Requires: %lname >= %{version}
|
||||
Requires: %lname >= %version
|
||||
|
||||
%description data
|
||||
ICU is a C++ and C library that provides robust and full-featured
|
||||
@ -113,15 +117,15 @@ the "%lname" package.
|
||||
%setup -q -n icu
|
||||
mkdir html
|
||||
pushd html
|
||||
unzip %{SOURCE1}
|
||||
unzip %{S:1}
|
||||
popd
|
||||
%patch1 -p1
|
||||
%patch99 -p1
|
||||
|
||||
%build
|
||||
cd source
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags} -DICU_DATA_DIR=\\\"/usr/share/icu/%{version}/\\\""
|
||||
export CXXFLAGS="%optflags -DICU_DATA_DIR=\\\"/usr/share/icu/%version/\\\""
|
||||
export CFLAGS="$CXXFLAGS"
|
||||
%configure --disable-static --with-pic\
|
||||
--enable-shared \
|
||||
--without-samples
|
||||
@ -131,18 +135,18 @@ make %{?_smp_mflags}
|
||||
find . -name CVS -type d -exec rm -Rf "{}" "+"
|
||||
cd source
|
||||
|
||||
%make_install
|
||||
make install DESTDIR="%buildroot";
|
||||
|
||||
# to extract debug info
|
||||
chmod a+rx %{buildroot}%{_libdir}/*.so.*
|
||||
chmod a+rx "%buildroot/%_libdir"/*.so.*
|
||||
|
||||
# install uncompiled source data:
|
||||
mkdir -p %{buildroot}%{_datadir}/icu/%{version}/unidata
|
||||
install -m 644 data/unidata/*.txt %{buildroot}/%{_datadir}/icu/%{version}/unidata
|
||||
ln -s unidata/UnicodeData.txt %{buildroot}/%{_datadir}/icu/%{version}/
|
||||
mkdir -p "%buildroot/%_datadir/icu/%version/unidata"
|
||||
install -m 644 data/unidata/*.txt "%buildroot/%_datadir/icu/%version/unidata"
|
||||
ln -s unidata/UnicodeData.txt "%buildroot/%_datadir/icu/%version/"
|
||||
|
||||
rm %{buildroot}/%{_datadir}/icu/%{version}/license.html
|
||||
rm %{buildroot}/%{_datadir}/icu/%{version}/install-sh
|
||||
rm "%buildroot/%_datadir/icu/%version/license.html"
|
||||
rm "%buildroot/%_datadir/icu/%version/install-sh"
|
||||
|
||||
%check
|
||||
cd source
|
||||
@ -157,7 +161,7 @@ make check
|
||||
# the (main) package in this case
|
||||
%post
|
||||
if test -d "%_libdir/icu"; then
|
||||
current=$(cd %_libdir/icu; find [0-9]* -maxdepth 1 -type d -printf '%f\n' |
|
||||
current=$(cd "%_libdir/icu"; find [0-9]* -maxdepth 1 -type d -printf '%f\n' |
|
||||
sort -V | tail -n1);
|
||||
if test -n "$current"; then
|
||||
rm -f "%_libdir/icu/current";
|
||||
@ -167,7 +171,7 @@ fi;
|
||||
|
||||
%postun
|
||||
if test -d "%_libdir/icu"; then
|
||||
current=$(cd %_libdir/icu; find [0-9]* -maxdepth 1 -type d -printf '%f\n' |
|
||||
current=$(cd "%_libdir/icu"; find [0-9]* -maxdepth 1 -type d -printf '%f\n' |
|
||||
sort -V | tail -n1);
|
||||
if test -n "$current"; then
|
||||
rm -f "%_libdir/icu/current";
|
||||
@ -180,51 +184,47 @@ fi;
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%defattr(-,root,root)
|
||||
%doc license.html readme.html
|
||||
%dir %{_libdir}/icu/
|
||||
%dir %{_libdir}/icu/%{version}
|
||||
%{_libdir}/icu/current
|
||||
%{_bindir}/derb
|
||||
%{_bindir}/genbrk
|
||||
%{_bindir}/gencfu
|
||||
%{_bindir}/gencnval
|
||||
%{_bindir}/genrb
|
||||
%{_bindir}/genctd
|
||||
%{_bindir}/icuinfo
|
||||
%{_bindir}/makeconv
|
||||
%{_bindir}/pkgdata
|
||||
%{_bindir}/uconv
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/*/*
|
||||
%dir %_libdir/icu
|
||||
%dir %_libdir/icu/%version
|
||||
%_libdir/icu/current
|
||||
%_bindir/derb
|
||||
%_bindir/gen*
|
||||
%_bindir/icuinfo
|
||||
%_bindir/makeconv
|
||||
%_bindir/pkgdata
|
||||
%_bindir/uconv
|
||||
%_sbindir/*
|
||||
%_mandir/*/*
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-, root, root)
|
||||
%attr (755, root, root) %{_libdir}/lib*.so.*
|
||||
%_libdir/libicu*.so.*
|
||||
|
||||
%files -n libicu-devel
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/unicode/
|
||||
%{_includedir}/layout/
|
||||
%{_libdir}/icu/%{version}/Makefile.inc
|
||||
%{_libdir}/icu/%{version}/pkgdata.inc
|
||||
%{_libdir}/icu/Makefile.inc
|
||||
%{_libdir}/icu/pkgdata.inc
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_bindir}/icu-config
|
||||
%dir %{_datadir}/icu
|
||||
%dir %{_datadir}/icu/%{version}
|
||||
%{_datadir}/icu/%{version}/mkinstalldirs
|
||||
%{_datadir}/icu/%{version}/config/
|
||||
%_libdir/libicu*.so
|
||||
%_includedir/unicode/
|
||||
%_includedir/layout/
|
||||
%_libdir/icu/%version/Makefile.inc
|
||||
%_libdir/icu/%version/pkgdata.inc
|
||||
%_libdir/icu/Makefile.inc
|
||||
%_libdir/icu/pkgdata.inc
|
||||
%_libdir/pkgconfig/*.pc
|
||||
%_bindir/icu-config
|
||||
%dir %_datadir/icu
|
||||
%dir %_datadir/icu/%version
|
||||
%_datadir/icu/%version/mkinstalldirs
|
||||
%_datadir/icu/%version/config/
|
||||
|
||||
%files -n libicu-doc
|
||||
%defattr(-, root, root)
|
||||
%defattr(-,root,root)
|
||||
%doc html/
|
||||
|
||||
%files data
|
||||
%defattr(-, root, root)
|
||||
%{_datadir}/icu/%{version}/unidata/
|
||||
%{_datadir}/icu/%{version}/UnicodeData.txt
|
||||
%_datadir/icu/%version/unidata/
|
||||
%_datadir/icu/%version/UnicodeData.txt
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df8e333ac3022b43d18216d52b8b8be4735e0cfc09dc81dc77b3730b864b41e2
|
||||
size 4242056
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6399f00941d982c64fef96b0094dd2f7c1421f8a0c113686d5f123daf8eabca
|
||||
size 19000749
|
3
icu4c-50_1-docs.zip
Normal file
3
icu4c-50_1-docs.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ac8116e70dddfd22435754dc5c7c883970970b56855d2b32305a9c47fbacaed1
|
||||
size 6125195
|
3
icu4c-50_1-src.tar.xz
Normal file
3
icu4c-50_1-src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3fef3aa8ff3d4c21292d2b3fc73f47dd0ea75ceda00f68a2fdd30a58e5f7bec
|
||||
size 11667520
|
Loading…
Reference in New Issue
Block a user