File kasumi.spec of Package kasumi
#
# spec file for package kasumi (Version 2.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kasumi
BuildRequires: anthy-devel gcc-c++ gtk2-devel update-desktop-files
License: GPL v2 or later
Group: System/I18n/Japanese
AutoReqProv: on
Provides: locale(anthy:ja)
Version: 2.3
Release: 1
Url: http://kasumi.sourceforge.jp/
Source0: http://keihanna.dl.sourceforge.jp/kasumi/27825/kasumi-2.3.tar.bz2
Patch0: fix-build.patch
Patch1: gcc41.patch
Patch3: desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Dictionary Tool for Anthy
%description
A graphical tool to edit the personal dictionary for Anthy.
Authors:
--------
Takashi Nakamoto <bluedwarf@openoffice.org>
%prep
%setup0 -q -n %{name}-%{version}
%patch0 -p1
#%patch1 -p1
%patch3 -p1
%build
rm -f config.cache
# update config.{guess,sub}
%{?suse_update_config}
libtoolize --force
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i %name System SystemSetup
%find_lang kasumi
%clean
rm -rf $RPM_BUILD_ROOT
%files -n kasumi -f kasumi.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_bindir}/*
%{_datadir}/pixmaps/kasumi.png
%{_datadir}/applications/kasumi.desktop
%{_mandir}/man1/*
%changelog
* Tue Nov 06 2007 - mfabian@suse.de
- update to 2.3:
• FTBFS with GCC 4.3: missing #includes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417266
Thaks to Martin Michlmayr <tbm@cyrius.com>.
• kasumi dumps core on x86_64 systems when trying
to add new words to the dictionary
https://bugzilla.novell.com/show_bug.cgi?id=253788
Thanks to Mike Fabian (-> remove 64bit patch).
• fail in the judgment of the version.
http://kasumi.sourceforge.jp/index.php?%%A5%%D0%%A5%%B0%%CA%%F3%%B9%%F0%%2F95
Thanks to dtana.
- remove typo.patch.
- fix build with gcc 4.3.
* Mon May 21 2007 - mfabian@suse.de
- fix build on STABLE (remove X-SuSE-translate=true from .desktop
file).
* Wed Mar 14 2007 - mfabian@suse.de
- enable 64bit patch again.
* Tue Mar 13 2007 - mfabian@suse.de
- updating to 2.2 (also fixes Bugzilla #253788)
• man page added
• Italian translations added
* Mon Aug 28 2006 - mfabian@suse.de
- update to 2.0.1.
• search function for KasumiMainWindow
• obsolete "Add Mode" button
• set an alternative word type if specified one does not exist
• measures against an anthy's defect that it returns error code
even when it is right and no word is registered.
* Tue Feb 28 2006 - mfabian@suse.de
- add: "Provides: locale(anthy:ja)".
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 - mfabian@suse.de
- update to 1.0.
* Wed Oct 19 2005 - mfabian@suse.de
- update to 0.10.
- fix build problem with gcc 4.1.
* Fri Aug 05 2005 - mfabian@suse.de
- update to 0.9.
* Wed Feb 23 2005 - mfabian@suse.de
- fix some typos.
* Thu Feb 17 2005 - mfabian@suse.de
- new package: kasumi, version 0.7.