File kanjipad.spec of Package kanjipad

#
# spec file for package kanjipad (Version 2.0.0)
#
# Copyright (c) 2004 SUSE LINUX AG, 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://www.suse.de/feedback/
#

# norootforbuild

Name:         kanjipad
BuildRequires: gtk2-devel update-desktop-files
License:      GPL
Group:        System/I18n/Japanese
Autoreqprov:  on
Version:      2.0.0
Release:      196
URL:          http://fishsoup.net/software/kanjipad/
Source0:      http://fishsoup.net/software/kanjipad/kanjipad-2.0.0.tar.bz2
Source1:      %name.desktop
Patch:        kanjipad.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Summary:      Japanese handwriting recognition

%description
KanjiPad is a very simple program for handwriting recognition - The
user draws a character into the box, then requests translation. The
best candidates are displayed along the right hand side of the window
and can be selected for pasting into other programs.

It is meant primarily for dictionary purposes for learners of
   Japanese - it does not support entering kana, so its usefulness
   as an input method is limited. Furthermore, if you already know
   the reading of a character, conventional pronunciation based
   methods of entering the character are probably faster.

However, KanjiPad is sometimes useful for entering very unusual
characters, even if the pronunciation is known, because pronunciation
based input methods often fail for rarely used characters.



Authors:
--------
    Owen Taylor <otaylor@gtk.org>

%prep
%setup -q
%patch

%build
# update config.{guess,sub}
%{?suse_update_config}
make PREFIX=/usr OPTIMIZE="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT;
make PREFIX=$RPM_BUILD_ROOT/usr install
%suse_update_desktop_file -i %name Languages

%clean
rm -rf $RPM_BUILD_ROOT;

%files
%defattr(-,root,root)
%doc COPYING README TODO ChangeLog
/usr/bin/*
/usr/share/[^a]*
/usr/share/applications/*

%changelog -n kanjipad
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jun 02 2004 - ro@suse.de
- do not define GTK_DISABLE_DEPRECATED
* Tue Feb 17 2004 - adrian@suse.de
- fix Categories
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Sat Aug 16 2003 - adrian@suse.de
- add desktop file
* Tue Jun 24 2003 - ro@suse.de
- use gtk2-devel-packages in neededforbuild
* Tue Jun 24 2003 - mfabian@suse.de
- update to 2.0.0 (GTK-2 version) and remove obsolete patch.
* Mon May 07 2001 - mfabian@suse.de
- bzip2 sources
* Mon Nov 06 2000 - ro@suse.de
- fixed neededforbuild
* Thu Aug 31 2000 - mfabian@suse.de
- fix to make it work on big-endian machines like PowerPC
* Fri Jul 14 2000 - mfabian@suse.de
- new package: kanjipad, Version 1.2.3
openSUSE Build Service is sponsored by