source: spec/trunk/SPECS/icu-legacy.spec@ 1036

Last change on this file since 1036 was 733, checked in by Yuri Dario, 10 years ago

spec: icu-legacy, repackage legacy dlls.

File size: 2.2 KB
Line 
1%global _icu_full_version 4.2.1
2%global _icu_dll_version 42
3
4Summary: International Components for Unicode
5Name: icu
6License: X11/MIT
7Group: System/Libraries
8Version: %{_icu_full_version}
9Release: 2%{?dist}
10Url: http://ibm.com/software/globalization/icu
11
12Source0: icu-legacy.zip
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-build
15
16%description
17ICU is a set of C and C++ libraries that provides robust and
18full-featured Unicode and locale support. The library provides calendar
19support, conversions for many character sets, language sensitive
20collation, date and time formatting, support for many locales, message
21catalogs and resources, message formatting, normalization, number and
22currency formatting, time zone support, transliteration, and word,
23line, and sentence breaking, etc.
24
25This package contains the Unicode character database and derived
26properties along with converters and time zone data.
27
28This package contains the runtime libraries for ICU. It does not
29contain any of the data files needed at runtime and present in the icu
30and icu-locales packages.
31
32
33
34Authors:
35--------
36 The ICU project, International Business Machines (IBM) and Others. <icu@oss.software.ibm.com>
37
38%package -n libicu-legacy
39License: IBM Public License
40Summary: International Components for Unicode (development files)
41Group: Development/Libraries/C and C++
42
43%description -n libicu-legacy
44ICU is a set of C and C++ libraries that provides robust and
45full-featured Unicode support. This package contains the runtime
46libraries for ICU. It does not contain any of the data files needed at
47runtime and present in the `icu' and `icu-locales` packages.
48
49
50
51Authors:
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
60mkdir -p %{buildroot}%{_libdir}
61cp -p *.dll %{buildroot}%{_libdir}
62
63%clean
64rm -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.
Note: See TracBrowser for help on using the repository browser.