Репозиторий Sisyphus
Последнее обновление: 18 мая 2022 | Пакетов: 17610 | Посещений: 23647712
en ru br
Репозитории ALT
5.1: 12.5-alt1
4.1: 12.5-alt1
4.0: 12.5-alt1
3.0: 10.8-alt1.2

Группа :: Редакторы
Пакет: 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.4 2004/06/26 14:07:02 raorn Exp $

%define plugname std_c
%define plugtype syntax
%define plugver  10.8

Name: vim-plugin-%plugname-%plugtype
Version: %plugver
Release: alt1.2

Summary: Standard C syntax highlight for vim
Group: Editors
License: Distributable
Url: http://www.eandem.co.uk/mrw/vim/syntax/

BuildArch: noarch

Source: %url/%plugname.zip

Patch: %name-10.8-alt-disable-default.patch

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

BuildPreReq: vim-devel

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

BuildRequires: unzip

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.

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

%__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



%doc %vim_doc_dir/std_c.txt


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

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