File kelbt.spec of Package kelbt

# spec file for package kelbt
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           kelbt   
Version:        0.16
Release:        0
Summary:        Backtracking LALR(1) parser generator
License:        GPL-2.0+
Group:          Development/Tools/Other

Source2:        kelbt.txt
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  flex
BuildRequires:  gcc-c++
BuildRequires:  gperf

Kelbt generates backtracking LALR(1) parsers. Where traditional
LALR(1) parser generators require static resolution of shift/reduce
conflicts, Kelbt generates parsers that handle conflicts by
backtracking at runtime. Kelbt is able to generate a parser for any
context-free grammar that is free of hidden left recursion.

%setup -q

install -pm0644 "%{S:2}" .
export CXXFLAGS="%optflags -Wno-narrowing"
make %{?_smp_mflags}


%doc COPYING kelbt.txt

openSUSE Build Service is sponsored by