RPM metadata update
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=23
This commit is contained in:
parent
a252e3a1ac
commit
d4e69c9894
@ -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
|
Tue Mar 26 15:05:41 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
36
icu.spec
36
icu.spec
@ -23,8 +23,8 @@ Release: 0
|
|||||||
%define aversion 51_1
|
%define aversion 51_1
|
||||||
Summary: International Components for Unicode
|
Summary: International Components for Unicode
|
||||||
License: X11
|
License: X11
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://ibm.com/software/globalization/icu
|
Url: http://icu-project.org/
|
||||||
|
|
||||||
#DL-URL: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz
|
#DL-URL: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz
|
||||||
Source: icu4c-%aversion-src.tar.xz
|
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,
|
currency formatting, time zone support, transliteration, and word,
|
||||||
line, and sentence breaking, etc.
|
line, and sentence breaking, etc.
|
||||||
|
|
||||||
This package contains the Unicode character database and derived
|
This subpackage contains the runtime programs for interacting with ICU.
|
||||||
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.
|
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
# Splitting this package is of no significant benefit:
|
# Splitting this package is of no significant benefit:
|
||||||
@ -74,8 +69,7 @@ Obsoletes: libicu < %version-%release
|
|||||||
%description -n %lname
|
%description -n %lname
|
||||||
ICU is a set of C and C++ libraries that provides robust and
|
ICU is a set of C and C++ libraries that provides robust and
|
||||||
full-featured Unicode support. This package contains the runtime
|
full-featured Unicode support. This package contains the runtime
|
||||||
libraries for ICU. It does not contain any of the data files needed at
|
libraries for ICU which include precompiled locale data.
|
||||||
runtime and present in the `icu' and `icu-locales` packages.
|
|
||||||
|
|
||||||
%package -n libicu-devel
|
%package -n libicu-devel
|
||||||
Summary: International Components for Unicode (development files)
|
Summary: International Components for Unicode (development files)
|
||||||
@ -140,8 +134,8 @@ cd source
|
|||||||
|
|
||||||
make install DESTDIR="$b";
|
make install DESTDIR="$b";
|
||||||
|
|
||||||
# /usr/lib/rpm/elfdeps requires +x bit
|
# /usr/lib/rpm/elfdeps requires +x bit and not all had it at one point
|
||||||
chmod a+rx "$b/%_libdir"/*.so.*
|
chmod a+rx "$b/%_libdir"/lib*.so.*
|
||||||
|
|
||||||
# install uncompiled source data:
|
# install uncompiled source data:
|
||||||
mkdir -p "$b/%_datadir/icu/%version/unidata"
|
mkdir -p "$b/%_datadir/icu/%version/unidata"
|
||||||
@ -166,7 +160,7 @@ make check
|
|||||||
# the (main) package in this case
|
# the (main) package in this case
|
||||||
%post
|
%post
|
||||||
if test -d "%_libdir/icu"; then
|
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);
|
sort -V | tail -n1);
|
||||||
if test -n "$current"; then
|
if test -n "$current"; then
|
||||||
rm -f "%_libdir/icu/current";
|
rm -f "%_libdir/icu/current";
|
||||||
@ -176,7 +170,7 @@ fi;
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
if test -d "%_libdir/icu"; then
|
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);
|
sort -V | tail -n1);
|
||||||
if test -n "$current"; then
|
if test -n "$current"; then
|
||||||
rm -f "%_libdir/icu/current";
|
rm -f "%_libdir/icu/current";
|
||||||
@ -199,8 +193,8 @@ fi;
|
|||||||
%_bindir/pkgdata
|
%_bindir/pkgdata
|
||||||
%_bindir/uconv
|
%_bindir/uconv
|
||||||
%_sbindir/*
|
%_sbindir/*
|
||||||
%_mandir/*/*
|
%_mandir/man*/*
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name/
|
||||||
%_docdir/%name/license.html
|
%_docdir/%name/license.html
|
||||||
%_docdir/%name/readme.html
|
%_docdir/%name/readme.html
|
||||||
|
|
||||||
@ -217,17 +211,17 @@ fi;
|
|||||||
%_libdir/icu/%version/pkgdata.inc
|
%_libdir/icu/%version/pkgdata.inc
|
||||||
%_libdir/icu/Makefile.inc
|
%_libdir/icu/Makefile.inc
|
||||||
%_libdir/icu/pkgdata.inc
|
%_libdir/icu/pkgdata.inc
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/icu-*.pc
|
||||||
%_bindir/icu-config
|
%_bindir/icu-config
|
||||||
%dir %_datadir/icu
|
%dir %_datadir/icu/
|
||||||
%dir %_datadir/icu/%version
|
%dir %_datadir/icu/%version/
|
||||||
%_datadir/icu/%version/mkinstalldirs
|
%_datadir/icu/%version/mkinstalldirs
|
||||||
%_datadir/icu/%version/config/
|
%_datadir/icu/%version/config/
|
||||||
|
|
||||||
%files -n libicu-doc
|
%files -n libicu-doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name/
|
||||||
%_docdir/%name/html
|
%_docdir/%name/html/
|
||||||
|
|
||||||
%files data
|
%files data
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user