%define version 2.4.2 %define release %mkrel 10 %define dict_format_version 2.4.2 Summary: JMDICT (Japanese -> English dictionary) converted to StarDict 2 Name: stardict-jmdict-ja-en Version: %{version} Release: %{release} License: General Dictionary Licence Group: Office/Dictionary URL: http://stardict.sourceforge.net/ Buildroot: %{_tmppath}/%{name}-%{version}-buildroot BuildArch: noarch Source0: http://prdownloads.sourceforge.net/stardict/%{name}-%{version}.tar.bz2 Source1: general-dictionary-licence.html.bz2 Provides: stardict-dictionary = %{dict_format_version} Requires: stardict >= %{dict_format_version} %description The JMdict (Japanese-Multilingual Dictionary) project began in 1999 as an offshoot of the EDICT Japanese-English Electronic Dictionary project. It involved a major rebuild of the main files, with a more complex structure using XML. This package contains JMDICT database (Japanese -> English) converted into StarDict 2 format. Please refer to http://www.csse.monash.edu.au/~jwb/j_jmdict.html for more info. %prep %setup -q bzip2 -dc %SOURCE1 > general-dictionary-licence.html %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/stardict/dic install -m 0644 * %{buildroot}%{_datadir}/stardict/dic %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc general-dictionary-licence.html %{_datadir}/stardict/dic/* %changelog * Mon Jan 14 2013 umeabot <umeabot> 2.4.2-10.mga3 + Revision: 382851 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Sep 29 2012 malo <malo> 2.4.2-9.mga3 + Revision: 299444 - Fix RPM group * Tue Feb 22 2011 grenoya <grenoya> 2.4.2-5.mga1 + Revision: 56763 - imported package stardict-jmdict-ja-en