]>
Commit | Line | Data |
---|---|---|
ba2f1050 | 1 | Summary: Polish dictionaries for VIMspell |
706c21b4 | 2 | Summary(pl.UTF-8): Polskie słowniki dla VIMspella |
ba2f1050 | 3 | Name: vim-spell-pl |
59826fbd | 4 | Version: 20060706 |
ba2f1050 JB |
5 | Release: 1 |
6 | License: Creative Commons License | |
7 | Group: Applications/Editors/Vim | |
8 | Source0: http://www.kurnik.pl/slownik/ort/alt-myspell-pl-%{version}.tar.bz2 | |
59826fbd | 9 | # Source0-md5: 220ed496783615896d35d057342ac5e9 |
ba2f1050 JB |
10 | # vim-7.0/vim70/runtime/spell/pl/pl_PL.diff |
11 | Patch0: %{name}-pl_PL.diff | |
12 | URL: http://www.kurnik.pl/slownik/ort/ | |
13 | BuildRequires: vim >= 4:7.0 | |
14 | Requires: vim >= 4:7.0.017-2 | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Polish dictionaries for VIMspell. | |
20 | ||
c68db472 JR |
21 | %description -l pl.UTF-8 |
22 | Polskie słowniki dla VIMspella. | |
ba2f1050 JB |
23 | |
24 | %prep | |
25 | %setup -q -n alt-myspell-pl-%{version} | |
26 | %patch0 -p0 | |
27 | ||
28 | %build | |
29 | vim -u NONE -c 'set enc=iso-8859-2' -c 'mkspell! pl pl_PL' -c q | |
30 | vim -u NONE -c 'set enc=utf-8' -c 'mkspell! pl pl_PL' -c q | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell | |
35 | ||
36 | install *.spl $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README_pl_PL.txt | |
44 | %{_datadir}/vim/vimfiles/spell/pl.*.spl |