From 13759929d81110e495390556caedd8377b35ad94 Mon Sep 17 00:00:00 2001 From: jross Date: Mon, 3 Jan 2005 19:21:24 +0000 Subject: [PATCH] auto-import icu-2.6.2-1 on branch devel from icu-2.6.2-1.src.rpm --- .cvsignore | 1 + icu.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 94 insertions(+) create mode 100644 icu.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3a4bcd0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +icu-2.6.2.tar.gz diff --git a/icu.spec b/icu.spec new file mode 100644 index 0000000..b44d9ff --- /dev/null +++ b/icu.spec @@ -0,0 +1,92 @@ +# Based off of a spec file by Dag Wieers +# 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 +- Initial build. diff --git a/sources b/sources index e69de29..93f2e45 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b5e9d975ea5e20eb355c32dfee44eb90 icu-2.6.2.tar.gz