Bump to icu 58.2
[platform/upstream/icu.git] / packaging / icu.spec
index e444151..c09d559 100644 (file)
@@ -5,11 +5,11 @@
 %endif
 
 Name:      icu
-Version:   57.1
+Version:   58.2
 Release:   1
 Summary:   International Components for Unicode
 Group:     System/Libraries
-License:   ICU and Unicode-TOU and BSD-3-Clause
+License:   ICU and Unicode-TOU and BSD-2.0
 URL:       http://www.icu-project.org/
 Source0:   %{name}-%{version}.tar.gz
 Source1001:    icu.manifest
@@ -47,12 +47,15 @@ Includes and definitions for developing with icu.
 cp %{SOURCE1001} .
 
 %build
+export CFLAGS="$CFLAGS -D_TIZEN_FEATURE_"
+export CXXFLAGS="$CXXFLAGS -D_TIZEN_FEATURE_"
+
 cd source
-%configure --disable-static \
-            --disable-renaming \
+%configure --enable-static=no \
+            --enable-renaming=no \
             --enable-shared \
             --enable-plugins \
-            --disable-samples
+            --enable-samples=no
 make %{?_smp_mflags}
 
 %check
@@ -78,9 +81,11 @@ chmod +x %{buildroot}/%{_libdir}/lib*.so.*
 
 %files
 %manifest %{name}.manifest
+%license LICENSE
 
 %files -n libicu
 %manifest %{name}.manifest
+%license LICENSE
 %{_libdir}/*.so*
 %{_bindir}/derb
 %{_bindir}/genbrk
@@ -102,7 +107,7 @@ chmod +x %{buildroot}/%{_libdir}/lib*.so.*
 
 %files -n libicu-devel
 %manifest %{name}.manifest
-%{_includedir}/layout
+%license LICENSE
 %{_includedir}/unicode
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/icu-*.pc