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

Revision 12386, 6.7 KB checked in by tomop, 4 years ago (diff)

updated 15 packages

epiphany-3.30.5-3

evolution-data-server-3.30.5-3

harfbuzz-2.6.4-2

icu-67.1-1

libvisio-0.1.7-3

php74-7.4.5-2

postfix-3.5.1-2

qt5-qtbase-5.12.8-2

qt5-qtlocation-5.12.8-2

qt5-qtwebengine-5.12.8-2

samba-4.12.1-2

tracker-miners-2.3.3-2

tracker-2.3.4-1

webkitgtk4-2.28.1-1

xfsprogs-5.6.0-1

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