Summary: Ragel State Machine Compiler
+Summary(pl): Ragel State Machine Compiler - kompilator automatów
Name: ragel
Version: 5.16
Release: 1
License: GPL
Group: Development/Tools
-URL: http://www.cs.queensu.ca/home/thurston/ragel/
Source0: http://www.cs.queensu.ca/home/thurston/ragel/%{name}-%{version}.tar.gz
# Source0-md5: 0c19b9fe68dd54efa64009dc85a08325
+URL: http://www.cs.queensu.ca/home/thurston/ragel/
BuildRequires: bison
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
at arbitrary points in the recognition of a regular language. When you
wish to write down a regular language you start with some simple
regular language and build a bigger one using the regular language
-operators union, concatenation, kleene star, intersection and
+operators union, concatenation, Kleene star, intersection and
subtraction. This is precisely the way you describe to Ragel how to
compile your finite state machines. Ragel also understands operators
that insert function calls into machines and operators that control
any non-determinism in machines.
+%description -l pl
+Ragel kompiluje automaty skoñczone z jêzyków regularnych do
+dzia³aj±cego kodu w C. Automaty Ragela nie tylko rozpoznaj± sekwencje
+bajtów, jak robi± to automaty wyra¿eñ regularnych, ale tak¿e wykonuj±
+kod w dowolnych miejscach podczas rozpoznawania jêzyka regularnego.
+Aby napisaæ jêzyk regularny zaczyna siê od prostego jêzyka regularnego
+i buduje wiêkszy przy u¿yciu operatorów sumy, z³±czenia, dope³nienia
+Kleene'a, przeciêcia i odejmowania. Jest to dok³adnie taki sposób, w
+jaki opisuje siê Ragelowi jak kompilowaæ automaty skoñczone. Ragel
+rozumie tak¿e operatory wstawiaj±ce wywo³ania funkcji do automatów i
+operatory steruj±ce niedeterminizmem w automatach.
+
%prep
%setup -q
%build
%configure
%{__make}
-cd doc
-%{__make} ragel.1 rlcodegen.1
+%{__make} -C doc ragel.1 rlcodegen.1
%install
rm -rf $RPM_BUILD_ROOT
install doc/ragel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ragel.1
install doc/rlcodegen.1 $RPM_BUILD_ROOT%{_mandir}/man1/rlcodegen.1
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT