auto-import icu-2.6.2-1 on branch devel from icu-2.6.2-1.src.rpm

This commit is contained in:
jross 2005-01-03 19:21:24 +00:00
parent 947f84aeac
commit 13759929d8
3 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1 @@
icu-2.6.2.tar.gz

92
icu.spec Normal file
View File

@ -0,0 +1,92 @@
# 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
Release: 1
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
Requires: /sbin/ldconfig
%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 would like to develop
programs using %{name}, you will need to install %{name}-devel.
%prep
%setup
%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
* Wed Dec 15 2004 Justin Ross <jross@dhcp83-29.boston.redhat.com>
- Initial build.

View File

@ -0,0 +1 @@
b5e9d975ea5e20eb355c32dfee44eb90 icu-2.6.2.tar.gz