3 # check is defined off at .rpmmacros file.
10 Summary: International Components for Unicode
11 Group: System/Libraries
12 License: ICU and Unicode-TOU and BSD-2.0
13 URL: http://www.icu-project.org/
14 Source0: %{name}-%{version}.tar.gz
15 Source1001: icu.manifest
16 BuildRequires: doxygen
17 BuildRequires: autoconf
20 Tools and utilities for developing with icu.
23 Summary: International Components for Unicode - libraries
25 %description -n libicu
26 The International Components for Unicode (ICU) libraries provide
27 robust and full-featured Unicode services on a wide variety of
28 platforms. ICU supports the most current version of the Unicode
29 standard, and they provide support for supplementary Unicode
30 characters (needed for GB 18030 repertoire support).
31 As computing environments become more heterogeneous, software
32 portability becomes more important. ICU lets you produce the same
33 results across all the various platforms you support, without
34 sacrificing performance. It offers great flexibility to extend and
35 customize the supplied services.
37 %package -n libicu-devel
38 Summary: Development files for International Components for Unicode
39 Requires: libicu = %{version}-%{release}
42 %description -n libicu-devel
43 Includes and definitions for developing with icu.
50 export CFLAGS="$CFLAGS -D_TIZEN_FEATURE_"
51 export CXXFLAGS="$CXXFLAGS -D_TIZEN_FEATURE_"
54 %configure --enable-static=no \
55 --enable-renaming=no \
64 %__make check || exit 0
73 chmod +x %{buildroot}/%{_libdir}/lib*.so.*
78 %post -n libicu -p /sbin/ldconfig
80 %postun -n libicu -p /sbin/ldconfig
83 %manifest %{name}.manifest
87 %manifest %{name}.manifest
100 %{_bindir}/icu-config
102 %dir %{_datadir}/icu/%{version}
103 %{_datadir}/icu/%{version}/config/mh-linux
104 %{_datadir}/icu/%{version}/install-sh
105 %{_datadir}/icu/%{version}/LICENSE
106 %{_datadir}/icu/%{version}/mkinstalldirs
108 %files -n libicu-devel
109 %manifest %{name}.manifest
111 %{_includedir}/unicode
113 %{_libdir}/pkgconfig/icu-*.pc