-%define run_tests 0
-%if %{run_tests}
+%if "%{run_tests}" == "1"
# check is defined off at .rpmmacros file.
%define check %%check
%endif
BuildRequires: autoconf
%description
-ICU is a set of C and C++ libraries that provides robust and full-featured
-Unicode and locale support. The library provides calendar support, conversions
-for many character sets, language sensitive collation, date
-and time formatting, support for many locales, message catalogs
-and resources, message formatting, normalization, number and currency
-formatting, time zones support, transliteration, word, line and
-sentence breaking, etc.
-
-This package contains the Unicode character database and derived
-properties, along with converters and time zones 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.
+Tools and utilities for developing with icu.
%package -n libicu
-Summary: International Components for Unicode (libraries)
+Summary: International Components for Unicode - libraries
%description -n libicu
-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.
+The International Components for Unicode (ICU) libraries provide
+robust and full-featured Unicode services on a wide variety of
+platforms. ICU supports the most current version of the Unicode
+standard, and they provide support for supplementary Unicode
+characters (needed for GB 18030 repertoire support).
+As computing environments become more heterogeneous, software
+portability becomes more important. ICU lets you produce the same
+results across all the various platforms you support, without
+sacrificing performance. It offers great flexibility to extend and
+customize the supplied services.
%package -n libicu-devel
-Summary: International Components for Unicode (development files)
+Summary: Development files for International Components for Unicode
Requires: libicu = %{version}-%{release}
Requires: pkgconfig
Includes and definitions for developing with icu.
%prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{version}
cp %{SOURCE1001} .
%build
make %{?_smp_mflags}
%check
-%if %{run_tests}
- pushd source
- %__make check || exit 0
- popd
-%endif
+pushd source
+%__make check || exit 0
+popd
%install
cd source