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://www.kurnik.pl/slownik/ort/alt-myspell-pl-%{version}.tar.bz2
9 # Source0-md5: 220ed496783615896d35d057342ac5e9
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
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Polish dictionaries for VIMspell.
21 %description -l pl.UTF-8
22 Polskie słowniki dla VIMspella.
25 %setup -q -n alt-myspell-pl-%{version}
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
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
36 install *.spl $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %{_datadir}/vim/vimfiles/spell/pl.*.spl