Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-icu
mingw32-icu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-icu.spec of Package mingw32-icu
# # spec file for package mingw32-icu # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global amajor 74 %global aversion 74_2 %global bversion 74-2 Name: mingw32-icu Version: 74.2 Release: 0 Summary: International Components for Unicode License: IPL-1.0 Group: Development/Libraries/C and C++ Url: http://icu-project.org Source0: https://github.com/unicode-org/icu/releases/download/release-%{bversion}/icu4c-%{aversion}-src.tgz Patch0: icu4c-74_2-add-lib-prefix-to-dll.patch Patch1: icu4c-74_2-fix-pc-files.patch BuildRequires: gcc-c++ BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem >= 25 %_mingw32_package_header_debug BuildArch: noarch #!BuildIgnore: post-build-checks %description ICU is a set of C and C++ libraries that provides robust and full-featured Unicode and locale support. The library provides calendar support, conversions for many character sets, language sensitive collation, date and time formatting, support for many locales, message catalogs and resources, message formatting, normalization, number and currency formatting, time zone support, transliteration, and word, line, and sentence breaking, etc. %package -n mingw32-libicu%{amajor} Summary: International Components for Unicode (libraries) Group: System/Libraries Provides: mingw32-libicu = %{version} Obsoletes: mingw32-libicu < %{version} %description -n mingw32-libicu%{amajor} ICU is a set of C and C++ libraries that provides robust and full-featured Unicode and locale support. The library provides calendar support, conversions for many character sets, language sensitive collation, date and time formatting, support for many locales, message catalogs and resources, message formatting, normalization, number and currency formatting, time zone support, transliteration, and word, line, and sentence breaking, etc. %package -n mingw32-libicu-devel Summary: International Components for Unicode (development files) Group: Development/Libraries/C and C++ Requires: mingw32-libicu%{amajor} %description -n mingw32-libicu-devel ICU is a set of C and C++ libraries that provides robust and full-featured Unicode and locale support. The library provides calendar support, conversions for many character sets, language sensitive collation, date and time formatting, support for many locales, message catalogs and resources, message formatting, normalization, number and currency formatting, time zone support, transliteration, and word, line, and sentence breaking, etc. %_mingw32_debug_package %prep %autosetup -p1 -n icu %build pushd source mkdir -p nativebuild pushd nativebuild ../configure --enable-static --disable-shared make %{?_smp_mflags} || make popd %{_mingw32_configure} \ --enable-shared --disable-static \ --with-cross-build=$(pwd)/nativebuild \ --with-data-packaging=library %{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make} popd %install pushd source make DESTDIR=%{buildroot} install %{?_smp_mflags} popd # UGLY HACKS STARTING # fix icu-config: Can't find /usr/i686-w64-mingw32/sys-root/mingw/lib/icuuc.dll - ICU prefix is wrong. rm %{buildroot}%{_mingw32_bindir}/icu-config # UGLY HACKS ENDING # for compatibility with older versions, is for example required for libqt5 version 5.12 ln -s libicuin.dll.a %{buildroot}%{_mingw32_libdir}/libicui18n.dll.a ln -s libicudt.dll.a %{buildroot}%{_mingw32_libdir}/libicudata.dll.a %files %defattr(-,root,root) %{_mingw32_bindir}/derb.exe %{_mingw32_bindir}/escapesrc.exe %{_mingw32_bindir}/genbrk.exe %{_mingw32_bindir}/genccode.exe %{_mingw32_bindir}/gencfu.exe %{_mingw32_bindir}/gencmn.exe %{_mingw32_bindir}/gencnval.exe %{_mingw32_bindir}/gendict.exe %{_mingw32_bindir}/gennorm2.exe %{_mingw32_bindir}/genrb.exe %{_mingw32_bindir}/gensprep.exe %{_mingw32_bindir}/icuexportdata.exe %{_mingw32_bindir}/icuinfo.exe %{_mingw32_bindir}/icupkg.exe %{_mingw32_bindir}/makeconv.exe %{_mingw32_bindir}/pkgdata.exe %{_mingw32_bindir}/uconv.exe %{_mingw32_mandir}/man1/derb.1* %{_mingw32_mandir}/man1/genbrk.1* %{_mingw32_mandir}/man1/gencfu.1* %{_mingw32_mandir}/man1/gencnval.1* %{_mingw32_mandir}/man1/gendict.1* %{_mingw32_mandir}/man1/genrb.1* %{_mingw32_mandir}/man1/icu-config.1* %{_mingw32_mandir}/man1/icuexportdata.1.gz %{_mingw32_mandir}/man1/makeconv.1* %{_mingw32_mandir}/man1/pkgdata.1* %{_mingw32_mandir}/man1/uconv.1* %{_mingw32_mandir}/man8/genccode.8* %{_mingw32_mandir}/man8/gencmn.8* %{_mingw32_mandir}/man8/gensprep.8* %{_mingw32_mandir}/man8/icupkg.8* %files -n mingw32-libicu%{amajor} %defattr(-,root,root) %{_mingw32_bindir}/libicu*.dll %files -n mingw32-libicu-devel %defattr(-,root,root) #%%{_mingw32_bindir}/icu-config %{_mingw32_libdir}/libicu*.dll.a %{_mingw32_libdir}/pkgconfig/icu*.pc %{_mingw32_includedir}/unicode %{_mingw32_libdir}/icu %{_mingw32_datadir}/icu %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor