4c03527b6c
- Update re2c to 1.1.1 From the CHANGELOG: Version 1.1.1 (2018-08-30) -------------------------- - Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion). Version 1.1 (2018-08-27) -------------------------- - Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm. - Optimized GOR1 algorithm (computation of tagged epsilon-closure). - Added option "--conditions" (an alias for "-c" and "--start-conditions"). - Fixed bug #201 Bugs with option: 're2c🎏no-debug-info'. - Reworked first part of TDFA paper. OBS-URL: https://build.opensuse.org/request/show/683637 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=30
60 lines
1.7 KiB
RPMSpec
60 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package re2c
|
|
#
|
|
# Copyright (c) 2019 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: re2c
|
|
Version: 1.1.1
|
|
Release: 0
|
|
Summary: Tool for generating C-based recognizers from regular expressions
|
|
License: SUSE-Public-Domain
|
|
Group: Development/Libraries/C and C++
|
|
URL: http://re2c.org/
|
|
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Patch0: re2c-nogenerationdatedefault.patch
|
|
BuildRequires: bison
|
|
BuildRequires: gcc-c++
|
|
|
|
%description
|
|
re2c is a tool for writing fast and flexible lexers. Unlike other such
|
|
tools, it concentrates solely on generating efficient code for matching
|
|
regular expressions. This makes it suitable for a wide variety of
|
|
applications. The generated scanners approach hand-crafted ones in
|
|
terms of size and speed.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%check
|
|
make check %{?_smp_mflags}
|
|
|
|
%files
|
|
%license README
|
|
%doc doc/*.ps doc/sample.bib
|
|
%doc CHANGELOG
|
|
%doc examples/
|
|
%{_bindir}/re2c
|
|
%{_mandir}/man1/re2c.1%{?ext_man}
|
|
|
|
%changelog
|