/[packages]/cauldron/icu/current/SPECS/icu.spec
ViewVC logotype

Contents of /cauldron/icu/current/SPECS/icu.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 314716 - (show annotations) (download)
Tue Nov 6 06:11:48 2012 UTC (11 years, 5 months ago) by fwang
File size: 3685 byte(s)
new version 50.1
1 %define major 50
2 %define libname %mklibname icu %{major}
3 %define develname %mklibname icu -d
4 %define tarballver %(echo %version|sed -e 's|\\.|_|g')
5
6 Summary: International Components for Unicode
7 Name: icu
8 Version: 50.1
9 Release: %mkrel 1
10 Epoch: 1
11 License: MIT
12 Group: System/Libraries
13 URL: http://www.icu-project.org/index.html
14 Source0: http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-src.tgz
15 Source1: http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-docs.zip
16 Patch6: icu-4.6.1-do-not-promote-ldflags.patch
17 BuildRequires: doxygen
18 Requires: %{libname} = %{epoch}:%{version}-%{release}
19
20 %description
21 The International Components for Unicode (ICU) libraries provide robust and
22 full-featured Unicode services on a wide variety of platforms. ICU supports
23 the most current version of the Unicode standard, and they provide support
24 for supplementary Unicode characters (needed for GB 18030 repertoire support).
25
26 As computing environments become more heterogeneous, software portability
27 becomes more important. ICU lets you produce the same results across all the
28 various platforms you support, without sacrificing performance. It offers
29 great flexibility to extend and customize the supplied services, which
30 include:
31
32 * Text: Unicode text handling, full character properties and character set
33 conversions (500+ codepages)
34 * Analysis: Unicode regular expressions; full Unicode sets; character, word
35 and line boundaries
36 * Comparison: Language sensitive collation and searching
37 * Transformations: normalization, upper/lowercase, script transliterations
38 (50+ pairs)
39 * Locales: Comprehensive locale data (230+) and resource bundle architecture
40 * Complex Text Layout: Arabic, Hebrew, Indic and Thai
41 * Time: Multi-calendar and time zone
42 * Formatting and Parsing: dates, times, numbers, currencies, messages and
43 rule based
44
45 %package doc
46 Summary: Documentation for the International Components for Unicode
47 Group: System/Libraries
48 Requires: %{name} = %{epoch}:%{version}-%{release}
49 BuildArch: noarch
50
51 %description doc
52 Documentation for the International Components for Unicode.
53
54 %package -n %{libname}
55 Summary: Libraries for the International Components for Unicode
56 Group: System/Libraries
57
58 %description -n %{libname}
59 Libraries for the International Components for Unicode.
60
61 %package -n %{develname}
62 Summary: Development files for the International Components for Unicode
63 Group: Development/Other
64 Requires: %{libname} = %{epoch}:%{version}-%{release}
65 Provides: %{name}%{major}-devel = %{epoch}:%{version}-%{release}
66 Provides: %{name}-devel = %{epoch}:%{version}-%{release}
67 Provides: lib%{name}-devel = %{epoch}:%{version}-%{release}
68 Obsoletes: %mklibname -d icu 36
69 Obsoletes: %mklibname -d icu 34
70
71 %description -n %{develname}
72 Development files and headers for the International Components for Unicode.
73
74 %prep
75 %setup -q -n %{name}
76 %patch6 -p0 -b .ldflags
77
78 mkdir -p docs
79 cd docs
80 unzip -q %{SOURCE1}
81 cd -
82
83 %build
84 pushd source
85 %configure2_5x \
86 --with-library-bits=64else32 \
87 --with-data-packaging=library \
88 --disable-samples
89 %make
90 %make doc
91 popd
92
93 %check
94 pushd source
95 make check
96 popd
97
98 %install
99 pushd source
100 %makeinstall_std
101 popd
102
103 %files
104 %{_bindir}/*
105 %exclude %{_bindir}/icu-config
106 %{_sbindir}/*
107
108 %files doc
109 %doc readme.html docs/*
110 %{_mandir}/man1/*
111 %{_mandir}/man8/*
112
113 %files -n %{libname}
114 %{_libdir}/*.so.%{major}*
115
116 %files -n %{develname}
117 %{_bindir}/icu-config
118 %{_libdir}/*.so
119 %{_libdir}/pkgconfig/*.pc
120 %dir %{_includedir}/layout
121 %dir %{_includedir}/unicode
122 %{_includedir}/layout/*
123 %{_includedir}/unicode/*
124 %dir %{_libdir}/%{name}
125 %{_libdir}/%{name}/*
126 %dir %{_datadir}/%{name}
127 %{_datadir}/%{name}/*

  ViewVC Help
Powered by ViewVC 1.1.30