4 # check is defined off at .rpmmacros file.
11 Summary: International Components for Unicode
12 Group: System/Libraries
13 License: ICU and Unicode-TOU and BSD-3-Clause
14 URL: http://www.icu-project.org/
15 Source0: %{name}-%{version}.tar.gz
16 Source1001: icu.manifest
17 BuildRequires: doxygen
18 BuildRequires: autoconf
21 ICU is a set of C and C++ libraries that provides robust and full-featured
22 Unicode and locale support. The library provides calendar support, conversions
23 for many character sets, language sensitive collation, date
24 and time formatting, support for many locales, message catalogs
25 and resources, message formatting, normalization, number and currency
26 formatting, time zones support, transliteration, word, line and
27 sentence breaking, etc.
29 This package contains the Unicode character database and derived
30 properties, along with converters and time zones data.
32 This package contains the runtime libraries for ICU. It does
33 not contain any of the data files needed at runtime and present in the
34 `icu' and `icu-locales` packages.
37 Summary: International Components for Unicode (libraries)
39 %description -n libicu
40 ICU is a set of C and C++ libraries that provides robust and full-featured
41 Unicode support. This package contains the runtime libraries for ICU. It does
42 not contain any of the data files needed at runtime and present in the
43 `icu' and `icu-locales` packages.
45 %package -n libicu-devel
46 Summary: International Components for Unicode (development files)
47 Requires: libicu = %{version}-%{release}
50 %description -n libicu-devel
51 Includes and definitions for developing with icu.
59 %configure --disable-static \
69 %__make check || exit 0
78 chmod +x %{buildroot}/%{_libdir}/lib*.so.*
83 %post -n libicu -p /sbin/ldconfig
85 %postun -n libicu -p /sbin/ldconfig
88 %manifest %{name}.manifest
91 %manifest %{name}.manifest
103 %{_bindir}/icu-config
105 %dir %{_datadir}/icu/%{version}
106 %{_datadir}/icu/%{version}/config/mh-linux
107 %{_datadir}/icu/%{version}/install-sh
108 %{_datadir}/icu/%{version}/LICENSE
109 %{_datadir}/icu/%{version}/mkinstalldirs
111 %files -n libicu-devel
112 %manifest %{name}.manifest
113 %{_includedir}/unicode
115 %{_libdir}/pkgconfig/icu-*.pc