Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Toolchains:Qt:MinGW:latest:win64
mingw64-icu
mingw64-icu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-icu.spec of Package mingw64-icu
# # spec file for package mingw64-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 56 %global aversion 56_1 Name: mingw64-icu Version: 56.1 Release: 0 Summary: International Components for Unicode License: IPL-1.0 Group: Development/Libraries/C and C++ Url: http://icu-project.org Source0: http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{aversion}-src.tgz Patch0: icu4c-%{aversion}-crossbuild.patch BuildRequires: gcc-c++ BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem >= 25 BuildRoot: %{_tmppath}/%{name}-%{version}-build %{_mingw64_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 mingw64-libicu%{amajor} Summary: International Components for Unicode (libraries) Group: System/Libraries Obsoletes: mingw64-libicu %description -n mingw64-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 mingw64-libicu-devel Summary: International Components for Unicode (development files) Group: Development/Libraries/C and C++ Requires: mingw64-libicu%{amajor} %description -n mingw64-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. %_mingw64_debug_package %prep %setup -q -n icu %patch0 -p1 -b .crossbuild %build pushd source mkdir -p nativebuild pushd nativebuild ../configure --enable-static --disable-shared make %{?_smp_mflags} || make popd %{_mingw64_configure} \ --enable-shared --disable-static \ --with-cross-build=$(pwd)/nativebuild \ --with-data-packaging=library %{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make} popd %install pushd source make DESTDIR=%{buildroot} install %{?_smp_mflags} popd # UGLY HACKS STARTING find %{buildroot}%{_mingw64_libdir} -name "*.dll" -type l -delete for i in %{buildroot}%{_mingw64_libdir}/*.dll; \ do mv $i %{buildroot}%{_mingw64_bindir}/; done sed -i -e 's,default_ENABLE_RPATH=.*,default_ENABLE_RPATH="N",g' %{buildroot}%{_mingw64_bindir}/icu-config # UGLY HACKS ENDING %files %defattr(-,root,root) %{_mingw64_bindir}/genrb.exe %{_mingw64_bindir}/gencnval.exe %{_mingw64_bindir}/uconv.exe %{_mingw64_bindir}/gencmn.exe %{_mingw64_bindir}/makeconv.exe %{_mingw64_bindir}/genbrk.exe %{_mingw64_bindir}/gensprep.exe %{_mingw64_bindir}/pkgdata.exe %{_mingw64_bindir}/icupkg.exe %{_mingw64_bindir}/derb.exe %{_mingw64_bindir}/genccode.exe %{_mingw64_bindir}/gencfu.exe %{_mingw64_bindir}/gendict.exe %{_mingw64_bindir}/gennorm2.exe %{_mingw64_bindir}/icuinfo.exe %{_mingw64_mandir}/man1/makeconv.1* %{_mingw64_mandir}/man1/gencnval.1* %{_mingw64_mandir}/man1/derb.1* %{_mingw64_mandir}/man1/gencfu.1* %{_mingw64_mandir}/man1/gendict.1* %{_mingw64_mandir}/man1/icu-config.1* %{_mingw64_mandir}/man1/genbrk.1* %{_mingw64_mandir}/man1/uconv.1* %{_mingw64_mandir}/man1/genrb.1* %{_mingw64_mandir}/man1/pkgdata.1* %{_mingw64_mandir}/man8/gencmn.8* %{_mingw64_mandir}/man8/genccode.8* %{_mingw64_mandir}/man8/icupkg.8* %{_mingw64_mandir}/man8/gensprep.8* %files -n mingw64-libicu%{amajor} %defattr(-,root,root) %{_mingw64_bindir}/icuio%{amajor}.dll %{_mingw64_bindir}/icuuc*.dll %{_mingw64_bindir}/icule*.dll %{_mingw64_bindir}/icui18n*.dll %{_mingw64_bindir}/icutu*.dll %{_mingw64_bindir}/icudata*.dll %{_mingw64_bindir}/iculx*.dll %{_mingw64_bindir}/icutest*.dll %files -n mingw64-libicu-devel %defattr(-,root,root) %{_mingw64_bindir}/icu-config %{_mingw64_libdir}/libicule.dll.a %{_mingw64_libdir}/libicudata.dll.a %{_mingw64_libdir}/libicui18n.dll.a %{_mingw64_libdir}/libicuuc.dll.a %{_mingw64_libdir}/libiculx.dll.a %{_mingw64_libdir}/libicuio.dll.a %{_mingw64_libdir}/libicutest.dll.a %{_mingw64_libdir}/libicutu.dll.a %{_mingw64_libdir}/pkgconfig/icu-i18n.pc %{_mingw64_libdir}/pkgconfig/icu-io.pc %{_mingw64_libdir}/pkgconfig/icu-le.pc %{_mingw64_libdir}/pkgconfig/icu-lx.pc %{_mingw64_libdir}/pkgconfig/icu-uc.pc %{_mingw64_includedir}/layout %{_mingw64_includedir}/unicode %{_mingw64_libdir}/icu %{_mingw64_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