1 Summary: Vim plugin: calendar window
2 Summary(pl.UTF-8): Wtyczka Vima: okno kalendarza
3 Name: vim-plugin-calendar
7 Group: Applications/Editors/Vim
8 Source0: http://vim.sourceforge.net/scripts/download_script.php?src_id=8279
9 # Source0-md5: e416cb575b63a7af3a3bcf90e5f3f114
10 URL: http://vim.sourceforge.net/scripts/script.php?script_id=52
11 # for _vimdatadir existence
12 Requires: vim-rt >= 4:6.3.058-3
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _vimdatadir %{_datadir}/vim/vimfiles
19 This plugin provides a calendar window for vim. To start it, use the
22 You can also use 'diary' command wrapper, packaged with this rpm.
24 Customizations possible in ~/.vimrc, please see
25 %{_vimdatadir}/plugin/calendar.vim for details.
27 %description -l pl.UTF-8
28 Ta wtyczka udostępnia okno kalendarza dla vima. Aby je uruchomić,
29 należy użyć polecenia :Calendar .
31 Można także użyć polecenia powłoki 'diary' umieszczonego w tym
34 Wtyczka jest konfigurowalna poprzez ~/.vimrc - szczegóły w pliku
35 %{_vimdatadir}/plugin/calendar.vim .
39 install %{SOURCE0} calendar.vim
42 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_vimdatadir}/plugin}
45 install calendar.vim $RPM_BUILD_ROOT%{_vimdatadir}/plugin
46 cat <<'EOF' >> $RPM_BUILD_ROOT%{_bindir}/diary
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/diary
57 %{_vimdatadir}/plugin/*