[lexertl] Initial import.
Jerry James
jjames at fedoraproject.org
Wed Jan 22 15:29:45 UTC 2014
commit 3eac6279f96e84c40eeb6a0852b399d10bb8b70e
Author: Jerry James <jamesjer at betterlinux.com>
Date: Wed Jan 22 08:29:40 2014 -0700
Initial import.
.gitignore | 1 +
lexertl.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..546f560 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lexertl-2013.11.20.tar.gz
diff --git a/lexertl.spec b/lexertl.spec
new file mode 100644
index 0000000..305d291
--- /dev/null
+++ b/lexertl.spec
@@ -0,0 +1,85 @@
+Name: lexertl
+Version: 2013.11.20
+Release: 1%{?dist}
+Summary: Modular lexical analyzer generator
+
+License: Boost
+URL: http://www.benhanson.net/lexertl.html
+Source0: https://github.com/BenHanson/lexertl/archive/%{version}/%{name}-%{version}.tar.gz
+BuildArch: noarch
+
+%description
+Lexertl is a modern, modular lexical analyzer generator. Traditionally,
+programs such as lex generate source code as their output and even only
+support one kind of programming language. The lexertl developers are
+seeking to offer much more flexibility than that by exposing the state
+machine that is generated from a supplied lex specification. By doing
+this the user has much more freedom in how the data is processed, which
+means it becomes easy to:
+- Build a lexical analyzer at runtime and start using it immediately.
+- Generate source code from the state machine in your preferred
+ programming language.
+- Serialize the state machine for later processing.
+
+%package devel
+Summary: Headers used to build programs with lexertl
+Provides: %{name}-static = %{version}-%{release}
+
+%description devel
+Lexertl is a modern, modular lexical analyzer generator. Traditionally,
+programs such as lex generate source code as their output and even only
+support one kind of programming language. The lexertl developers are
+seeking to offer much more flexibility than that by exposing the state
+machine that is generated from a supplied lex specification. By doing
+this the user has much more freedom in how the data is processed, which
+means it becomes easy to:
+- Build a lexical analyzer at runtime and start using it immediately.
+- Generate source code from the state machine in your preferred
+ programming language.
+- Serialize the state machine for later processing.
+
+This package contains header files for building programs that use
+lexertl.
+
+%package examples
+Summary: Example code for use with lexertl
+Requires: %{name}-devel = %{version}-%{release}
+
+%description examples
+Example code for use with lexertl.
+
+%prep
+%setup -q
+
+# Fix end of line encodings
+for fil in lexertl/licence_1_0.txt examples/*/main.cpp \
+ examples/date_test/datetest.txt; do
+ sed 's/\r//' $fil > $fil.new
+ touch -r $fil $fil.new
+ mv -f $fil.new $fil
+done
+
+%build
+# Nothing to do
+
+%install
+# Install the header files
+mkdir -p %{buildroot}%{_includedir}
+cp -a %{name} %{buildroot}%{_includedir}
+
+# Do not install the license file
+rm -f %{buildroot}%{_includedir}/%{name}/licence_1_0.txt
+
+%files devel
+%doc lexertl/licence_1_0.txt README.md
+%{_includedir}/%{name}/
+
+%files examples
+%doc examples
+
+%changelog
+* Mon Jan 20 2014 Jerry James <loganjerry at gmail.com> - 2013_11_20-1
+- New upstream version
+
+* Fri Oct 18 2013 Jerry James <loganjerry at gmail.com> - 2013_09_06-1
+- Initial RPM
diff --git a/sources b/sources
index e69de29..42f696d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6cb3765b1758f43fb8f68e86d70104a1 lexertl-2013.11.20.tar.gz
More information about the scm-commits
mailing list