|
@@ -1,6 +1,8 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
%define name scim-bridge
|
|
%define name scim-bridge
|
|
%define version 0.4.16
|
|
%define version 0.4.16
|
|
-%define release 11%{?_dist_release}
|
|
|
|
|
|
+%define release 12%{?_dist_release}
|
|
|
|
|
|
%define qt3_ver 3.3.8
|
|
%define qt3_ver 3.3.8
|
|
%define qt4_ver 4.6.3
|
|
%define qt4_ver 4.6.3
|
|
@@ -107,6 +109,56 @@ This package provides the SCIM Bridge Qt4 IM module.
|
|
このパッケージには SCIM Bridge の Qt4 IM モジュールが含まれています。
|
|
このパッケージには SCIM Bridge の Qt4 IM モジュールが含まれています。
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+## to build compat32 for x86_64 architecture support
|
|
|
|
+%package -n compat32-%{name}-gtk
|
|
|
|
+Summary: SCIM Bridge GTK IM Module
|
|
|
|
+Summary(ja): SCIM Bridge GTK IM モジュール
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: gtk2 >= 2.14.0
|
|
|
|
+Requires(post): gtk2 >= 2.14.0
|
|
|
|
+Requires(postun): gtk2 >= 2.14.0
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-gtk
|
|
|
|
+This package provides the SCIM Bridge GTK IM module.
|
|
|
|
+
|
|
|
|
+%description -l ja -n compat32-%{name}-gtk
|
|
|
|
+このパッケージには SCIM Bridge の GTK IM モジュールが含まれています。
|
|
|
|
+
|
|
|
|
+%if !%{without qt3}
|
|
|
|
+%package -n compat32-%{name}-qt
|
|
|
|
+Summary: SCIM Bridge Qt IM Module
|
|
|
|
+Summary(ja): SCIM Bridge Qt IM モジュール
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: qt = %{_qt3_version}
|
|
|
|
+BuildRequires: qt-devel
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-qt
|
|
|
|
+This package provides the SCIM Bridge Qt IM module.
|
|
|
|
+
|
|
|
|
+%description -l ja -n compat32-%{name}-qt
|
|
|
|
+このパッケージには SCIM Bridge の Qt IM モジュールが含まれています。
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+%if !%{without qt4}
|
|
|
|
+%package -n compat32-%{name}-qt4
|
|
|
|
+Summary: SCIM Bridge Qt4 IM Module
|
|
|
|
+Summary(ja): SCIM Bridge Qt4 IM モジュール
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: qt4 = %{_qt4_version}
|
|
|
|
+BuildRequires: qt4-devel
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-qt4
|
|
|
|
+This package provides the SCIM Bridge Qt4 IM module.
|
|
|
|
+
|
|
|
|
+%description -l ja -n compat32-%{name}-qt4
|
|
|
|
+このパッケージには SCIM Bridge の Qt4 IM モジュールが含まれています。
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch0 -p1 -b .0-fix-gdm
|
|
%patch0 -p1 -b .0-fix-gdm
|
|
@@ -162,6 +214,12 @@ export QT4_PREFIX=%{_qt4_prefix}
|
|
%postun gtk
|
|
%postun gtk
|
|
%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules
|
|
%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules
|
|
|
|
|
|
|
|
+%post -n compat32-%{name}-gtk
|
|
|
|
+%{_bindir}/gtk-query-immodules-2.0-32 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules
|
|
|
|
+
|
|
|
|
+%postun -n compat32-%{name}-gtk
|
|
|
|
+%{_bindir}/gtk-query-immodules-2.0-32 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README doc/LICENSE*
|
|
%doc AUTHORS COPYING ChangeLog NEWS README doc/LICENSE*
|
|
@@ -183,7 +241,30 @@ export QT4_PREFIX=%{_qt4_prefix}
|
|
%{_qt4_plugindir}/inputmethods/*.so
|
|
%{_qt4_plugindir}/inputmethods/*.so
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+## to build compat32 for x86_64 architecture support
|
|
|
|
+%if %{build_compat32}
|
|
|
|
+%files -n compat32-%{name}-gtk
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_libdir}/gtk-2.0/immodules/im-scim-bridge.so
|
|
|
|
+
|
|
|
|
+%if !%{without qt3}
|
|
|
|
+%files -n compat32-%{name}-qt
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_qt3_plugindir}/inputmethods/*.so
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+%if !%{without qt4}
|
|
|
|
+%files -n compat32-%{name}-qt4
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_qt4_plugindir}/inputmethods/*.so
|
|
|
|
+%endif
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.16-12
|
|
|
|
+- added compat32-* packages for x86_64 architecture support
|
|
|
|
+
|
|
* Thu Jul 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.16-11
|
|
* Thu Jul 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.16-11
|
|
- rebuilt with qt4-4.6.3
|
|
- rebuilt with qt4-4.6.3
|
|
|
|
|