add spec
authorAnas Nashif <anas.nashif@intel.com>
Fri, 23 Nov 2012 04:11:47 +0000 (20:11 -0800)
committerSemun Lee <sm79.lee@samsung.com>
Fri, 11 Dec 2015 01:42:24 +0000 (10:42 +0900)
packaging/icu.spec [new file with mode: 0644]

diff --git a/packaging/icu.spec b/packaging/icu.spec
new file mode 100644 (file)
index 0000000..75c8fe1
--- /dev/null
@@ -0,0 +1,88 @@
+Name:      icu
+Version:   4.8
+Release:   1
+Summary:   International Components for Unicode
+Group:     Development/Tools
+License:   ICU
+URL:       http://www.icu-project.org/
+Source0:   icu4c-4_8-src.tgz
+BuildRequires: doxygen
+BuildRequires: autoconf
+
+%description
+Tools and utilities for developing with icu.
+
+%package -n lib%{name}
+Summary: International Components for Unicode - libraries
+Group:   System/Libraries
+
+%description -n lib%{name}
+The International Components for Unicode (ICU) libraries provide
+robust and full-featured Unicode services on a wide variety of
+platforms. ICU supports the most current version of the Unicode
+standard, and they provide support for supplementary Unicode
+characters (needed for GB 18030 repertoire support).
+As computing environments become more heterogeneous, software
+portability becomes more important. ICU lets you produce the same
+results across all the various platforms you support, without
+sacrificing performance. It offers great flexibility to extend and
+customize the supplied services.
+
+%package  -n lib%{name}-devel
+Summary:  Development files for International Components for Unicode
+Group:    Development/Libraries
+Requires: lib%{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description -n lib%{name}-devel
+Includes and definitions for developing with icu.
+
+%prep
+%setup -q
+
+%build
+cd source
+%configure ./runConfigureICU Linux --disable-renaming --prefix=%{_prefix}
+make
+
+%install
+%make_install
+
+# bugs of rpmdeps
+chmod +x %{buildroot}/%{_libdir}/lib*.so.*
+
+%remove_docs
+
+
+%post -n lib%{name} -p /sbin/ldconfig
+
+%postun -n lib%{name} -p /sbin/ldconfig
+
+%files
+
+%files -n lib%{name}
+%{_libdir}/*.so*
+%{_bindir}/derb
+%{_bindir}/genbrk
+%{_bindir}/gencfu
+%{_bindir}/gencnval
+%{_bindir}/genctd
+%{_bindir}/genrb
+%{_bindir}/makeconv
+%{_bindir}/pkgdata
+%{_bindir}/uconv
+%{_bindir}/icuinfo
+%{_bindir}/icu-config
+%{_sbindir}/*
+%dir /usr/share/icu/4.8.1
+/usr/share/icu/4.8.1/config/mh-linux
+/usr/share/icu/4.8.1/install-sh
+/usr/share/icu/4.8.1/license.html
+/usr/share/icu/4.8.1/mkinstalldirs
+
+%files -n lib%{name}-devel
+%{_includedir}/layout
+%{_includedir}/unicode
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/icu-*.pc
+%{_libdir}/%{name}