1 | %define rel 1 |
---|
2 | %define jmdict_date 20130118 |
---|
3 | %define jmdict_dir_date 2013-01-18 |
---|
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 |
---|
32 | %setup -q -nJMdict_eng_%{jmdict_dir_date}_UTC |
---|
33 | %{__cp} -a %{SOURCE1} ./README.ja |
---|
34 | %{_fixperms} . |
---|
35 | |
---|
36 | %install |
---|
37 | %{__rm} -rf %{buildroot} |
---|
38 | %{__mkdir} -p %{buildroot}%{dictdir}/%{dictpkgname} |
---|
39 | %{__install} -m0644 CATALOGS %{buildroot}%{dictdir}/%{dictpkgname} |
---|
40 | %{__cp} -a JMdict %{buildroot}%{dictdir}/%{dictpkgname} |
---|
41 | |
---|
42 | |
---|
43 | %clean |
---|
44 | %{__rm} -rf %{buildroot} |
---|
45 | |
---|
46 | |
---|
47 | %files |
---|
48 | %defattr(-,root,root,-) |
---|
49 | %doc README.ja ChangeLog INFO License README |
---|
50 | %dir %{dictdir} |
---|
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 |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Fri Jan 25 2013 IWAI, Masaharu <iwai@alib.jp> 1.0-1.JMdict.20130118 |
---|
61 | - update to 2013-01-19 |
---|
62 | |
---|
63 | * Thu Mar 25 2010 IWAI, Masaharu <iwai@alib.jp> 1.0-1.JMdict.20081124 |
---|
64 | - Initial build. |
---|
65 | |
---|