[673] | 1 | %define gene95fpw_pkgname gene95-fpw |
---|
| 2 | %define dictdir %{_datadir}/dict/jisx4081 |
---|
| 3 | %define dictpkgname gene95 |
---|
| 4 | |
---|
| 5 | Summary: JIS X 4081 format GENE95 Dictionary |
---|
| 6 | Summary(ja): JIS X 4081 形式の GENE95 辞書 |
---|
| 7 | Name: dict-jisx4081-gene95 |
---|
| 8 | Version: 1.0 |
---|
| 9 | Release: 1%{?_dist_release} |
---|
| 10 | Source0: http://www.namazu.org/~tsuchiya/sdic/data/gene95.tar.bz2 |
---|
| 11 | License: non-free |
---|
| 12 | Group: Applications/Text |
---|
| 13 | URL: http://www.namazu.org/~tsuchiya/sdic/data/gene.html |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: %{gene95fpw_pkgname} |
---|
| 16 | BuildRequires: freepwing |
---|
| 17 | BuildRequires: jcode.pl |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Packager: iwaim |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | JIS X 4081 format GENE95 Dictionary |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | JIS X 4081 形式の GENE95 辞書 |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -c %{name}-%{version} |
---|
| 32 | ln -s %{_datadir}/%{gene95fpw_pkgname}/Makefile . |
---|
| 33 | ln -s %{_datadir}/%{gene95fpw_pkgname}/catalogs.txt . |
---|
| 34 | ln -s %{_bindir}/fpwgene95 |
---|
| 35 | ln -s %{_datadir}/freepwing/fpwutils.mk . |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | make PACKAGE=%{dictpkgname} |
---|
| 40 | make catalogs PACKAGE=%{dictpkgname} |
---|
| 41 | make package-tar-bz2 PACKAGE=%{dictpkgname} |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | %{__rm} -rf %{buildroot} |
---|
| 45 | %{__mkdir} -p %{buildroot}%{dictdir}/%{dictpkgname}/%{dictpkgname}/data |
---|
| 46 | %{__install} -m0644 catalogs %{buildroot}%{dictdir}/%{dictpkgname} |
---|
| 47 | %{__install} -m0644 honmon %{buildroot}%{dictdir}/%{dictpkgname}/%{dictpkgname}/data |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | %{__rm} -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | %files |
---|
| 53 | %defattr(-,root,root,-) |
---|
| 54 | %doc readme.txt |
---|
| 55 | %dir %{dictdir} |
---|
| 56 | %{dictdir}/%{dictpkgname} |
---|
| 57 | |
---|
| 58 | %changelog |
---|
| 59 | * Thu Mar 25 2010 IWAI, Masaharu <iwai@alib.jp> 1.0-1 |
---|
| 60 | - first release for Vine Linux |
---|