]> git.pld-linux.org Git - packages/vim-spell-pl.git/blob - vim-spell-pl.spec
- converted to UTF-8
[packages/vim-spell-pl.git] / vim-spell-pl.spec
1 Summary:        Polish dictionaries for VIMspell
2 Summary(pl.UTF-8):   Polskie słowniki dla VIMspella
3 Name:           vim-spell-pl
4 Version:        20060706
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
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
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Polish dictionaries for VIMspell.
20
21 %description -l pl.UTF-8
22 Polskie słowniki dla VIMspella.
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
This page took 0.217774 seconds and 4 git commands to generate.