Пакет vim-plugin-CRefVIM: Specfile

%define plugname CRefVIM
%define plugver  1.0.4

Name: vim-plugin-%plugname
Version: %plugver
Release: alt1

Summary: C language reference manual designed for Vim
Summary(ru_RU.CP1251): \xd1\xef\xf0\xe0\xe2\xee\xf7\xed\xe8\xea \xef\xee \xff\xe7\xfb\xea\xf3 C \xe4\xeb\xff \xef\xf0\xee\xf1\xec\xee\xf2\xf0\xe0 \xe2 Vim
Group: Development/C
License: GPL & FDL
Url: %vim_script_url 614
BuildArch: noarch

Source: crefvim.zip

PreReq: vim-common >= 4:6.3.007-alt1
BuildPreReq: vim-devel unzip

Packager: VIm Plugins Development Team <vim-plugins@packages.altlinux.org>

%post
%update_vimhelp

%postun
%clean_vimhelp

%description
This package contains the C reference manual and Vim plugin to view it
as Vim help. You can also use mappings \cr (opens help for keyword under
cursor) and \cw (opens prompt for keyword to search for).

%description -l ru_RU.CP1251
\xd1\xef\xf0\xe0\xe2\xee\xf7\xed\xe8\xea \xef\xee \xff\xe7\xfb\xea\xf3 C \xe8 \xef\xeb\xe0\xe3\xe8\xed \xe4\xeb\xff Vim, \xef\xee\xe7\xe2\xee\xeb\xff\xfe\xf9\xe8\xe9 \xeb\xe5\xe3\xea\xee \xef\xf0\xee\xf1\xec\xe0\xf2\xf0\xe8\xe2\xe0\xf2\xfc \xe5\xe3\xee
\xef\xf0\xe8 \xef\xee\xec\xee\xf9\xe8 \xf1\xef\xf0\xe0\xe2\xee\xf7\xed\xee\xe9 \xf1\xe8\xf1\xf2\xe5\xec\xfb Vim. \xc8\xf1\xef\xee\xeb\xfc\xe7\xf3\xe9\xf2\xe5 \cr \xe4\xeb\xff \xef\xee\xeb\xf3\xf7\xe5\xed\xe8\xff \xf1\xef\xf0\xe0\xe2\xea\xe8 \xef\xee
\xf1\xeb\xee\xe2\xf3 \xef\xee\xe4 \xea\xf3\xf0\xf1\xee\xf0\xee\xec \xe8 \cw \xe4\xeb\xff \xe2\xe2\xee\xe4\xe0 \xe8\xed\xf2\xe5\xf0\xe5\xf1\xf3\xfe\xf9\xe5\xe3\xee \xf1\xeb\xee\xe2\xe0 \xe2\xf0\xf3\xf7\xed\xf3\xfe.

%prep
%setup -q -n crefvim

%install
%__mkdir_p %buildroot%vim_runtime_dir
%__cp -a {after,doc,plugin} %buildroot%vim_runtime_dir

%files 
%defattr(644,root,root)
%vim_doc_dir/*
%vim_plugin_dir/*
%vim_after_syntax_dir/*

%changelog
* Mon Nov 29 2004 Andrey Rahmatullin <wrar@altlinux.ru> 1.0.4-alt1
- 1.0.4

* Thu Sep 2 2004 Andrey Rahmatullin <wrar@altlinux.ru> 1.0.3-alt2
- enable plugin by default
- add Packager:
- add Russian summary and description
- minor spec cleanup

* Wed Aug 18 2004 Andrey Rahmatullin <wrar@altlinux.ru> 1.0.3-alt1
- initial build