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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 314716 - (hide 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 fwang 314716 %define major 50
2 blino 1497 %define libname %mklibname icu %{major}
3     %define develname %mklibname icu -d
4 fwang 135856 %define tarballver %(echo %version|sed -e 's|\\.|_|g')
5 blino 1497
6     Summary: International Components for Unicode
7     Name: icu
8 fwang 314716 Version: 50.1
9 fwang 248933 Release: %mkrel 1
10 blino 1497 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 fwang 110244 Patch6: icu-4.6.1-do-not-promote-ldflags.patch
17 blino 1497 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 tv 137820 BuildArch: noarch
50 blino 1497
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 fwang 110244 %patch6 -p0 -b .ldflags
77 blino 1497
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 fwang 110244 %check
94     pushd source
95     make check
96     popd
97 blino 1497
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 fwang 110244 %{_libdir}/pkgconfig/*.pc
120 blino 1497 %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