[9073] | 1 | %define sover 54 |
---|
[521] | 2 | Summary: International Components for Unicode |
---|
| 3 | Summary(ja): ユニコード用国際化コンポーネント |
---|
| 4 | Name: icu |
---|
[9073] | 5 | Version: 54.1 |
---|
[7938] | 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | Group: Development/Tools |
---|
| 8 | License: MIT |
---|
[798] | 9 | URL: http://icu-project.org/ |
---|
[521] | 10 | |
---|
[9073] | 11 | Source0: http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.tgz |
---|
| 12 | Source1: http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-docs.zip |
---|
[521] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[798] | 15 | BuildRequires: gcc-c++ |
---|
| 16 | BuildRequires: unzip perl |
---|
[521] | 17 | #Requires: libicu%{sover} = %{version} |
---|
| 18 | Requires: libicu = %{version}-%{release} |
---|
| 19 | |
---|
[8084] | 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | |
---|
[521] | 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" |
---|
[798] | 74 | %configure --disable-static --with-data-packaging=library --disable-samples |
---|
[521] | 75 | make |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | rm -rf $RPM_BUILD_ROOT |
---|
| 79 | make -C source install DESTDIR=$RPM_BUILD_ROOT |
---|
[818] | 80 | cp -pR ./source/tools/ctestfw/libicutest.so* $RPM_BUILD_ROOT/%{_libdir} |
---|
[521] | 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 |
---|
[798] | 98 | %{_bindir}/gencfu |
---|
[521] | 99 | %{_bindir}/gencnval |
---|
[7938] | 100 | %{_bindir}/gendict |
---|
[521] | 101 | %{_bindir}/genrb |
---|
[798] | 102 | %{_bindir}/icuinfo |
---|
[521] | 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} |
---|
[7938] | 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 |
---|
[521] | 126 | %{_mandir}/man1/icu-config.1* |
---|
[7938] | 127 | %{_datadir}/%{name} |
---|
[521] | 128 | |
---|
| 129 | %files -n libicu-doc |
---|
| 130 | %defattr(-,root,root,-) |
---|
| 131 | %doc docs/* |
---|
| 132 | |
---|
| 133 | %changelog |
---|
[9073] | 134 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 54.1-1 |
---|
| 135 | - update to 54.1 |
---|
| 136 | |
---|
[8084] | 137 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 52.1-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
[7938] | 140 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 51.2-1 |
---|
| 141 | - update to 51.2 |
---|
| 142 | |
---|
[818] | 143 | * Tue Apr 13 2010 Shu KONNO <owa@bg.wakwak.com> 4.4-2 |
---|
| 144 | - install libicutest.so* |
---|
| 145 | |
---|
[798] | 146 | * Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4-1 |
---|
| 147 | - new upstream release |
---|
| 148 | - built with new toolchain |
---|
| 149 | |
---|
[521] | 150 | * Sun Mar 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0.1-1vl5 |
---|
| 151 | - new upstream release |
---|
| 152 | - updated URL |
---|
| 153 | |
---|
| 154 | * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 3.6-1vl5 |
---|
| 155 | - applied new versioning policy, spec in utf-8 |
---|
| 156 | |
---|
| 157 | * Tue Sep 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.6-0vl1 |
---|
| 158 | - updated to 3.6 |
---|
| 159 | - removed ".so ver" from libicu package name |
---|
| 160 | - changed Group to Development/Tools |
---|
| 161 | - changed libicu-doc Group to Applications/Documentation |
---|
| 162 | |
---|
| 163 | * Tue Mar 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.4.1-0vl1 |
---|
| 164 | - updated to 3.4.1 |
---|
| 165 | |
---|
| 166 | * Sun Jul 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.2-3vl1 |
---|
| 167 | - updated to 3.2 based on Fedora extra |
---|
| 168 | - new subpackage libicu-doc for API document |
---|
| 169 | |
---|
| 170 | * Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.0-0vl1 |
---|
| 171 | - Build for Vine Linux |
---|
| 172 | - add developers document to devel package |
---|
| 173 | - add Japanese summary |
---|
| 174 | |
---|
| 175 | * Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-1 |
---|
| 176 | - Fixed a typo in the dependencies "libuci" should be "libicu". (Daniel Demus) |
---|
| 177 | |
---|
| 178 | * Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-0 |
---|
| 179 | - Initial package. (using DAR) |
---|