Search
j0ke.net Open Build Service
>
Projects
>
home:opeter
:
powerdns33_centos6
>
ragel
> ragel.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ragel.spec of Package ragel
Name: ragel Version: 6.7 Release: 4%{?dist} Summary: Finite state machine compiler Group: Development/Tools License: GPLv2+ URL: http://www.complang.org/%{name}/ Source0: http://www.complang.org/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # for documentation building BuildRequires: transfig, gcc-objc BuildRequires: autoconf automake make BuildRequires: gcc gcc-c++ BuildRequires: zlib-devel BuildRequires: lua-devel BuildRequires: sqlite-devel >= 3.0.0 BuildRequires: Percona-Server-devel-55 Percona-Server-shared-55 Requires: gawk %description Ragel compiles finite state machines from regular languages into executable C, C++, Objective-C, or D code. 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. %prep %setup -q %build # set the names of the other programming commandline programs %configure --docdir=%{_docdir}/%{name}-%{version} RUBY=ruby JAVAC=javac GMCS=gmcs make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING ragel.vim %doc doc/ragel-guide.pdf %{_bindir}/ragel %{_mandir}/*/* %changelog * Fri Feb 3 2012 <packager@local> 6.6-4 - initial build