source: projects/specs/trunk/i/icu/icu-vl.spec @ 11365

Revision 11365, 5.3 KB checked in by tomop, 6 years ago (diff)

icu-60.2-1

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