From 3f8b16e175e8d7d3a894d7c5bf3ea159b507ea8b Mon Sep 17 00:00:00 2001 From: Inkyo Jung Date: Sat, 17 Mar 2012 00:45:10 +0900 Subject: [PATCH] update(add) packaging directory and spec file from OBSTF:Private, OBS --- packaging/ragel.spec | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) 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}/* -- 2.7.4