]> git.pld-linux.org Git - SPECS.git/blob - vim-plugin-calendar.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / vim-plugin-calendar.spec
1 Summary:        Vim plugin: calendar window
2 Summary(pl.UTF-8):      Wtyczka Vima: okno kalendarza
3 Name:           vim-plugin-calendar
4 Version:        1.7
5 Release:        1
6 License:        vim
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _vimdatadir     %{_datadir}/vim/vimfiles
17
18 %description
19 This plugin provides a calendar window for vim. To start it, use the
20 :Calendar command.
21
22 You can also use 'diary' command wrapper, packaged with this rpm.
23
24 Customizations possible in ~/.vimrc, please see
25 %{_vimdatadir}/plugin/calendar.vim for details.
26
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 .
30
31 Można także użyć polecenia powłoki 'diary' umieszczonego w tym
32 pakiecie.
33
34 Wtyczka jest konfigurowalna poprzez ~/.vimrc - szczegóły w pliku
35 %{_vimdatadir}/plugin/calendar.vim .
36
37 %prep
38 %setup -q -c -T
39 install %{SOURCE0} calendar.vim
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
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
47 #!/bin/sh
48 exec vim +CalendarH
49 EOF
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/diary
57 %{_vimdatadir}/plugin/*
This page took 0.228502 seconds and 3 git commands to generate.