forked from pool/kasumi
110 lines
3.0 KiB
RPMSpec
110 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package kasumi (Version 2.2)
|
|
#
|
|
# 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: GNU General Public License (GPL)
|
|
Group: System/I18n/Japanese
|
|
Autoreqprov: on
|
|
Provides: locale(anthy:ja)
|
|
Version: 2.2
|
|
Release: 17
|
|
URL: http://kasumi.sourceforge.jp/
|
|
Source0: http://osdn.dl.sourceforge.jp/kasumi/22902/kasumi-2.2.tar.bz2
|
|
Patch0: 64bit.patch
|
|
Patch1: gcc41.patch
|
|
Patch2: typo.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
|
|
%patch2 -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
|
|
* 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.
|