File kdrill.spec of Package kdrill
#
# spec file for package kdrill (Version 6.4)
#
# Copyright (c) 2006 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: kdrill
BuildRequires: xorg-x11 xorg-x11-devel
License: Other License(s), see package
Group: Productivity/Office/Dictionary
Requires: edict, xjdic-indices
Autoreqprov: on
Version: 6.4
Release: 16
URL: http://www.bolthole.com/kdrill/
# original source is gzipped
Source0: http://www.bolthole.com/kdrill/kdrill6.4.tar.bz2
Patch: kdrill.patch
Patch1: bugzilla-151088-array-subscript-out-of-range.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: "Kanji Drill"--Kanji Quiz and Japanese Dictionary for the X Window System
%description
KDrill stands for Kanji Drill. It is a program to help people learn
kanji and kana (the Japanese charater set). It uses Jim Breen's EDICT
Japanese-English dictionary and also doubles as a dictionary lookup
program. Kdrill runs under the X Window System.
Authors:
--------
Philip Brown <phil@bolthole.com>
%prep
%setup -n %{name}%{version}
%patch0 -p1
%patch1 -p1
%build
xmkmf
make Makefiles
make depend
make CCOPTIONS="$RPM_OPT_FLAGS"
%install
make install DESTDIR=$RPM_BUILD_ROOT
make install.man MANSUFFIX=1 LIBMANSUFFIX=3 DESTDIR=$RPM_BUILD_ROOT
%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%doc INSTALL LICENSE NOTES README TODO PATCHLIST OLD.PATCHLIST
%{_bindir}/kdrill
%{_mandir}/*/*
%{_datadir}/X11/app-defaults/KDrill
%changelog -n kdrill
* Sun Aug 06 2006 - cthiel@suse.de
- fix build with X.org 7.1
* Mon Feb 20 2006 - mfabian@suse.de
- Bugzilla #151088: "array subscript out of range".
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jun 15 2005 - meissner@suse.de
- use RPM_OPT_FLAGS.
* Thu Apr 28 2005 - mfabian@suse.de
- make it build on STABLE again.
- update to 6.4.
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Mon Sep 08 2003 - mfabian@suse.de
- require xjdic-indices to get the SuSEconfig.xjdic script which
generates the EUC-JP encoded versions of the dictionaries.
- adapt the default dictionary locations.
* Mon Aug 25 2003 - mfabian@suse.de
- update to 6.2.
* Mon Apr 09 2001 - ro@suse.de
- fixed group tag
* Mon Sep 11 2000 - mfabian@suse.de
- remove %%{?suse_update_config}, it is not needed and makes the
build fail on 6.4K-i386
* Fri Sep 08 2000 - mfabian@suse.de
- new package kdrill 5.10