SHA256
1
0
forked from pool/icu

RPM metadata update

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=23
This commit is contained in:
Jan Engelhardt 2013-05-06 08:15:27 +00:00 committed by Git OBS Bridge
parent a252e3a1ac
commit d4e69c9894
2 changed files with 20 additions and 21 deletions

View File

@ -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

View File

@ -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)