1 | %define sover 56 |
---|
2 | Summary: International Components for Unicode |
---|
3 | Summary(ja): ユニコード用国際化コンポーネント |
---|
4 | Name: icu |
---|
5 | Version: 56.1 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | Group: Development/Tools |
---|
8 | License: MIT |
---|
9 | URL: http://icu-project.org/ |
---|
10 | |
---|
11 | Source0: http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.tgz |
---|
12 | Source1: http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-docs.zip |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: gcc-c++ |
---|
16 | BuildRequires: unzip perl |
---|
17 | #Requires: libicu%{sover} = %{version} |
---|
18 | Requires: libicu = %{version}-%{release} |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | ICU is a C++ and C library that provides robust and full-featured Unicode |
---|
25 | support. This package contains the Unicode character database and derived |
---|
26 | properties, along with converters and time zones data. |
---|
27 | |
---|
28 | #package -n libicu%{sover} |
---|
29 | %package -n libicu |
---|
30 | Summary: International Components for Unicode (library) |
---|
31 | Summary(ja): ユニコード用国際化コンポーネント (ライブラリ) |
---|
32 | Group: System Environment/Libraries |
---|
33 | Provides: libicu%{sover} = %{version}-%{release} |
---|
34 | |
---|
35 | #description -n libicu%{sover} |
---|
36 | %description -n libicu |
---|
37 | ICU is a C++ and C library that provides robust and full-featured Unicode |
---|
38 | support. This package contains the runtime libraries for ICU. It does not |
---|
39 | contain any of the data files needed at runtime. |
---|
40 | |
---|
41 | %package -n libicu-devel |
---|
42 | Summary: Header files, libraries and development documentation for libicu |
---|
43 | Summary(ja): libicu 用のヘッダファイル、ライブラリおよび開発用ドキュメント |
---|
44 | Group: Development/Libraries |
---|
45 | Requires: libicu = %{version}-%{release} |
---|
46 | |
---|
47 | %description -n libicu-devel |
---|
48 | This package contains the header files, static libraries for %{name}. |
---|
49 | If you like to develop programs using %{name}, you will need to install |
---|
50 | %{name}-devel. |
---|
51 | |
---|
52 | %package -n libicu-doc |
---|
53 | Summary: Documentation for International Components for Unicode |
---|
54 | Summary(ja): ユニコード用国際化コンポーネントのドキュメント |
---|
55 | Group: Applications/Documentation |
---|
56 | |
---|
57 | %description -n libicu-doc |
---|
58 | This package contains the development documentation for %{name}. |
---|
59 | |
---|
60 | %prep |
---|
61 | %setup -q -n %{name} |
---|
62 | find . -name CVS -o -name .cvsignore | xargs -r rm -rf |
---|
63 | perl -pi -e 's/^(HAVE_DOT\b.*=).*$/$1 YES/' source/Doxyfile.in |
---|
64 | |
---|
65 | mkdir docs |
---|
66 | pushd docs |
---|
67 | unzip %{SOURCE1} |
---|
68 | popd |
---|
69 | |
---|
70 | %build |
---|
71 | cd source |
---|
72 | export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" |
---|
73 | export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" |
---|
74 | %configure --disable-static --with-data-packaging=library --disable-samples |
---|
75 | make |
---|
76 | |
---|
77 | %install |
---|
78 | rm -rf $RPM_BUILD_ROOT |
---|
79 | make -C source install DESTDIR=$RPM_BUILD_ROOT |
---|
80 | cp -pR ./source/tools/ctestfw/libicutest.so* $RPM_BUILD_ROOT/%{_libdir} |
---|
81 | chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.* |
---|
82 | |
---|
83 | %check || : |
---|
84 | make -C source check |
---|
85 | |
---|
86 | %clean |
---|
87 | rm -rf $RPM_BUILD_ROOT |
---|
88 | |
---|
89 | %post -n libicu -p /sbin/ldconfig |
---|
90 | |
---|
91 | %postun -n libicu -p /sbin/ldconfig |
---|
92 | |
---|
93 | %files |
---|
94 | %defattr(-, root, root, 0755) |
---|
95 | %doc license.html readme.html |
---|
96 | %{_bindir}/derb |
---|
97 | %{_bindir}/genbrk |
---|
98 | %{_bindir}/gencfu |
---|
99 | %{_bindir}/gencnval |
---|
100 | %{_bindir}/gendict |
---|
101 | %{_bindir}/genrb |
---|
102 | %{_bindir}/icuinfo |
---|
103 | %{_bindir}/makeconv |
---|
104 | %{_bindir}/pkgdata |
---|
105 | %{_bindir}/uconv |
---|
106 | %{_sbindir}/* |
---|
107 | %{_mandir}/man?/* |
---|
108 | %exclude %{_mandir}/man1/icu-config.1* |
---|
109 | |
---|
110 | %files -n libicu |
---|
111 | %defattr(-, root, root, 0755) |
---|
112 | %{_libdir}/*.so.* |
---|
113 | |
---|
114 | %files -n libicu-devel |
---|
115 | %defattr(-, root, root, 0755) |
---|
116 | %{_bindir}/icu-config |
---|
117 | %{_includedir}/layout |
---|
118 | %{_includedir}/unicode |
---|
119 | %{_libdir}/*.so |
---|
120 | %{_libdir}/%{name} |
---|
121 | %{_libdir}/pkgconfig/icu-i18n.pc |
---|
122 | %{_libdir}/pkgconfig/icu-io.pc |
---|
123 | %{_libdir}/pkgconfig/icu-le.pc |
---|
124 | %{_libdir}/pkgconfig/icu-lx.pc |
---|
125 | %{_libdir}/pkgconfig/icu-uc.pc |
---|
126 | %{_mandir}/man1/icu-config.1* |
---|
127 | %{_datadir}/%{name} |
---|
128 | |
---|
129 | %files -n libicu-doc |
---|
130 | %defattr(-,root,root,-) |
---|
131 | %doc docs/* |
---|
132 | |
---|
133 | %changelog |
---|
134 | * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 56.1-2 |
---|
135 | - rebuild with gcc-5.4.0 |
---|
136 | |
---|
137 | * Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 56.1-1 |
---|
138 | - update to 56.1 |
---|
139 | |
---|
140 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 54.1-1 |
---|
141 | - update to 54.1 |
---|
142 | |
---|
143 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 52.1-1 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 51.2-1 |
---|
147 | - update to 51.2 |
---|
148 | |
---|
149 | * Tue Apr 13 2010 Shu KONNO <owa@bg.wakwak.com> 4.4-2 |
---|
150 | - install libicutest.so* |
---|
151 | |
---|
152 | * Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4-1 |
---|
153 | - new upstream release |
---|
154 | - built with new toolchain |
---|
155 | |
---|
156 | * Sun Mar 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0.1-1vl5 |
---|
157 | - new upstream release |
---|
158 | - updated URL |
---|
159 | |
---|
160 | * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 3.6-1vl5 |
---|
161 | - applied new versioning policy, spec in utf-8 |
---|
162 | |
---|
163 | * Tue Sep 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.6-0vl1 |
---|
164 | - updated to 3.6 |
---|
165 | - removed ".so ver" from libicu package name |
---|
166 | - changed Group to Development/Tools |
---|
167 | - changed libicu-doc Group to Applications/Documentation |
---|
168 | |
---|
169 | * Tue Mar 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.4.1-0vl1 |
---|
170 | - updated to 3.4.1 |
---|
171 | |
---|
172 | * Sun Jul 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.2-3vl1 |
---|
173 | - updated to 3.2 based on Fedora extra |
---|
174 | - new subpackage libicu-doc for API document |
---|
175 | |
---|
176 | * Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.0-0vl1 |
---|
177 | - Build for Vine Linux |
---|
178 | - add developers document to devel package |
---|
179 | - add Japanese summary |
---|
180 | |
---|
181 | * Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-1 |
---|
182 | - Fixed a typo in the dependencies "libuci" should be "libicu". (Daniel Demus) |
---|
183 | |
---|
184 | * Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-0 |
---|
185 | - Initial package. (using DAR) |
---|