1 Summary: Polish dictionaries for VIMspell
2 Summary(pl.UTF-8): Polskie słowniki dla VIMspella
6 License: Creative Commons License
7 Group: Applications/Editors/Vim
8 Source0: http://sjp.pl/slownik/ort/sjp-myspell-pl-%{version}.zip
9 # Source0-md5: c7a5d4d7db274d89660a0e78b1687c89
10 # vim-7.0/vim70/runtime/spell/pl/pl_PL.diff
11 Patch0: %{name}-pl_PL.diff
12 URL: http://www.sjp.pl/slownik/ort/
14 BuildRequires: vim >= 4:7.0
15 Requires: vim-rt >= 4:7.2.170
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _vimdatadir %{_datadir}/vim
22 Polish dictionaries for VIMspell.
24 %description -l pl.UTF-8
25 Polskie słowniki dla VIMspella.
33 vim -u NONE -c 'set enc=iso-8859-2' -c 'mkspell! pl pl_PL' -c q
34 vim -u NONE -c 'set enc=utf-8' -c 'mkspell! pl pl_PL' -c q
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_vimdatadir}/spell
39 cp -a *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %{_vimdatadir}/spell/pl.*.spl