Hello community,

here is the log from the commit of package icu for openSUSE:Factory checked in 
at 2013-05-16 11:04:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icu (Old)
 and      /work/SRC/openSUSE:Factory/.icu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icu"

Changes:
--------
--- /work/SRC/openSUSE:Factory/icu/icu.changes  2013-03-12 06:54:40.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.icu.new/icu.changes     2013-05-16 
11:04:13.000000000 +0200
@@ -1,0 +2,22 @@
+Mon May  6 07:51:07 UTC 2013 - jeng...@inai.de
+
+- Update RPM group, description, URL
+
+-------------------------------------------------------------------
+Tue Mar 26 15:05:41 UTC 2013 - jeng...@inai.de
+
+- Update to new upstream release 51
+* Collation tailorings put native script first;
+  non-Gregorian calendar formats are more consistent;
+* Date format/parse now supports CLDR short weekday names
+* Support DisplayContext for date formatting, locale display names
+* Support new timezone pattern characters in LDML spec
+* Support for “dangi” Korean luni-solar calendar
+* Add CompactDecimalFormat and TerritoryContainment APIs
+* ICU50 regression fix: Affixes set with e.g.
+  DecimalFormat::setPositivePrefix were ignored for parse
+* ICU50 regression fix: UNUM_PARSE_INT_ONLY no longer handled
+  grouping separator
+- Recompress to xz to save space
+
+-------------------------------------------------------------------

Old:
----
  icu4c-50_1_2-docs.zip
  icu4c-50_1_2-src.tgz

New:
----
  download.sh
  icu4c-51_1-docs.tar.xz
  icu4c-51_1-src.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icu.spec ++++++
--- /var/tmp/diff_new_pack.ZwCRCb/_old  2013-05-16 11:04:15.000000000 +0200
+++ /var/tmp/diff_new_pack.ZwCRCb/_new  2013-05-16 11:04:15.000000000 +0200
@@ -17,24 +17,27 @@
 
 
 Name:           icu
-%define lname  libicu50
-Version:        50.1.2
+%define lname  libicu51
+Version:        51.1
 Release:        0
-%define aversion 50_1_2
+%define aversion 51_1
 Summary:        International Components for Unicode
 License:        X11
-Group:          System/Libraries
-Url:            http://ibm.com/software/globalization/icu
-Source0:        
http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{aversion}-src.tgz
-Source1:        
http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{aversion}-docs.zip
+Group:          Development/Libraries/C and C++
+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
 Patch1:         icu-rpmlint.diff
 # PATCH-FIX-OPENSUSE icu-remove-datetime.patch vu...@novell.com -- Do not put 
date/time in icu-config (needed for build-compare)
 Patch99:        icu-remove-datetime.patch
-#BuildRequires:  automake
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
-BuildRequires:  unzip
+BuildRequires:  xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -46,12 +49,7 @@
 currency formatting, time zone support, transliteration, and word,
 line, and sentence breaking, etc.
 
-This package contains the Unicode character database and derived
-properties along with converters and time zone data.
-
-This package contains the runtime libraries for ICU. It does not
-contain any of the data files needed at runtime and present in the icu
-and icu-locales packages.
+This subpackage contains the runtime programs for interacting with ICU.
 
 %package -n %lname
 # Splitting this package is of no significant benefit:
@@ -71,8 +69,7 @@
 %description -n %lname
 ICU is a set of C and C++ libraries that provides robust and
 full-featured Unicode support. This package contains the runtime
-libraries for ICU. It does not contain any of the data files needed at
-runtime and present in the `icu' and `icu-locales` packages.
+libraries for ICU which include precompiled locale data.
 
 %package -n libicu-devel
 Summary:        International Components for Unicode (development files)
@@ -113,11 +110,7 @@
 the "%lname" package.
 
 %prep
-%setup -q -n icu
-mkdir html
-pushd html
-unzip -qq %{S:1}
-popd
+%setup -qn icu -a2
 %patch1 -p1
 %patch99 -p1
 
@@ -131,21 +124,28 @@
 make %{?_smp_mflags}
 
 %install
+b="%buildroot"
+mkdir -p "$b/%_docdir/%name"
+cp -a html "$b/%_docdir/%name/"
+cp -a license.html readme.html "$b/%_docdir/%name/"
+
 find . -name CVS -type d -exec rm -Rf "{}" "+"
 cd source
 
-make install DESTDIR="%buildroot";
+make install DESTDIR="$b";
 
-# to extract debug info
-chmod a+rx "%buildroot/%_libdir"/*.so.*
+# /usr/lib/rpm/elfdeps requires +x bit and not all had it at one point
+chmod a+rx "$b/%_libdir"/lib*.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 "$b/%_datadir/icu/%version/unidata"
+install -m 644 data/unidata/*.txt "$b/%_datadir/icu/%version/unidata"
+ln -s unidata/UnicodeData.txt "$b/%_datadir/icu/%version/"
+
+rm "$b/%_datadir/icu/%version/license.html"
+rm "$b/%_datadir/icu/%version/install-sh"
 
-rm "%buildroot/%_datadir/icu/%version/license.html"
-rm "%buildroot/%_datadir/icu/%version/install-sh"
+%fdupes %buildroot/%_prefix
 
 %check
 cd source
@@ -160,7 +160,7 @@
 # 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";
@@ -170,7 +170,7 @@
 
 %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";
@@ -179,12 +179,10 @@
 fi;
 
 %post -n %lname -p /sbin/ldconfig
-
 %postun -n %lname -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%doc license.html readme.html
 %dir %_libdir/icu
 %dir %_libdir/icu/%version
 %_libdir/icu/current
@@ -195,7 +193,10 @@
 %_bindir/pkgdata
 %_bindir/uconv
 %_sbindir/*
-%_mandir/*/*
+%_mandir/man*/*
+%dir %_docdir/%name/
+%_docdir/%name/license.html
+%_docdir/%name/readme.html
 
 %files -n %lname
 %defattr(-, root, root)
@@ -210,16 +211,17 @@
 %_libdir/icu/%version/pkgdata.inc
 %_libdir/icu/Makefile.inc
 %_libdir/icu/pkgdata.inc
-%_libdir/pkgconfig/*.pc
+%_libdir/pkgconfig/icu-*.pc
 %_bindir/icu-config
-%dir %_datadir/icu
-%dir %_datadir/icu/%version
+%dir %_datadir/icu/
+%dir %_datadir/icu/%version/
 %_datadir/icu/%version/mkinstalldirs
 %_datadir/icu/%version/config/
 
 %files -n libicu-doc
 %defattr(-,root,root)
-%doc html/
+%dir %_docdir/%name/
+%_docdir/%name/html/
 
 %files data
 %defattr(-, root, root)

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.ZwCRCb/_old  2013-05-16 11:04:15.000000000 +0200
+++ /var/tmp/diff_new_pack.ZwCRCb/_new  2013-05-16 11:04:15.000000000 +0200
@@ -1,4 +1,4 @@
-libicu50
+libicu51
 libicu-devel
        requires -libicu-<targettype>
-       requires "libicu50-<targettype> = <version>"
+       requires "libicu51-<targettype> = <version>"

++++++ download.sh ++++++
#!/bin/sh -ex

ver="51.1"
name="icu4c-51_1-docs.zip"
wget -c "http://download.icu-project.org/files/icu4c/$ver/$name";
rm -Rf html
mkdir html
pushd html
unzip "../$name"
popd
tar --use=xz -cvf "${name%.zip}.tar.xz" html
rm "$name"
rm -Rf html
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to