Группа :: Разработка/Прочее
Пакет: ragel
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
Name: ragel
Version: 6.2
Release: alt1
Summary: Ragel State Machine Compiler
Group: Development/Other
License: GPLv2
Url: http://research.cs.queensu.ca/~thurston/ragel/
Packager: Sir Raorn <raorn at altlinux.ru>
Source: %name-%version.tar
Patch: %name-%version-%release.patch
# Automatically added by buildreq on Fri Jul 25 2008
BuildRequires: gcc-c++ ghostscript-classic tetex-context tetex-latex transfig vim-devel
%description
Ragel compiles executable finite state machines from regular
languages. Ragel targets C, C++, Objective-C, D, Java and Ruby.
Ragel state machines can not only recognize byte sequences as
regular expression machines do, but can also execute code at
arbitrary points in the recognition of a regular language. Code
embedding is done using inline operators that do not disrupt the
regular language syntax.
%package -n vim-plugin-%name-syntax
Summary: Vim syntax for Ragel
Group: Editors
PreReq: vim-common
%description -n vim-plugin-%name-syntax
Vim syntax for Ragel.
%prep
%setup
%patch -p1
%build
%configure
%make_build
%make_build -C doc
#make_build -C test test
%install
mkdir -p %buildroot{%vim_syntax_dir,%vim_ftdetect_dir}
%makeinstall
%makeinstall docdir=%buildroot%_docdir/%name-%version -C doc
cp CREDITS README TODO %buildroot%_docdir/%name-%version
install -p -m644 ragel.vim %buildroot%vim_syntax_dir/
cat <<EOF >%buildroot%vim_ftdetect_dir/ragel.vim
au BufNewFile,BufRead *.rl setf ragel
EOF
%files
%doc %_docdir/%name-%version
%_bindir/*
%_man1dir/*
%files -n vim-plugin-%name-syntax
%vim_syntax_dir/ragel.vim
%vim_ftdetect_dir/ragel.vim
%changelog
…
Полный changelog можно просмотреть здесь
Name: ragel
Version: 6.2
Release: alt1
Summary: Ragel State Machine Compiler
Group: Development/Other
License: GPLv2
Url: http://research.cs.queensu.ca/~thurston/ragel/
Packager: Sir Raorn <raorn at altlinux.ru>
Source: %name-%version.tar
Patch: %name-%version-%release.patch
# Automatically added by buildreq on Fri Jul 25 2008
BuildRequires: gcc-c++ ghostscript-classic tetex-context tetex-latex transfig vim-devel
%description
Ragel compiles executable finite state machines from regular
languages. Ragel targets C, C++, Objective-C, D, Java and Ruby.
Ragel state machines can not only recognize byte sequences as
regular expression machines do, but can also execute code at
arbitrary points in the recognition of a regular language. Code
embedding is done using inline operators that do not disrupt the
regular language syntax.
%package -n vim-plugin-%name-syntax
Summary: Vim syntax for Ragel
Group: Editors
PreReq: vim-common
%description -n vim-plugin-%name-syntax
Vim syntax for Ragel.
%prep
%setup
%patch -p1
%build
%configure
%make_build
%make_build -C doc
#make_build -C test test
%install
mkdir -p %buildroot{%vim_syntax_dir,%vim_ftdetect_dir}
%makeinstall
%makeinstall docdir=%buildroot%_docdir/%name-%version -C doc
cp CREDITS README TODO %buildroot%_docdir/%name-%version
install -p -m644 ragel.vim %buildroot%vim_syntax_dir/
cat <<EOF >%buildroot%vim_ftdetect_dir/ragel.vim
au BufNewFile,BufRead *.rl setf ragel
EOF
%files
%doc %_docdir/%name-%version
%_bindir/*
%_man1dir/*
%files -n vim-plugin-%name-syntax
%vim_syntax_dir/ragel.vim
%vim_ftdetect_dir/ragel.vim
%changelog
…
Полный changelog можно просмотреть здесь