Bump to libdatrie 0.2.10 95/157595/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified_mobile_hotfix tizen_5.0 tizen_5.5_mobile_hotfix accepted/tizen/5.0/unified/20181102.024456 accepted/tizen/5.5/unified/20191031.011122 accepted/tizen/5.5/unified/mobile/hotfix/20201027.073826 accepted/tizen/unified/20171108.063609 submit/tizen/20171108.030235 submit/tizen_5.0/20181101.000006 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 tizen_5.5.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 25 Oct 2017 08:21:38 +0000 (17:21 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 25 Oct 2017 08:21:38 +0000 (17:21 +0900)
[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] N/A
[Cause & Measure] libdatrie 0.2.4 -> 0.2.10
[Checking Method] libdatrie unit test

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Iac1d12caa188c508fa4e976ef17b6f66fe6ce69e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
configure.ac
packaging/libdatrie.spec

index d3f4cf0..0484bb6 100644 (file)
@@ -106,18 +106,18 @@ AC_ARG_ENABLE(doxygen-doc,
                               [disable document generation with doxygen])],
               , enable_doxygen_doc="yes")
 
-if test "x$enable_doxygen_doc" = "xyes"; then
-  AC_CHECK_PROG(DOXYGEN,doxygen,doxygen,no)
-  if test "x$DOXYGEN" = "xno"; then
+#if test "x$enable_doxygen_doc" = "xyes"; then
+#  AC_CHECK_PROG(DOXYGEN,doxygen,doxygen,no)
+#  if test "x$DOXYGEN" = "xno"; then
     enable_doxygen_doc="no"
-  else
-    AC_MSG_CHECKING([doxygen >= $DOXYGEN_REQ_VER])
-    DOXYGEN_VER=$($DOXYGEN --version)
-    AX_COMPARE_VERSION([$DOXYGEN_VER],[ge],[DOXYGEN_REQ_VER], 
-                       [AC_MSG_RESULT([$DOXYGEN_VER, yes])], 
-                       [AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled]); enable_doxygen_doc="no"])
-  fi
-fi
+#  else
+#    AC_MSG_CHECKING([doxygen >= $DOXYGEN_REQ_VER])
+#    DOXYGEN_VER=$($DOXYGEN --version)
+#    AX_COMPARE_VERSION([$DOXYGEN_VER],[ge],[DOXYGEN_REQ_VER], 
+#                       [AC_MSG_RESULT([$DOXYGEN_VER, yes])], 
+#                       [AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled]); enable_doxygen_doc="no"])
+#  fi
+#fi
 
 dnl where to install the doxygen-generated HTML doc
 AC_ARG_WITH(html-docdir,
index 0fb513d..dea42b8 100644 (file)
@@ -1,5 +1,11 @@
+
+%if "%{run_tests}" == "1" 
+    %define __spec_check_pre %___build_pre
+    %define check %%check
+%endif
+
 Name:           libdatrie
-Version:        0.2.4
+Version:        0.2.10
 Release:        0
 License:        LGPL-2.1
 Summary:        Double-Array Trie Library
@@ -34,15 +40,19 @@ This package contains the development files for libdatrie.
 cp %{SOURCE1001} .
 
 %build
+./autogen.sh
+chmod +x ./configure
 %configure \
         --disable-static --with-pic \
         --with-html-docdir=%{_docdir}/libdatrie/html
 make %{?_smp_mflags}
 
+%check
+make check || exit 0
+
 %install
 %make_install
-# This is not installed where it should
-mv %{buildroot}%{_datadir}/doc/libdatrie/README.migration %{buildroot}%{_docdir}/libdatrie/
+%remove_docs
 
 %post  -p /sbin/ldconfig
 
@@ -51,15 +61,14 @@ mv %{buildroot}%{_datadir}/doc/libdatrie/README.migration %{buildroot}%{_docdir}
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%doc COPYING
+%license COPYING
 %{_libdir}/libdatrie.so.1*
 
 %files devel
 %manifest %{name}.manifest
 %defattr(-,root,root)
+%{_bindir}/trietool
 %{_bindir}/trietool-0.2
-%doc %{_mandir}/man*/trietool-0.2.*
 %{_includedir}/datrie/
 %{_libdir}/libdatrie.so
 %{_libdir}/pkgconfig/datrie-0.2.pc
-%doc %{_docdir}/libdatrie/