1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
7 version = %{ver_major}.%{ver_minor}.%{ver_plevel}
12 thisapp = icu-%{version}
14 groups = Development/Tools
15 url = http://www.icu-project.org
16 license = MIT and UCD and Public Domain
17 summary = International Components for Unicode.
20 Tools and utilities for developing with icu.
23 source_dl = http://download.icu-project.org/files/icu4c/%{version}/
24 sources = icu4c-%{ver_major}_%{ver_minor}_%{ver_plevel}-src.tgz
27 DIR_APP = %{DIR_SRC}/icu/source
29 configure_options += \
31 --with-data-packaging=library \
35 sed -i 's|-nodefaultlibs -nostdlib||' config/mh-linux
39 # There is no source/doc/html/search/ directory
40 sed -i '/^\s\+\$(INSTALL_DATA) \$(docsrchfiles) \$(DESTDIR)\$(docdir)\/\$(docsubsrchdir)\s*$/d' Makefile
42 # The configure --disable-renaming and possibly other options result in icu/source/uconfig.h.prepend
43 # being created, include that content in icu/source/common/unicode/uconfig.h to propagate to consumer packages.
44 test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' \
45 -i common/unicode/uconfig.h
53 # Install just the library and no headers.
54 mkdir -pv %{BUILDROOT}%{libdir}
55 cp -av lib/*.so.* %{BUILDROOT}%{libdir}
70 package %{name}-debuginfo