From: Inkyo Jung Date: Fri, 16 Mar 2012 15:45:10 +0000 (+0900) Subject: update(add) packaging directory and spec file from OBSTF:Private, OBS X-Git-Tag: 2.0_alpha^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2F2.0alpha;p=external%2Fragel.git update(add) packaging directory and spec file from OBSTF:Private, OBS --- diff --git a/packaging/ragel.spec b/packaging/ragel.spec index 41de054..207e2e9 100644 --- a/packaging/ragel.spec +++ b/packaging/ragel.spec @@ -5,10 +5,20 @@ Release: 1 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz -Patch0: no-doc.patch +Patch0: no-doc.patch %description +compiles finite state machines into code in various languages +Ragel compiles finite state machines from regular languages into C, C++, +Objective-C, D, Ruby or Java code. Ragel allows the programmer to embed +actions at any point in a regular language. Non-determinism can be +controlled through the use of embedded priorities and guarded regular +language operators. Ragel also supports the construction of scanners and +the building of state machines using state-charts. Ragel can be used to +create robust recognizers and parsers which run very fast. It can work +with integer-sized alphabets and can compile large state machines. +The generated code has no dependencies. %prep @@ -20,17 +30,14 @@ Patch0: no-doc.patch ./autogen.sh ./configure --prefix=%{_prefix} - make %{?jobs:-j%jobs} + %install rm -rf %{buildroot} %make_install - %files -/usr/bin/ragel -/usr/share/doc/ragel/CREDITS -/usr/share/doc/ragel/ChangeLog - +%{_bindir}/ragel +%{_defaultdocdir}/*