/[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 1738910 - (hide annotations) (download)
Tue Aug 3 20:50:50 2021 UTC (7 weeks, 5 days ago) by luigiwalser
File size: 4484 byte(s)
69.1
1 luigiwalser 1738910 %define major 69
2 wally 612248 %define libname %mklibname icu %{major}
3     %define develname %mklibname icu -d
4 blino 1497
5 wally 612248 %define dataname %{name}%{major}-data
6    
7 wally 1552726 %define tarballver %(echo %version|tr '.' '_')
8     %define dashver %(echo %version|tr '.' '-')
9 wally 612248
10 cjw 1449384 # re-enable when upgrading this package to a new version
11 shlomif 1428477 %define with_tests 1
12 luigiwalser 1186275
13 blino 1497 Summary: International Components for Unicode
14     Name: icu
15 wally 1233511 Epoch: 1
16 luigiwalser 1738910 Version: 69.1
17     Release: %mkrel 1
18 mrambo3501 1094616 License: Unicode
19 blino 1497 Group: System/Libraries
20 tv 1252905 URL: http://site.icu-project.org/
21 cjw 1449384 Source0: https://github.com/unicode-org/icu/releases/download/release-%{dashver}/icu4c-%{tarballver}-src.tgz
22 fwang 316345 Patch0: icu-50.1-disable-renaming.patch
23 blino 1497 BuildRequires: doxygen
24 fwang 427922 Requires: %{libname} = %{epoch}:%{version}
25 blino 1497
26     %description
27     The International Components for Unicode (ICU) libraries provide robust and
28     full-featured Unicode services on a wide variety of platforms. ICU supports
29     the most current version of the Unicode standard, and they provide support
30     for supplementary Unicode characters (needed for GB 18030 repertoire support).
31    
32     As computing environments become more heterogeneous, software portability
33     becomes more important. ICU lets you produce the same results across all the
34     various platforms you support, without sacrificing performance. It offers
35 wally 612250 great flexibility to extend and customize the supplied services, which
36 blino 1497 include:
37    
38     * Text: Unicode text handling, full character properties and character set
39     conversions (500+ codepages)
40     * Analysis: Unicode regular expressions; full Unicode sets; character, word
41     and line boundaries
42     * Comparison: Language sensitive collation and searching
43 wally 612248 * Transformations: normalization, upper/lowercase, script transliterations
44 blino 1497 (50+ pairs)
45     * Locales: Comprehensive locale data (230+) and resource bundle architecture
46     * Complex Text Layout: Arabic, Hebrew, Indic and Thai
47     * Time: Multi-calendar and time zone
48 wally 612248 * Formatting and Parsing: dates, times, numbers, currencies, messages and
49 blino 1497 rule based
50    
51 luigiwalser 1346076 %package -n %{dataname}
52 fwang 316345 Summary: Shared data for the International Components for Unicode
53     Group: System/Libraries
54     BuildArch: noarch
55    
56 luigiwalser 1346076 %description -n %{dataname}
57 fwang 316345 Shared data for the International Components for Unicode.
58    
59 luigiwalser 1346076 %package doc
60 blino 1497 Summary: Documentation for the International Components for Unicode
61     Group: System/Libraries
62 fwang 427922 Requires: %{name}
63 tv 137820 BuildArch: noarch
64 blino 1497
65 luigiwalser 1346076 %description doc
66 blino 1497 Documentation for the International Components for Unicode.
67    
68 luigiwalser 1346076 %package -n %{libname}
69 blino 1497 Summary: Libraries for the International Components for Unicode
70     Group: System/Libraries
71 wally 612248 Requires: %{dataname} = %{epoch}:%{version}-%{release}
72 blino 1497
73 luigiwalser 1346076 %description -n %{libname}
74 blino 1497 Libraries for the International Components for Unicode.
75    
76 luigiwalser 1346076 %package -n %{develname}
77 blino 1497 Summary: Development files for the International Components for Unicode
78     Group: Development/Other
79 wally 612248 Requires: %{libname} = %{epoch}:%{version}-%{release}
80 blino 1497 Provides: %{name}%{major}-devel = %{epoch}:%{version}-%{release}
81     Provides: %{name}-devel = %{epoch}:%{version}-%{release}
82     Provides: lib%{name}-devel = %{epoch}:%{version}-%{release}
83    
84     %description -n %{develname}
85     Development files and headers for the International Components for Unicode.
86    
87     %prep
88     %setup -q -n %{name}
89 cjw 1449384 %autopatch -p1
90 blino 1497
91     %build
92     pushd source
93 wally 1479217 %configure \
94 blino 1497 --with-library-bits=64else32 \
95 fwang 316341 --with-data-packaging=archive \
96     --disable-renaming \
97 blino 1497 --disable-samples
98 shlomif 1428477 mkdir -p data/out/tmp
99 cjw 1449384 # fix test failures
100     sed -i.testdata -r -e 's#/genrb#/genrb $(ICU_DATA_OPT)#' test/testdata/rules.mk
101 shlomif 1428477 %__make
102     %__make doc
103 blino 1497 popd
104    
105 luigiwalser 1186275 %if %{with_tests}
106 cjw 856736 %check
107     pushd source
108 shlomif 1428477 export LC_ALL=C LANG=en
109 luigiwalser 1650945 %ifarch aarch64
110 luigiwalser 1650944 make check ||:
111     %else
112 cjw 856736 make check
113 luigiwalser 1650944 %endif
114 cjw 856736 popd
115 luigiwalser 1186275 %endif
116 cjw 856736
117 blino 1497 %install
118 shlomif 1428477 %make_install -C source
119 blino 1497
120     %files
121     %{_bindir}/*
122     %exclude %{_bindir}/icu-config
123     %{_sbindir}/*
124    
125 wally 612248 %files -n %{dataname}
126 fwang 316345 %dir %{_datadir}/%{name}
127 fwang 494531 %dir %{_datadir}/%{name}/%{version}
128 wally 612249 %{_datadir}/%{name}/%{version}/icudt%{major}l.dat
129 fwang 316345
130 blino 1497 %files doc
131 cjw 1449384 %doc readme.html source/doc/html/*
132 blino 1497 %{_mandir}/man1/*
133     %{_mandir}/man8/*
134    
135     %files -n %{libname}
136 ovitters 876488 %{_libdir}/*.so.%{major}{,.*}
137 blino 1497
138     %files -n %{develname}
139     %{_bindir}/icu-config
140     %{_libdir}/*.so
141 fwang 110244 %{_libdir}/pkgconfig/*.pc
142 blino 1497 %dir %{_includedir}/unicode
143     %{_includedir}/unicode/*
144     %dir %{_libdir}/%{name}
145 fwang 494527 %dir %{_libdir}/%{name}/%{version}
146     %{_libdir}/%{name}/%{version}/Makefile.inc
147     %{_libdir}/%{name}/%{version}/pkgdata.inc
148 fwang 316345 %{_libdir}/%{name}/Makefile.inc
149     %{_libdir}/%{name}/current
150     %{_libdir}/%{name}/pkgdata.inc
151 fwang 494527 %{_datadir}/%{name}/%{version}/config
152     %{_datadir}/%{name}/%{version}/install-sh
153 luigiwalser 1013929 %{_datadir}/%{name}/%{version}/LICENSE
154 fwang 494527 %{_datadir}/%{name}/%{version}/mkinstalldirs

  ViewVC Help
Powered by ViewVC 1.1.28