1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
%define plugname lh_cpp %define plugtype ftplugin %define plugver 20040316 Name: vim-plugin-%plugname-%plugtype Version: %plugver Release: alt1.1 Summary: Collection of plugins for editing C/C++ files Summary(ru_RU.CP1251): \xca\xee\xeb\xeb\xe5\xea\xf6\xe8\xff \xef\xeb\xe0\xe3\xe8\xed\xee\xe2 \xe4\xeb\xff \xf0\xe5\xe4\xe0\xea\xf2\xe8\xf0\xee\xe2\xe0\xed\xe8\xff \xe8\xf1\xf5\xee\xe4\xed\xe8\xea\xee\xe2 \xed\xe0 C/C++ Group: Editors License: Distributable Url: %vim_script_url 336 BuildArch: noarch Source: lh-cpp.tar.gz Patch: %name-20040316-alt-disable-default.patch PreReq: vim-common >= 4:6.3.007-alt1 BuildPreReq: vim-devel Packager: VIm Plugins Development Team <vim-plugins@packages.altlinux.org> %post %update_vimhelp %postun %clean_vimhelp %description This package contains several ftplugins addressed at the edition of C and C++ files. It also includes folding settings for C/C++. You should read :help lh-cpp-first-steps if you are using these plugins for the first time. To enable these plugins define "use_lh_cpp_ftplugin" variable somewhere in your .vimrc file. To enable C/C++ folding (very slow) define "use_lh_cpp_folding". %description -l ru_RU.CP1251 \xdd\xf2\xee\xf2 \xef\xe0\xea\xe5\xf2 \xf1\xee\xe4\xe5\xf0\xe6\xe8\xf2 \xed\xe5\xf1\xea\xee\xeb\xfc\xea\xee \xef\xeb\xe0\xe3\xe8\xed\xee\xe2 \xe4\xeb\xff \xf0\xe5\xe4\xe0\xea\xf2\xe8\xf0\xee\xe2\xe0\xed\xe8\xff \xe8\xf1\xf5\xee\xe4\xed\xfb\xf5 \xf4\xe0\xe9\xeb\xee\xe2 \xed\xe0 C/C++, \xe0 \xf2\xe0\xea\xe6\xe5 \xed\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8 \xf4\xee\xeb\xe4\xe8\xed\xe3\xe0 \xe4\xeb\xff C/C++ \xed\xe0 \xee\xf1\xed\xee\xe2\xe5 \xf1\xe8\xed\xf2\xe0\xea\xf1\xe8\xf1\xe0. \xcf\xe5\xf0\xe5\xe4 1-\xec \xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xe5\xec \xfd\xf2\xe8\xf5 \xef\xeb\xe0\xe3\xe8\xed\xee\xe2 \xef\xf0\xee\xf7\xe8\xf2\xe0\xe9\xf2\xe5 :help lh-cpp-first-steps. \xd7\xf2\xee\xe1\xfb \xe2\xea\xeb\xfe\xf7\xe8\xf2\xfc \xfd\xf2\xe8 \xef\xeb\xe0\xe3\xe8\xed\xfb, \xee\xef\xf0\xe5\xe4\xe5\xeb\xe8\xf2\xe5 \xef\xe5\xf0\xe5\xec\xe5\xed\xed\xf3\xfe use_lh_cpp_ftplugin \xe2 \xf1\xe2\xee\xe5\xec \xf4\xe0\xe9\xeb\xe5 .vimrc. \xd7\xf2\xee\xe1\xfb \xe2\xea\xeb\xfe\xf7\xe8\xf2\xfc \xf4\xee\xeb\xe4\xe8\xed\xe3 \xe4\xeb\xff C/C++ (\xee\xf7\xe5\xed\xfc \xec\xe5\xe4\xeb\xe5\xed\xed\xfb\xe9), \xee\xef\xf0\xe5\xe4\xe5\xeb\xe8\xf2\xe5 \xef\xe5\xf0\xe5\xec\xe5\xed\xed\xf3\xfe use_lh_cpp_folding. %prep %setup -q -n lh-cpp %patch -p1 %__subst 's,\r,,' syntax/doxygen.vim %build %__rm -f ftplugin/c/doc/tags %__mv ftplugin/c/doc/lh-cpp-readme.txt doc/ %__mv fold/c-fold.vim ftplugin/c_fold.vim %install %__mkdir_p %buildroot%vim_runtime_dir %__cp -a {after,doc,ftplugin,plugin,syntax} %buildroot%vim_runtime_dir %__rm -rf %buildroot%vim_runtime_dir/{after/template/lie-dans.sh,ftplugin/c/doc} %files %doc changelog-cpp after/template/lie-dans.sh ftplugin/c/doc/c.html %vim_after_plugin_dir/* %vim_after_dir/template %vim_doc_dir/* %vim_ftplugin_dir/* %vim_plugin_dir/* %vim_syntax_dir/* %changelog * Thu Sep 02 2004 Andrey Rahmatullin <wrar@altlinux.ru> 20040316-alt1.1 - add Packager: - add Russian summary and description * Tue Aug 17 2004 Andrey Rahmatullin <wrar@altlinux.ru> 20040316-alt1 - initial build