icu/icu-2.6.spec

Name: icu
Summary: International Components for Unicode
Version: 2.6.2
Release: 1
License: X License
Group: System Environment/Libraries
URL: http://oss.software.ibm.com/icu/
Description: ICU is a C++ and C library that provides robust and full-featured Unicode support. This package contains the runtime libraries for ICU. It does not contain any of the data files needed at runtime and present in the icu' andicu-locales` packages.

CentOS 7 x86_64

The build could not start because the following file is missing: icu-2.6.2.tgz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: icu-2.6.2.tgz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$

# Authority: dag

### FIXME: Makefiles don't allow -jX (parallel compilation)
# Distcc: 0

Summary: International Components for Unicode
Name: icu
Version: 2.6.2
Release: 1%{?dist}
License: X License
Group: System Environment/Libraries
URL: http://oss.software.ibm.com/icu/

Source: ftp://www-126.ibm.com/pub/icu/2.6.2/icu-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++

%description
ICU is a C++ and C library that provides robust and full-featured Unicode
support. This package contains the runtime libraries for ICU. It does not
contain any of the data files needed at runtime and present in the `icu'
and `icu-locales` packages.

%package -n libicu
Summary: International Components for Unicode
Group: System Environment/Libraries

%description -n libicu
ICU is a C++ and C library that provides robust and full-featured Unicode
support. This package contains the runtime libraries for ICU. It does not
contain any of the data files needed at runtime and present in the `icu'
and `icu-locales` packages.

%package -n libicu-devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: libicu = %{version}-%{release}

%description -n libicu-devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup -n %{name}

%build
cd source
CFLAGS="-O3" \
CXXFLAGS="-O3" \
%configure \
	--disable-samples
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
cd source
%makeinstall

%post -n libicu
/sbin/ldconfig 2>/dev/null

%postun -n libicu
/sbin/ldconfig 2>/dev/null

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc license.html readme.html
%doc %{_mandir}/man?/*
%{_sysconfdir}/icu/
%{_bindir}/*
%{_sbindir}/*
%dir %{_datadir}/icu/
%{_datadir}/icu/%{version}/mkinstalldirs
%{_datadir}/icu/%{version}/license.html

%files -n libicu
%defattr(-, root, root, 0755)
%doc license.html
%{_libdir}/*.so.*

%files -n libicu-devel
%defattr(-, root, root, 0755)
%doc %{_datadir}/icu/%{version}/README
%dir %{_libdir}/icu/
%dir %{_datadir}/icu/
%{_includedir}/layout/
%{_includedir}/unicode/
%{_libdir}/*.so
%{_libdir}/icu/Makefile.inc
%{_libdir}/icu/%{version}/Makefile.inc
%{_datadir}/icu/%{version}/config/mh-linux

%changelog
* Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-1
- Fixed a typo in the dependencies "libuci" should be "libicu". (Daniel Demus)

* Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-0
- Initial package. (using DAR)