]> git.pld-linux.org Git - packages/icu.git/blob - icu.spec
- release 2
[packages/icu.git] / icu.spec
1 Summary:        International Components for Unicode
2 Summary(pl):    Miêdzynarodowe komponenty dla unikodu
3 Name:           icu
4 Version:        3.4.1
5 Release:        2
6 License:        X License
7 Group:          Libraries
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)
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
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.
24
25 This package contains the Unicode character database and derived
26 properties, along with converters and time zones data.
27
28 %description -l pl
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.
36
37 Ten pakiet zawiera bazê znaków unikodowych i pochodne w³asno¶ci wraz z
38 konwerterami i danymi stref czasowych.
39
40 %package -n libicu
41 Summary:        International Components for Unicode (libraries)
42 Summary(pl):    Miêdzynarodowe Komponenty dla Unikodu (biblioteki)
43 Group:          Development/Libraries
44 Obsoletes:      libicu30
45
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.
51
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".
57
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}
63
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
67 files for ICU.
68
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
72 programistyczne ICU.
73
74 %prep
75 %setup -q -n %{name}
76
77 %build
78 cd source
79 cp -f /usr/share/automake/config.* .
80 %configure2_13 \
81         --sbindir=%{_bindir} \
82         --disable-samples
83
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} -C source install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 # help rpm to generate deps
93 chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
94
95 rm -f $RPM_BUILD_ROOT%{_datadir}/icu/%{version}/license.html
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   -n libicu -p /sbin/ldconfig
101 %postun -n libicu -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc license.html readme.html
106 %attr(755,root,root) %{_bindir}/*
107 %exclude %{_bindir}/icu-config
108 %{_mandir}/man1/*
109 %{_mandir}/man8/*
110 %exclude %{_mandir}/man1/icu-config.1*
111
112 %files -n libicu
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115
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*
This page took 0.105633 seconds and 3 git commands to generate.