source: projects/specs/trunk/d/dict-jisx4081-edict/dict-jisx4081-edict-vl.spec @ 675

Revision 675, 1.4 KB checked in by iwaim, 14 years ago (diff)

new: dict-jisx4081-edict

Line 
1%define rel 1
2%define jmdict_date 20081124
3
4%define dictdir %{_datadir}/dict/jisx4081
5%define dictpkgname engJMD
6
7Summary: JIS X 4081 format EDICT Dictionary
8Summary(ja): JIS X 4081 形式の EDICT 辞書
9Name: dict-jisx4081-edict
10Version: 1.0
11Release: %{rel}.JMdict.%{jmdict_date}%{?_dist_release}
12License: CC-by-sa 3.0 Unported
13Group: Applications/Text
14URL: http://www.csse.monash.edu.au/~jwb/edict.html
15Source0: ftp://ftp.monash.edu.au/pub/nihongo/edict_en.fpwebz.tar
16Source1: dict-jisx4081-edict.README.ja
17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
18BuildArch: noarch
19
20Distribution: Vine Linux
21Vendor:       Project Vine
22Packager:     iwaim
23
24%description
25JIS X 4081 format EDICT Dictionary
26
27%description -l ja
28JIS 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}
38pushd %{dictpkgname}
39%{__install} -m0644 CATALOGS %{buildroot}%{dictdir}/%{dictpkgname}
40%{__cp} -a %{dictpkgname} %{buildroot}%{dictdir}/%{dictpkgname}
41popd
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* Thu Mar 25 2010 IWAI, Masaharu <iwai@alib.jp> gene95-vl
57- Initial build.
58
Note: See TracBrowser for help on using the repository browser.