Репозиторий Sisyphus
Последнее обновление: 30 ноября 2021 | Пакетов: 17427 | Посещений: 22423562
en ru br
Репозитории ALT
S:12.5-alt1
5.1: 12.5-alt1
4.1: 12.5-alt1
4.0: 12.5-alt1
3.0: 10.8-alt1.2
www.altlinux.org/Changes

Группа :: Редакторы
Пакет: vim-plugin-std_c-syntax

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# vim: set ft=spec: -*- rpm-spec -*-
# $Id: vim-plugin-std_c-syntax,v 1.5 2005/08/13 10:05:00 raorn Exp $

%define plugname std_c
%define plugtype syntax

Name: vim-plugin-%plugname-%plugtype
Version: 12.5
Release: alt1

Summary: Standard C syntax highlight for vim
Group: Editors
License: Distributable
Url: http://www.eandem.co.uk/mrw/vim/syntax/
Packager: VIm Plugins Development Team <vim-plugins at packages.altlinux.org>

BuildArch: noarch

Source: %url/%plugname.zip

Patch: %name-%version-%release.patch

PreReq: vim-common >= 4:6.3.007-alt1

BuildRequires(pre): vim-devel

# Automatically added by buildreq on Thu Jun 24 2004 (-bi)

BuildRequires: unzip

%description
This syntax file is to highlight Standard C source code, and can be
confgured to highlight to the C89, C94, or C99 standard. This syntax
file is useful if you are developing portable Standard C code, so
that extensions that your compiler supports (such as C++ // comments
in C89) that may not be supported by another compiler are flagged as
errors. It is better to catch these problems at edit time than from
the overnight build.

To enable this plugin define "use_std_c_syntax" variable somewhere
in your .vimrc file.

%prep
%setup -T -c
%__unzip -Lqa %SOURCE0
%patch -p1

%install
%__mkdir_p %buildroot{%vim_syntax_dir,%vim_doc_dir}
%__install -m644 doc/std_c.txt %buildroot%vim_doc_dir
%__install -m644 syntax/c.vim %buildroot%vim_syntax_dir

%post
%update_vimhelp

%postun
%clean_vimhelp

%files
%doc %vim_doc_dir/std_c.txt
%vim_syntax_dir/c.vim

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin