/[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 354220 - (show annotations) (download)
Sat Jan 12 04:42:13 2013 UTC (7 years, 9 months ago) by umeabot
File size: 4475 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
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.1
9 Release: %mkrel 2
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 Patch0: icu-50.1-disable-renaming.patch
17 Patch6: icu-4.6.1-do-not-promote-ldflags.patch
18 BuildRequires: doxygen
19 Requires: %{libname} = %{epoch}:%{version}-%{release}
20
21 %description
22 The International Components for Unicode (ICU) libraries provide robust and
23 full-featured Unicode services on a wide variety of platforms. ICU supports
24 the most current version of the Unicode standard, and they provide support
25 for supplementary Unicode characters (needed for GB 18030 repertoire support).
26
27 As computing environments become more heterogeneous, software portability
28 becomes more important. ICU lets you produce the same results across all the
29 various platforms you support, without sacrificing performance. It offers
30 great flexibility to extend and customize the supplied services, which
31 include:
32
33 * Text: Unicode text handling, full character properties and character set
34 conversions (500+ codepages)
35 * Analysis: Unicode regular expressions; full Unicode sets; character, word
36 and line boundaries
37 * Comparison: Language sensitive collation and searching
38 * Transformations: normalization, upper/lowercase, script transliterations
39 (50+ pairs)
40 * Locales: Comprehensive locale data (230+) and resource bundle architecture
41 * Complex Text Layout: Arabic, Hebrew, Indic and Thai
42 * Time: Multi-calendar and time zone
43 * Formatting and Parsing: dates, times, numbers, currencies, messages and
44 rule based
45
46 %package data
47 Summary: Shared data for the International Components for Unicode
48 Group: System/Libraries
49 BuildArch: noarch
50 Conflicts: icu-devel < 1:50.1-3
51
52 %description data
53 Shared data for the International Components for Unicode.
54
55 %package doc
56 Summary: Documentation for the International Components for Unicode
57 Group: System/Libraries
58 Requires: %{name} = %{epoch}:%{version}-%{release}
59 BuildArch: noarch
60
61 %description doc
62 Documentation for the International Components for Unicode.
63
64 %package -n %{libname}
65 Summary: Libraries for the International Components for Unicode
66 Group: System/Libraries
67 Requires: %{name}-data = %{epoch}:%{version}
68
69 %description -n %{libname}
70 Libraries for the International Components for Unicode.
71
72 %package -n %{develname}
73 Summary: Development files for the International Components for Unicode
74 Group: Development/Other
75 Requires: %{libname} = %{epoch}:%{version}-%{release}
76 Provides: %{name}%{major}-devel = %{epoch}:%{version}-%{release}
77 Provides: %{name}-devel = %{epoch}:%{version}-%{release}
78 Provides: lib%{name}-devel = %{epoch}:%{version}-%{release}
79 Obsoletes: %mklibname -d icu 36
80 Obsoletes: %mklibname -d icu 34
81
82 %description -n %{develname}
83 Development files and headers for the International Components for Unicode.
84
85 %prep
86 %setup -q -n %{name}
87 %patch0 -p1 -b .renaming
88 %patch6 -p0 -b .ldflags
89
90 mkdir -p docs
91 cd docs
92 unzip -q %{SOURCE1}
93 cd -
94
95 %build
96 pushd source
97 %configure2_5x \
98 --with-library-bits=64else32 \
99 --with-data-packaging=archive \
100 --disable-renaming \
101 --disable-samples
102 %make
103 %make doc
104 popd
105
106 %check
107 pushd source
108 make check
109 popd
110
111 %install
112 pushd source
113 %makeinstall_std
114 popd
115
116 %files
117 %{_bindir}/*
118 %exclude %{_bindir}/icu-config
119 %{_sbindir}/*
120
121 %files data
122 %dir %{_datadir}/%{name}
123 %dir %{_datadir}/%{name}/%{version}
124 %{_datadir}/%{name}/%{version}/*.dat
125
126 %files doc
127 %doc readme.html docs/*
128 %{_mandir}/man1/*
129 %{_mandir}/man8/*
130
131 %files -n %{libname}
132 %{_libdir}/*.so.%{major}*
133
134 %files -n %{develname}
135 %{_bindir}/icu-config
136 %{_libdir}/*.so
137 %{_libdir}/pkgconfig/*.pc
138 %dir %{_includedir}/layout
139 %dir %{_includedir}/unicode
140 %{_includedir}/layout/*
141 %{_includedir}/unicode/*
142 %dir %{_libdir}/%{name}
143 %dir %{_libdir}/%{name}/%{version}
144 %{_libdir}/%{name}/%{version}/Makefile.inc
145 %{_libdir}/%{name}/%{version}/pkgdata.inc
146 %{_libdir}/%{name}/Makefile.inc
147 %{_libdir}/%{name}/current
148 %{_libdir}/%{name}/pkgdata.inc
149 %{_datadir}/%{name}/%{version}/config
150 %{_datadir}/%{name}/%{version}/install-sh
151 %{_datadir}/%{name}/%{version}/license.html
152 %{_datadir}/%{name}/%{version}/mkinstalldirs

  ViewVC Help
Powered by ViewVC 1.1.28