2005-01-03 19:21:24 +00:00
|
|
|
# Based off of a spec file by Dag Wieers <dag@wieers.com>
|
|
|
|
# http://dag.wieers.com/packages/icu/icu.spec
|
|
|
|
|
|
|
|
Summary: International Components for Unicode
|
|
|
|
Name: icu
|
|
|
|
Version: 2.6.2
|
2005-01-13 18:33:06 +00:00
|
|
|
Release: 2
|
2005-01-03 19:21:24 +00:00
|
|
|
License: X License
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://oss.software.ibm.com/icu/
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2005-01-13 18:33:06 +00:00
|
|
|
Requires: libicu
|
2005-01-03 19:21:24 +00:00
|
|
|
|
|
|
|
%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
|
2005-01-13 18:33:06 +00:00
|
|
|
Requires: glibc
|
|
|
|
Requires: /sbin/ldconfig
|
2005-01-03 19:21:24 +00:00
|
|
|
|
|
|
|
%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 would like to develop
|
|
|
|
programs using %{name}, you will need to install %{name}-devel.
|
|
|
|
|
|
|
|
%prep
|
2005-01-13 18:33:06 +00:00
|
|
|
%setup -q
|
2005-01-03 19:21:24 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd source
|
|
|
|
%configure --disable-samples
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
cd source
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%post -n libicu
|
|
|
|
/sbin/ldconfig 2>/dev/null
|
|
|
|
|
|
|
|
%postun -n libicu
|
|
|
|
/sbin/ldconfig 2>/dev/null
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%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)
|
|
|
|
%doc license.html readme.html
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files -n libicu-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%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
|
2005-01-13 18:33:06 +00:00
|
|
|
* Thu Jan 13 2005 Justin Ross <jross@spellingbee.boston.redhat.com>
|
|
|
|
- Quiets the setup phase
|
|
|
|
- Makes the obvious dependency on glibc explicit
|
|
|
|
- Adds some subpackage dependencies
|
|
|
|
|
|
|
|
* Wed Dec 15 2004 Justin Ross <jross@dhcp83-29.boston.redhat.com>
|
|
|
|
- Initial build.
|