source: projects/specs/trunk/i/icu60/icu60-vl.spec @ 12263

Revision 12263, 6.0 KB checked in by tomop, 5 years ago (diff)

updated 10 packages

epiphany-3.30.5-1

evolution-data-server-3.30.5-1

harfbuzz-2.6.2-1

icu-65.1-1

icu60-60.3-2

libboost-1.66.0-4

php73-7.3.10-1

postfix-3.4.7-1

webkitgtk4-2.26.1-1

xfsprogs-5.2.1-2

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