File jmdict.spec of Package jmdict
#
# spec file for package jmdict
#
# Copyright (c) 2011 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/
#
Name: jmdict
License: CC-BY-SA-3.0
Group: System/I18n/Japanese
Provides: locale(ja)
Version: 20130110
Release: 0
Url: http://www.csse.monash.edu.au/~jwb/jmdict.html
Source0: JMdict.gz
Source1: edict_doc.html
Source10: LICENSE
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Japanese-Multilingual Dictionary
%description
The JMdict (Japanese-Multilingual Dictionary) project
has at its aim the compilation of a multilingual lexical
database with Japanese as the pivot language.
This package uses the EDICT and KANJIDIC dictionary files.
These files are the property of the Electronic Dictionary
Research and Development Group, and are used in conformance
with the Group's licence.
%prep
%build
cp %{SOURCE1} %{SOURCE10} .
%install
mkdir -p %{buildroot}%{_datadir}/%{name}
gunzip -c %{SOURCE0} > %{buildroot}%{_datadir}/%{name}/JMdict
%files
%defattr(-, root, root)
%doc LICENSE edict_doc.html
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/JMdict