From d4e69c989425742c5c91d885666cffaf4629f645b182bd1fba16dbaa6d615c72 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 6 May 2013 08:15:27 +0000 Subject: [PATCH] RPM metadata update OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=23 --- icu.changes | 5 +++++ icu.spec | 36 +++++++++++++++--------------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/icu.changes b/icu.changes index d9aab1a..558b0a2 100644 --- a/icu.changes +++ b/icu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 6 07:51:07 UTC 2013 - jengelh@inai.de + +- Update RPM group, description, URL + ------------------------------------------------------------------- Tue Mar 26 15:05:41 UTC 2013 - jengelh@inai.de diff --git a/icu.spec b/icu.spec index 4988a56..089cbfb 100644 --- a/icu.spec +++ b/icu.spec @@ -23,8 +23,8 @@ Release: 0 %define aversion 51_1 Summary: International Components for Unicode License: X11 -Group: System/Libraries -Url: http://ibm.com/software/globalization/icu +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 @@ -49,12 +49,7 @@ catalogs and resources, message formatting, normalization, number and 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: @@ -74,8 +69,7 @@ Obsoletes: libicu < %version-%release %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) @@ -140,8 +134,8 @@ cd source make install DESTDIR="$b"; -# /usr/lib/rpm/elfdeps requires +x bit -chmod a+rx "$b/%_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 "$b/%_datadir/icu/%version/unidata" @@ -166,7 +160,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"; @@ -176,7 +170,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"; @@ -199,8 +193,8 @@ fi; %_bindir/pkgdata %_bindir/uconv %_sbindir/* -%_mandir/*/* -%dir %_docdir/%name +%_mandir/man*/* +%dir %_docdir/%name/ %_docdir/%name/license.html %_docdir/%name/readme.html @@ -217,17 +211,17 @@ fi; %_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) -%dir %_docdir/%name -%_docdir/%name/html +%dir %_docdir/%name/ +%_docdir/%name/html/ %files data %defattr(-, root, root)