diff options
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | ibus-anthy.spec.in | 10 |
2 files changed, 11 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index f1ff3f7..b9c474d 100644 --- a/configure.ac +++ b/configure.ac @@ -49,6 +49,13 @@ AC_ISC_POSIX AC_HEADER_STDC AM_PROG_LIBTOOL +# For dislpay Date +m4_define(ibus_maybe_datedisplay, + m4_esyscmd([if test x]ibus_released[ != x1; then date '+%a %b %d %Y' | tr -d '\n\r'; fi])) +m4_define([ibus_datedisplay], ibus_maybe_datedisplay) +DATE_DISPLAY="ibus_datedisplay" +AC_SUBST(DATE_DISPLAY) + # check anthy PKG_CHECK_MODULES(ANTHY, [ anthy diff --git a/ibus-anthy.spec.in b/ibus-anthy.spec.in index 922e189..a7716a2 100644 --- a/ibus-anthy.spec.in +++ b/ibus-anthy.spec.in @@ -1,5 +1,4 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%define mod_path ibus-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@ Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} @@ -49,11 +48,10 @@ rm -rf $RPM_BUILD_ROOT # %dir %{python_sitearch}/ibus %{python_sitearch}/anthy.py* %{python_sitearch}/_anthy.so -%{_libexecdir}/ibus-engine-anthy -%{_libexecdir}/ibus-setup-anthy -%{_datadir}/@PACKAGE@ +%{_libexecdir}/* +%{_datadir}/ibus-anthy %{_datadir}/ibus/component/* %changelog -* Fri Aug 08 2008 Huang Peng <shawn.p.huang@gmail.com> - @VERSION@-1 -- The first version. +* @DATE_DISPLAY@ Peng Huang <shawn.p.huang@gmail.com> - @PACKAGE_VERSION@-1 +- Current veriosn. |