Summary(pl.UTF-8): Polskie słowniki dla VIMspella
Name: vim-spell-pl
Version: 20060706
-Release: 1
+Release: 2
License: Creative Commons License
Group: Applications/Editors/Vim
Source0: http://www.kurnik.pl/slownik/ort/alt-myspell-pl-%{version}.tar.bz2
Patch0: %{name}-pl_PL.diff
URL: http://www.kurnik.pl/slownik/ort/
BuildRequires: vim >= 4:7.0
-Requires: vim >= 4:7.0.017-2
+Requires: vim-rt >= 4:7.0.017-2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _vimdatadir %{_datadir}/vim/vimfiles
+
%description
Polish dictionaries for VIMspell.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/spell
-install *.spl $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
+install *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README_pl_PL.txt
-%{_datadir}/vim/vimfiles/spell/pl.*.spl
+%{_vimdatadir}/spell/pl.*.spl