1 Summary: International Components for Unicode
2 Summary(pl): Miêdzynarodowe komponenty dla unikodu
8 Source0: ftp://ftp.software.ibm.com/software/globalization/icu/%{version}/%{name}-%{version}.tgz
9 # Source0-md5: 2a16f58bcb26e5010c946dca9ec08d5f
10 URL: http://www.ibm.com/software/globalization/icu/
11 BuildRequires: automake
12 BuildRequires: libstdc++-devel
13 Requires: libicu = %{version}-%{release}
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 ICU is a set of C and C++ libraries that provides robust and
18 full-featured Unicode and locale support. The library provides
19 calendar support, conversions for many character sets, language
20 sensitive collation, date and time formatting, support for many
21 locales, message catalogs and resources, message formatting,
22 normalization, number and currency formatting, time zones support,
23 transliteration, word, line and sentence breaking, etc.
25 This package contains the Unicode character database and derived
26 properties, along with converters and time zones data.
29 ICU jest grup± bibliotek C i C++, które dostarczaj± kompletn± i pe³n±
30 obs³ugê Unikodu i lokalizacji. Biblioteka dostarcza obs³ugê
31 kalendarza, konwersje dla wielu zestawów znaków, sortowanie zale¿ne od
32 jêzyka, formatowanie daty i czasu, wsparcie dla wielu lokalizacji,
33 katalogów komunikatów i zasobów, formatowanie komunikatów,
34 normalizacjê, formatowanie liczb i walut, obs³ugê stref czasowych,
35 transliteracjê, ³amanie s³ów, linii i zdañ itp.
37 Ten pakiet zawiera bazê znaków unikodowych i pochodne w³asno¶ci wraz z
38 konwerterami i danymi stref czasowych.
41 Summary: International Components for Unicode (libraries)
42 Summary(pl): Miêdzynarodowe Komponenty dla Unikodu (biblioteki)
43 Group: Development/Libraries
46 %description -n libicu
47 ICU is a set of C and C++ libraries that provides robust and
48 full-featured Unicode support. This package contains the runtime
49 libraries for ICU. It does not contain any of the data files needed at
50 runtime and present in the `icu' and `icu-locales` packages.
52 %description -n libicu -l pl
53 ICU jest grup± bibliotek C i C++, które dostarczaj± kompletn± i pe³n±
54 obs³ugê Unikodu i lokalizacji. Ten pakiet zawiera biblioteki
55 uruchomieniowe ICU. Nie zawiera ¿adnych plików z danymi potrzebnymi w
56 czasie dzia³ania i obecnymi w pakietach "icu" i "icu-locales".
58 %package -n libicu-devel
59 Summary: International Components for Unicode (development files)
60 Summary(pl): Miêdzynarodowe komponenty dla Unikodu (pliki dla programistów)
61 Group: Development/Libraries
62 Requires: libicu = %{version}-%{release}
64 %description -n libicu-devel
65 ICU is a set of C and C++ libraries that provides robust and
66 full-featured Unicode support. This package contains the development
69 %description -n libicu-devel -l pl
70 ICU jest grup± bibliotek C i C++, które dostarczaj± kompletn± i pe³n±
71 obs³ugê Unikodu i lokalizacji. Ten pakiet zawiera pliki
79 cp -f /usr/share/automake/config.* .
81 --sbindir=%{_bindir} \
87 rm -rf $RPM_BUILD_ROOT
89 %{__make} -C source install \
90 DESTDIR=$RPM_BUILD_ROOT
92 # help rpm to generate deps
93 chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
95 rm -f $RPM_BUILD_ROOT%{_datadir}/icu/%{version}/license.html
98 rm -rf $RPM_BUILD_ROOT
100 %post -n libicu -p /sbin/ldconfig
101 %postun -n libicu -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc license.html readme.html
106 %attr(755,root,root) %{_bindir}/*
107 %exclude %{_bindir}/icu-config
110 %exclude %{_mandir}/man1/icu-config.1*
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
116 %files -n libicu-devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/icu-config
119 %attr(755,root,root) %{_libdir}/lib*.so
120 %dir %{_includedir}/unicode
121 %dir %{_includedir}/layout
122 %{_includedir}/unicode/*.h
123 %{_includedir}/layout/*.h
124 %dir %{_libdir}/%{name}
125 %{_libdir}/%{name}/Makefile.inc
126 %dir %{_libdir}/%{name}/current
127 %dir %{_libdir}/%{name}/%{version}
128 %{_libdir}/%{name}/%{version}/Makefile.inc
129 %dir %{_datadir}/%{name}
130 %dir %{_datadir}/%{name}/%{version}
131 %{_datadir}/%{name}/%{version}/config
132 %attr(755,root,root) %{_datadir}/%{name}/%{version}/mkinstalldirs
133 %{_mandir}/man1/icu-config.1*