|
@@ -1,12 +1,10 @@
|
|
|
-#%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")
|
|
|
-
|
|
|
-%define git_source 0
|
|
|
-%define vine_ja_po 0
|
|
|
+%define ver 1.3.3
|
|
|
+%define rel 1
|
|
|
|
|
|
Summary: Intelligent Input Bus for Linux / Unix OS
|
|
|
Name: ibus
|
|
|
-Version: 1.2.1
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Version: %{ver}
|
|
|
+Release: %{rel}%{?_dist_release}
|
|
|
License: LGPL
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://code.google.com/p/ibus/
|
|
@@ -43,20 +41,9 @@ Header files for iBus.
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1
|
|
|
-%if %{git_source}
|
|
|
-./autogen.sh
|
|
|
-%endif
|
|
|
-# replace ja.po
|
|
|
-%if %{vine_ja_po}
|
|
|
-%{__rm} -f po/ja.{po,gmo}
|
|
|
-%{__cp} %{SOURCE1} po/ja.po
|
|
|
-%endif
|
|
|
%configure --disable-static --with-gtk-im-module-dir=%{_libdir}/gtk-2.0/immodules
|
|
|
|
|
|
%build
|
|
|
-pushd po
|
|
|
-make ja.gmo
|
|
|
-popd
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
@@ -72,7 +59,7 @@ rm -rf %{buildroot}%{_libdir}/gtk-2.0/immodules/im-ibus.la
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%check
|
|
|
-#make check
|
|
|
+make check
|
|
|
|
|
|
%post
|
|
|
/sbin/ldconfig
|
|
@@ -107,6 +94,12 @@ rm -rf %{buildroot}
|
|
|
%{_includedir}/ibus-1.0
|
|
|
|
|
|
%changelog
|
|
|
+* Sat May 15 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.3-1
|
|
|
+- new upstream release
|
|
|
+- execute 'make check'
|
|
|
+- clean up:
|
|
|
+ - drop unused git_source and vine_ja_po
|
|
|
+
|
|
|
* Fri Apr 16 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.1-1
|
|
|
- new upstream release
|
|
|
- stop 'make check'
|