Disable GIR Binding on Fedora 16

This commit is contained in:
Fedora 2012-06-06 01:19:42 +08:00
parent ba2ce111a5
commit 6f1a198de7

View File

@ -5,7 +5,7 @@
Name: fcitx Name: fcitx
Summary: Free Chinese Input Toy for X (XIM) Summary: Free Chinese Input Toy for X (XIM)
Version: 4.2.4 Version: 4.2.4
Release: 1%{?dist} Release: 1.1%{?dist}
License: GPLv2+ License: GPLv2+
Group: User Interface/Desktops Group: User Interface/Desktops
URL: http://code.google.com/p/%{name}/ URL: http://code.google.com/p/%{name}/
@ -129,7 +129,7 @@ This package contains quwei engine for fcitx.
%build %build
mkdir -p build mkdir -p build
pushd build pushd build
%cmake .. -DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On -DENABLE_OPENCC=On-DENABLE_LUA=On -DENABLE_GIR=On %cmake .. -DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On -DENABLE_OPENCC=On-DENABLE_LUA=On -DENABLE_GIR=Off
make VERBOSE=1 %{?_smp_mflags} make VERBOSE=1 %{?_smp_mflags}
%install %install
@ -304,8 +304,6 @@ update-desktop-database %{_datadir}/applications &>/dev/null || :
%files gtk3 %files gtk3
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/gtk-3.0/%{gtk3_binary_version}/immodules/im-fcitx.so %{_libdir}/gtk-3.0/%{gtk3_binary_version}/immodules/im-fcitx.so
%{_libdir}/girepository-1.0/Fcitx-1.0.typelib
%{_datadir}/gir-1.0/Fcitx-1.0.gir
%files qt4 %files qt4
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -313,6 +311,9 @@ update-desktop-database %{_datadir}/applications &>/dev/null || :
%changelog %changelog
* Wed Jun 06 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.4-1.1
- Disable GIR Binding on Fedora 16
* Tue Jun 05 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.4-1 * Tue Jun 05 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.4-1
- Upgrade to fcitx-4.2.4 - Upgrade to fcitx-4.2.4
- Fix the ownership conflict on fcitx and fcitx-data - Fix the ownership conflict on fcitx and fcitx-data