[675] | 1 | %define rel 1 |
---|
[7404] | 2 | %define jmdict_date 20130118 |
---|
| 3 | %define jmdict_dir_date 2013-01-18 |
---|
[675] | 4 | |
---|
| 5 | %define dictdir %{_datadir}/dict/jisx4081 |
---|
| 6 | %define dictpkgname engJMD |
---|
| 7 | |
---|
| 8 | Summary: JIS X 4081 format EDICT Dictionary |
---|
| 9 | Summary(ja): JIS X 4081 形式の EDICT 辞書 |
---|
| 10 | Name: dict-jisx4081-edict |
---|
| 11 | Version: 1.0 |
---|
| 12 | Release: %{rel}.JMdict.%{jmdict_date}%{?_dist_release} |
---|
| 13 | License: CC-by-sa 3.0 Unported |
---|
| 14 | Group: Applications/Text |
---|
| 15 | URL: http://www.csse.monash.edu.au/~jwb/edict.html |
---|
| 16 | Source0: ftp://ftp.monash.edu.au/pub/nihongo/edict_en.fpwebz.tar |
---|
| 17 | Source1: dict-jisx4081-edict.README.ja |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
| 19 | BuildArch: noarch |
---|
| 20 | |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Packager: iwaim |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | JIS X 4081 format EDICT Dictionary |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | JIS X 4081 形式の EDICT 辞書 |
---|
| 30 | |
---|
| 31 | %prep |
---|
[7404] | 32 | %setup -q -nJMdict_eng_%{jmdict_dir_date}_UTC |
---|
[675] | 33 | %{__cp} -a %{SOURCE1} ./README.ja |
---|
[7404] | 34 | %{_fixperms} . |
---|
[675] | 35 | |
---|
| 36 | %install |
---|
| 37 | %{__rm} -rf %{buildroot} |
---|
[7404] | 38 | %{__mkdir} -p %{buildroot}%{dictdir}/%{dictpkgname} |
---|
[675] | 39 | %{__install} -m0644 CATALOGS %{buildroot}%{dictdir}/%{dictpkgname} |
---|
[7404] | 40 | %{__cp} -a JMdict %{buildroot}%{dictdir}/%{dictpkgname} |
---|
[675] | 41 | |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | %{__rm} -rf %{buildroot} |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %files |
---|
| 48 | %defattr(-,root,root,-) |
---|
[7404] | 49 | %doc README.ja ChangeLog INFO License README |
---|
[675] | 50 | %dir %{dictdir} |
---|
[7404] | 51 | %dir %{dictdir}/%{dictpkgname} |
---|
| 52 | %dir %{dictdir}/%{dictpkgname}/JMdict |
---|
| 53 | %dir %{dictdir}/%{dictpkgname}/JMdict/DATA |
---|
| 54 | %dir %{dictdir}/%{dictpkgname}/JMdict/GAIJI |
---|
| 55 | %{dictdir}/%{dictpkgname}/CATALOGS |
---|
| 56 | %{dictdir}/%{dictpkgname}/JMdict/DATA/HONMON.ebz |
---|
| 57 | %{dictdir}/%{dictpkgname}/JMdict/GAIJI/GAI16H.ebz |
---|
[675] | 58 | |
---|
[7404] | 59 | %changelog |
---|
| 60 | * Fri Jan 25 2013 IWAI, Masaharu <iwai@alib.jp> 1.0-1.JMdict.20130118 |
---|
| 61 | - update to 2013-01-19 |
---|
[675] | 62 | |
---|
[7404] | 63 | * Thu Mar 25 2010 IWAI, Masaharu <iwai@alib.jp> 1.0-1.JMdict.20081124 |
---|
[675] | 64 | - Initial build. |
---|
| 65 | |
---|