123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- %define ver 1.4.9
- %define libdirver 1.4.0
- Summary: Smart Common Input Method platform
- Name: scim
- Version: %{ver}
- Release: 8%{?_dist_release}
- URL: http://www.scim-im.org/
- License: LGPL
- Group: System Environment/Libraries
- Source0: http://dl.sourceforge.net/sourceforge/scim/%{name}-%{version}.tar.gz
- Source2: scim-icons-0.7.tar.gz
- Source5: scim-1.4.7_translation-update.tar.bz2
- # patches from fedora
- Patch9: scim_panel_gtk-icon-size-fixes.patch
- Patch11: scim-1.4.5-panel-menu-fixes.patch
- #Patch12: scim-fix-unload-segfault.patch
- Patch14: scim_x11_frontend-ic-focus-LTC27940-215953.patch
- Patch15: scim-gtkimm-default-snooper-off-213796.patch
- Patch17: scim-1.4.5-no-rpath-libdir.patch
- Patch19: scim-1.4.7-remove-locale.patch
- Patch20: scim-1.4.7-fix-fallback.patch
- Patch21: scim-1.4.7-fix-capslock.patch
- Patch22: scim-1.4.7-fix-gdm.patch
- Patch23: scim-1.4.7-remove-help-frame.patch
- #Patch24: scim-1.4.7-translation-update-431995.patch
- Patch25: scim-1.4.7-timeout.patch
- Patch26: scim-1.4.7-trayicon.patch
- Patch27: scim-1.4.7-menu-pos.patch
- Patch28: scim-1.4.7-xim-wrong-format.patch
- Patch29: scim-1.4.7-bz462820.patch
- Patch30: scim-1.4.7-imdkit-read-property-properly.patch
- Patch32: scim-1.4.7-syslibltdl.patch
- Patch33: scim-1.4.8-fix-dlopen.patch
- Patch34: scim-1.4.9-fix-disappeared-status-icon.patch
- # patch from Mandriva
- Patch31: scim-1.4.7-support-more-utf8-locales.patch
- # vine patch
- Patch100: %{name}-1.4.8-vine.patch
- BuildRoot: %{_tmppath}/%{name}-root
- BuildRequires: glib2-devel >= 2.10.0 gtk2-devel >= 2.8.13 pango-devel >= 1.0.0
- BuildRequires: GConf2-devel >= 2.0.0 pkgconfig >= 0.12
- BuildRequires: libXt-devel
- BuildRequires: autoconf automake gettext libtool
- BuildRequires: libtool-ltdl-devel
- BuildRequires: desktop-file-utils
- Requires(post): gtk2 >= 2.8.13
- %description
- Smart Common Input Method platform, in short SCIM, is a development
- platform to make Input Method developer life easier. It honors a
- very clear architecture and provides a pretty simple and powerful
- programming interface.
- %description -l ja
- SCIM ( Smart Common Input Method プラットフォーム ) はインプット
- メソッドの開発をより簡単にする開発プラットフォームです。
- SCIM は、明快なアーキテクチャを持ち、とても簡潔でパワフルな
- プログラミングインタフェースを提供します。
- %package devel
- Summary: Development tools for SCIM applications.
- Summary(ja): SCIM を使ったアプリケーションを開発するためのファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig >= 0.12
- %description devel
- scim-devel package contains the header files and static libraries to
- develop a SCIM applications.
- %description devel -l ja
- scim-devel パッケージには、SCIM アプリケーションの開発に必要な
- ヘッダーファイルと静的ライブラリが含まれています。
- %prep
- %setup -q -a2 -a5
- cp -p scim-icons/icons/*.png data/icons
- cp -p scim-icons/pixmaps/*.png data/pixmaps
- cp -p scim_translations/*.po po
- %patch9 -p1 -b .9-icon-size~
- %patch11 -p1 -b .11-factory-menu~
- #%patch12 -p1 -b .12-unloadsegfault~
- %patch14 -p1 -b .14-xim-focus~
- %patch15 -p1 -b .15-key-snooper~
- %patch17 -p1 -b .17-rpath~
- %patch19 -p1 -b .19-remove-locale~
- %patch20 -p1 -b .20-fix-fallback
- %patch21 -p1 -b .21-fix-capslock
- %patch22 -p1 -b .22-fix-gdm
- %patch23 -p1 -b .23-help-frame
- #%patch24 -p1 -b .24-trans
- %patch25 -p1 -b .25-timeout
- %patch26 -p1 -b .26-trayicon
- %patch27 -p1 -b .27-menu-pos
- %patch28 -p1 -b .28-xim-wrong-format
- %patch29 -p1 -b .29-bz462820
- %patch30 -p1 -b .29-bz466657libtool
- %patch31 -p1 -b .support-more-utf8-locales
- %patch32 -p1 -b .32-sysltdl
- %patch33 -E -p1 -b .fix-dlopen
- %patch34 -p1 -b .fix-disappeared-status-icon
- %patch100 -p1 -b .vine
- %build
- autoreconf -vfi
- %configure --disable-static
- %{__make} %{?_smp_mflags}
- %install
- [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
- %{__make} DESTDIR=%{buildroot} install-strip
- %{find_lang} %{name}
- # remove unpackaged files
- find ${RPM_BUILD_ROOT} -name '*.la' -exec rm \{\} \;
- # install desktop file
- desktop-file-install --delete-original \
- --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
- --add-category X-GNOME-PersonalSettings \
- ${RPM_BUILD_ROOT}%{_datadir}/applications/scim-setup.desktop
- desktop-file-install --delete-original \
- --dir ${RPM_BUILD_ROOT}%{_datadir}/control-center-2.0/capplets \
- --add-category X-GNOME-PersonalSettings \
- ${RPM_BUILD_ROOT}%{_datadir}/control-center-2.0/capplets/scim-setup.desktop
- %clean
- [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
- %post
- /sbin/ldconfig
- %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules
- %postun
- /sbin/ldconfig
- %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules
- %files -f %{name}.lang
- %defattr(-,root,root)
- %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
- %{_bindir}/scim
- %{_bindir}/scim-config-agent
- %{_bindir}/scim-setup
- %{_libdir}/libscim-1.0.so.*
- %{_libdir}/libscim-gtkutils-1.0.so.*
- %{_libdir}/libscim-x11utils-1.0.so.*
- %dir %{_libdir}/gtk-2.0
- %dir %{_libdir}/gtk-2.0/immodules
- %{_libdir}/gtk-2.0/immodules/im-scim.so
- %dir %{_libdir}/scim-1.0
- %{_libdir}/scim-1.0/scim-helper-launcher
- %{_libdir}/scim-1.0/scim-helper-manager
- %{_libdir}/scim-1.0/scim-launcher
- %{_libdir}/scim-1.0/scim-panel-gtk
- %dir %{_libdir}/scim-1.0/%{libdirver}
- %dir %{_libdir}/scim-1.0/%{libdirver}/Config
- %{_libdir}/scim-1.0/%{libdirver}/Config/*.so
- %dir %{_libdir}/scim-1.0/%{libdirver}/Filter
- %{_libdir}/scim-1.0/%{libdirver}/Filter/*.so
- %dir %{_libdir}/scim-1.0/%{libdirver}/FrontEnd
- %{_libdir}/scim-1.0/%{libdirver}/FrontEnd/*.so
- %dir %{_libdir}/scim-1.0/%{libdirver}/Helper
- %{_libdir}/scim-1.0/%{libdirver}/Helper/*.so
- %dir %{_libdir}/scim-1.0/%{libdirver}/IMEngine
- %{_libdir}/scim-1.0/%{libdirver}/IMEngine/*.so
- %dir %{_libdir}/scim-1.0/%{libdirver}/SetupUI
- %{_libdir}/scim-1.0/%{libdirver}/SetupUI/*.so
- %{_datadir}/applications/scim-setup.desktop
- %{_datadir}/control-center-2.0/capplets/scim-setup.desktop
- %{_datadir}/pixmaps/scim-setup.png
- %{_datadir}/scim
- %config(noreplace) %{_sysconfdir}/scim/config
- %config(noreplace) %{_sysconfdir}/scim/global
- %dir %{_sysconfdir}/scim
- %files devel
- %defattr(-, root, root)
- %doc docs/html docs/developers
- %{_libdir}/libscim-1.0.so
- %{_libdir}/libscim-gtkutils-1.0.so
- %{_libdir}/libscim-x11utils-1.0.so
- %{_libdir}/pkgconfig/scim.pc
- %{_libdir}/pkgconfig/scim-gtkutils.pc
- %{_libdir}/pkgconfig/scim-x11utils.pc
- %{_includedir}/scim-1.0
- %changelog
- * Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.9-8
- - added BuildRequires: desktop-file-utils [see VineSeed:22000]
- * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.9-7
- - rebuilt with rpm-4.8.1 for pkg-config
- * Sat Jul 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.9-6
- - added Pacth34 from Mandriva to fix disapppear tray icon
- - This patch upstream is Ubuntu https://bugs.launchpad.net/ubuntu/+source/scim/+bug/475800
- * Sun Feb 21 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.9-5
- - rebuilt with new toolchain
- * Tue Aug 11 2009 Shu KONNO <owa@bg.wakwak.com> 1.4.9-4
- - add BR: libtool-ltdl-devel
- * Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4.9-3
- - add Categories=X-GNOME-PersonalSettings for .desktop
- * Thu Apr 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.9-2
- - fixed changelog typo in Apr 19
- - added Buildrequires: autoconf automake gettext libtool
- * Sun Apr 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.9-1
- - new upstream release
- - spec in UTF-8
- -added Pacth32,33 (import from fedora package)
- - changed autoreconf option
- * Sun Apr 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.8-2
- - updated vine patch
- - enabled "/Panel/Gtk/LookupTableVertinal = True" again
- * Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.8-1
- - new upstream release
- - removed patch12,patch24 (because these patches are merged)
- - added patch31 (for support more utf8-locales)
- - updated and renamed vine patch
- - deleted "/Panel/Gtk/LookupTableVertinal = True" (because already "True")
- - renamed scim-1.4.8-vine.patch
- * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.7-6
- - import more patches from fedora package.
- - disable static libs
- - remove unpackaged files
- * Sat Oct 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.4.7-5
- - remove *.la
- * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.7-4
- - rebuild with gtk-2.14
- - import patch1[245], Patch2[01235678] from fedora package to fix
- several problems.
- * Fri May 09 2008 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.7-3
- - rebuild with xorg-x11-7.3
- * Thu Apr 17 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.7-2
- - rebuilt with glib2-devel-2.16.3-1vl5 (without *.la files)
- * Sat Apr 05 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4.7-1
- - apply new versioning policy.
- * Wed Sep 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4.7-0vl1
- - new upstream release
- - add %%{_libdir}/scim-1.0/%%{libdirver}/Filter/*.la.
- * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.6-0vl2
- - rebuild with libstdc++34
- * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.6-0vl1
- - new upstream release
- * Fri Nov 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.5-0vl1
- - new upstream release
- * Sun Sep 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.4-0vl2
- - update vine patch
- - set /Panel/Gtk/LookupTableVertinal = True
- * Tue Apr 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.4-0vl1
- - new upstream release
- - change Group: to System Environment/Libraries
- - change Url: to current scim homepage.
- - add Patch100 for Vine Linux default settings
- - add Zenkaku_Hankaku, Alt+Kanji, Alt+grave and Shift+space as Trigger
- - fix %%post/%%postun to support biarch.
- - add PreReq: gtk2 >= 2.8.13 to support biarch.
- * Wed Aug 17 2005 IWAI, Masaharu <iwai@alib.jp> 1.4.2-0vl1
- - new upstream release
- * Fri Aug 12 2005 IWAI, Masaharu <iwai@alib.jp> 1.4.1-0vl1
- - new upstream release
- * Sun Jul 31 2005 IWAI, Masaharu <iwai@alib.jp> 1.4.0-0vl1
- - new upstream releases
- - stop runnging gconftool-2 in post script
- * Fri May 27 2005 IWAI, Masaharu <iwai@alib.jp> 1.2.3-0vl1
- - new upstream release
- * Thu May 26 2005 IWAI, Masaharu <iwai@alib.jp> 1.2.2-0vl1
- - new upstream release
- - update library directory varsion: 1.2.0
- - add %%{_libdir}/scim-1.0/scim-helper-{launcher,manager}
- - add New Setup Module: Helper
- - drop %%{_bindir}/scim-make-table
- - drop %%{_sysconfdir}/gconf/schemas/*
- * Fri Dec 31 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.2-0vl1
- - new upstream release
- * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.1-0vl2
- - add Japanese descriptions
- * Sat Oct 9 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.1-0vl1
- - new upstream release
- - add new config files: config and global
- * Wed Sep 8 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.0-0vl1
- - initial build
|