File skim.spec of Package skim
#
# spec file for package skim (Version 1.4.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: skim
BuildRequires: kdelibs3-devel scim-devel scons
%if %suse_version < 1010
BuildRequires: kdelibs3-doc python-devel
%endif
License: GPL v2 or later
Group: System/I18n/Chinese
Summary: KDE integration for SCIM
Version: 1.4.5
Release: 259
AutoReqProv: on
Provides: locale(kdebase3:ja;ko;zh)
Url: http://www.scim-im.org
# CVS repository:
# cvs -d:pserver:anonymous@scim.cvs.sourceforge.net:/cvsroot/scim login
# cvs -z3 -d:pserver:anonymous@scim.cvs.sourceforge.net:/cvsroot/scim co skim
# or:
# cvs -z3 -d:ext:mfabian@scim.cvs.sourceforge.net:/cvsroot/scim co skim
Source0: skim-1.4.5.tar.bz2
Patch1: scimkdeconfig.kcfg.patch
Patch2: use-system-scons.patch
Patch3: scons.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KDE integration for SCIM
Authors:
--------
liuspider <liuspider@users.sourceforge.net>
%prep
%define scons_options_basic prefix=/opt/kde3
%ifarch x86_64 ppc64 s390x
%define scons_options %scons_options_basic libsuffix=64
%else
%define scons_options %scons_options_basic
%endif
%setup -q
%patch1 -p1
%if %suse_version > 1100
%patch2 -p1
%endif
%patch3 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
rm -rf cache/
./configure %scons_options
%if %suse_version > 1100
scons
%else
./scons
%endif
%install
. /etc/opt/kde3/common_options
%if %suse_version > 1100
scons DESTDIR=%{buildroot} install
%else
./scons DESTDIR=%{buildroot} install
%endif
%find_lang skim
%suse_update_desktop_file %name Utility DesktopSettings
kde_post_install
#rm -rf $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/skim
%post
%run_ldconfig
%postun
%run_ldconfig
%files -f skim.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README TODO NEWS
/opt/kde3/bin/*
/opt/kde3/%_lib/lib*
/opt/kde3/%_lib/kde3/*
/opt/kde3/share/appl*/*/*
/opt/kde3/share/apps/*
/opt/kde3/share/autostart/*
/opt/kde3/share/icons/*/*/*/skim*
/opt/kde3/share/config.kcfg/*.kcfg
/opt/kde3/share/services/*
/opt/kde3/share/servicetypes/*
%_libdir/scim-*
/opt/kde3/include/*
%dir /opt/kde3/%_lib/pkgconfig/
/opt/kde3/%_lib/pkgconfig/*
%changelog
* Mon Oct 06 2008 mfabian@suse.de
- use system scons for openSUSE >= 11.0 and fix build with
python 2.6.
* Fri Jun 01 2007 coolo@suse.de
- move kde_post_install
* Fri Mar 09 2007 stbinner@suse.de
- fix build (new icon location check)
* Thu Jul 13 2006 mfabian@suse.de
- update to 1.4.5.
+ Fixed: crash issue when deleting helper properties
+ Improved: implement session management support to save
user config when logout from session
+ Fixed: compilation with qt 3.3.6
+ Updated: korean translation
* Wed May 31 2006 adrian@suse.de
- fix build for 10.0
* Mon Apr 10 2006 mfabian@suse.de
- Bugzilla #87443: add "Hangul" to the SCIM Trigger keys.
See also: http://librarian.launchpad.net/1914454/scim_config.diff
https://launchpad.net/distros/ubuntu/+source/scim/+bug/37687
* Mon Mar 27 2006 ro@suse.de
- fix typo in specfile
* Sat Mar 04 2006 zsu@suse.de
- Update to cvs head to fix the following issues [#154308]
- Fixed a crash bug when exiting scim-input-pad [#149541]
- Fixed a bug which prevent Filter setting from saving successfully.
- Disable main window when there is no properties.
- Prevent plugin setup window from being disabled.
- Fixed setup module desktop file translation issue.
* Tue Feb 28 2006 zsu@suse.de
- bug #153791; use semicolon instead of comma to split locale list.
* Thu Feb 23 2006 mfabian@suse.de
- add "Provides: locale(kdebase3:ja,ko,zh)".
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 zsu@suse.de
- update to skim 1.4.3 (cvs head).
* Wed Oct 12 2005 stbinner@suse.de
- fix wrong include hints for compilation with Qt 3.3.5
* Fri Aug 19 2005 mfabian@suse.de
- Bugzilla #105319: make /FrontEnd/X11/Dynamic = false the
default again to make sure that Compose works always.
- Bugzilla #105193: add "Zenkaku_Hankaku" to
/Hotkeys/FrontEnd/Trigger (this is the trigger key used MS IME
for Japanese).
- make "/FrontEnd/SharedInputMethod = true" the default.
* Fri Aug 19 2005 mfabian@suse.de
- Bugzilla #105319: apply patch by Zhe Su <zsu@novell.com> to
force the use of "kconfig" with skim if available
(See comment #13 in Bugzilla #105319).
* Thu Aug 18 2005 mfabian@suse.de
- Bugzilla #105319: fix typo in our patch of the default config
(Shift+space instead of Shift+Space).
* Thu Aug 11 2005 mfabian@suse.de
- update to 1.4.1 which includes the last fix.
* Wed Aug 10 2005 mfabian@suse.de
- cleaner fix for the problem from the last changelog by
the skim author LiuCougar <liucougar@gmail.com>.
* Tue Aug 09 2005 mfabian@suse.de
- libdir in /opt/kde3/lib64/pkgconfig/skim.pc should get the "64"
suffix on x86_64, ppc64, and s309x.
* Mon Jul 18 2005 mfabian@suse.de
- update to 1.4.0.
* Wed Jul 13 2005 mfabian@suse.de
- update to 1.3.3.20050712 (more build fixes).
- use RPM_OPT_FLAGS.
* Tue Jul 12 2005 mfabian@suse.de
- update to 1.3.3.20050712 (some build fixes in bksys).
* Mon Jul 11 2005 mfabian@suse.de
- update to 1.3.3.20050711.
* Wed Jun 22 2005 mfabian@suse.de
- update to version 1.3.1.
* Mon Jun 06 2005 adrian@suse.de
- update to version 1.3.0
* Thu Mar 17 2005 adrian@suse.de
- update to 1.2.1 (major bugfixes)
* solves problems with qt 3.3.4 imm patch
* Mon Feb 28 2005 mfabian@suse.de
- update to 1.2.0.
* Thu Feb 17 2005 adrian@suse.de
- menu entry moved to xdg dir
* Fri Feb 04 2005 adrian@suse.de
- update to version 1.1.0
* Thu Dec 16 2004 coolo@suse.de
- fixing Makefiles
* Wed Sep 29 2004 mfabian@suse.de
- make OnTheSpot input style the default for XIM.
- update autostart.diff from upstream CVS to support enabling/
disabling the autostart feature in the setup dialog.
* Wed Sep 22 2004 mskibbe@suse.de
- change specfile(suse_update_desktop_file)
* Mon Sep 20 2004 mfabian@suse.de
- update to CVS from 20040913 to avoid the DCOP server error
message.
- use "Control+space,Shift+space" as the default trigger key
instead of only "Control+space".
Users of kinput2, ami, ... are used to Shift+Space and may
not expect "Control+Space".
- make it build on SuSE Linux 9.1 as well.
* Fri Sep 10 2004 adrian@suse.de
- add autostart desktop file
* Thu Sep 09 2004 adrian@suse.de
- update to version 1.0.0
* Fri Sep 03 2004 adrian@suse.de
- update to version 0.9.7
* Sat Aug 21 2004 mfabian@suse.de
- new package: skim version 0.9.6.