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