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}
13 groups = Development/Tools
14 url = http://www.icu-project.org
15 license = MIT and UCD and Public Domain
16 summary = International Components for Unicode.
19 Tools and utilities for developing with icu.
22 source_dl = http://download.icu-project.org/files/icu4c/%{version}/
23 sources = icu4c-%{ver_major}_%{ver_minor}_%{ver_plevel}-src.tgz
26 DIR_APP = %{DIR_SRC}/icu/source
28 configure_options += \
30 --with-data-packaging=library \
34 sed -i 's|-nodefaultlibs -nostdlib||' config/mh-linux
38 # There is no source/doc/html/search/ directory
39 sed -i '/^\s\+\$(INSTALL_DATA) \$(docsrchfiles) \$(DESTDIR)\$(docdir)\/\$(docsubsrchdir)\s*$/d' Makefile
41 # The configure --disable-renaming and possibly other options result in icu/source/uconfig.h.prepend
42 # being created, include that content in icu/source/common/unicode/uconfig.h to propagate to consumer packages.
43 test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' \
44 -i common/unicode/uconfig.h
59 package lib%{name}-devel
63 icu-devel = %{thisver}
73 package %{name}-debuginfo