]> git.pld-linux.org Git - packages/vim-spell-pl.git/blame_incremental - vim-spell-pl.spec
- updated to version 20131202
[packages/vim-spell-pl.git] / vim-spell-pl.spec
... / ...
CommitLineData
1Summary: Polish dictionaries for VIMspell
2Summary(pl.UTF-8): Polskie słowniki dla VIMspella
3Name: vim-spell-pl
4Version: 20131202
5Release: 1
6License: Creative Commons License
7Group: Applications/Editors/Vim
8Source0: 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
11Patch0: %{name}-pl_PL.diff
12URL: http://www.sjp.pl/slownik/ort/
13BuildRequires: unzip
14BuildRequires: vim >= 4:7.0
15Requires: vim-rt >= 4:7.2.170
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _vimdatadir %{_datadir}/vim
20
21%description
22Polish dictionaries for VIMspell.
23
24%description -l pl.UTF-8
25Polskie słowniki dla VIMspella.
26
27%prep
28%setup -q -c
29unzip pl_PL.zip
30%patch0 -p0
31
32%build
33vim -u NONE -c 'set enc=iso-8859-2' -c 'mkspell! pl pl_PL' -c q
34vim -u NONE -c 'set enc=utf-8' -c 'mkspell! pl pl_PL' -c q
35
36%install
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT%{_vimdatadir}/spell
39cp -a *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%doc README_pl_PL.txt
47%{_vimdatadir}/spell/pl.*.spl
This page took 0.036842 seconds and 4 git commands to generate.