| 1 | %global _icu_full_version 4.2.1
|
|---|
| 2 | %global _icu_dll_version 42
|
|---|
| 3 |
|
|---|
| 4 | Summary: International Components for Unicode
|
|---|
| 5 | Name: icu
|
|---|
| 6 | License: X11/MIT
|
|---|
| 7 | Group: System/Libraries
|
|---|
| 8 | Version: %{_icu_full_version}
|
|---|
| 9 | Release: 2%{?dist}
|
|---|
| 10 | Url: http://ibm.com/software/globalization/icu
|
|---|
| 11 |
|
|---|
| 12 | Source0: icu-legacy.zip
|
|---|
| 13 |
|
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|---|
| 15 |
|
|---|
| 16 | %description
|
|---|
| 17 | ICU is a set of C and C++ libraries that provides robust and
|
|---|
| 18 | full-featured Unicode and locale support. The library provides calendar
|
|---|
| 19 | support, conversions for many character sets, language sensitive
|
|---|
| 20 | collation, date and time formatting, support for many locales, message
|
|---|
| 21 | catalogs and resources, message formatting, normalization, number and
|
|---|
| 22 | currency formatting, time zone support, transliteration, and word,
|
|---|
| 23 | line, and sentence breaking, etc.
|
|---|
| 24 |
|
|---|
| 25 | This package contains the Unicode character database and derived
|
|---|
| 26 | properties along with converters and time zone data.
|
|---|
| 27 |
|
|---|
| 28 | This package contains the runtime libraries for ICU. It does not
|
|---|
| 29 | contain any of the data files needed at runtime and present in the icu
|
|---|
| 30 | and icu-locales packages.
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | Authors:
|
|---|
| 35 | --------
|
|---|
| 36 | The ICU project, International Business Machines (IBM) and Others. <icu@oss.software.ibm.com>
|
|---|
| 37 |
|
|---|
| 38 | %package -n libicu-legacy
|
|---|
| 39 | License: IBM Public License
|
|---|
| 40 | Summary: International Components for Unicode (development files)
|
|---|
| 41 | Group: Development/Libraries/C and C++
|
|---|
| 42 |
|
|---|
| 43 | %description -n libicu-legacy
|
|---|
| 44 | ICU is a set of C and C++ libraries that provides robust and
|
|---|
| 45 | full-featured Unicode support. This package contains the runtime
|
|---|
| 46 | libraries for ICU. It does not contain any of the data files needed at
|
|---|
| 47 | runtime and present in the `icu' and `icu-locales` packages.
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | Authors:
|
|---|
| 52 | --------
|
|---|
| 53 | The ICU project, International Business Machines (IBM) and Others. <icu@oss.software.ibm.com>
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | %prep
|
|---|
| 57 | %setup -q -n icu
|
|---|
| 58 |
|
|---|
| 59 | %build
|
|---|
| 60 | mkdir -p %{buildroot}%{_libdir}
|
|---|
| 61 | cp -p *.dll %{buildroot}%{_libdir}
|
|---|
| 62 |
|
|---|
| 63 | %clean
|
|---|
| 64 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 65 |
|
|---|
| 66 | %files
|
|---|
| 67 | %defattr(-, root, root)
|
|---|
| 68 | %doc license.html readme.html
|
|---|
| 69 |
|
|---|
| 70 | %files -n libicu-legacy
|
|---|
| 71 | %defattr(-, root, root)
|
|---|
| 72 | %attr (755, root, root) %{_libdir}/*.dll
|
|---|
| 73 |
|
|---|
| 74 | %changelog
|
|---|
| 75 | * Wed Apr 06 2016 yd <yd@os2power.com> 4.2.1-2
|
|---|
| 76 | - repackage legacy dlls.
|
|---|