2007-05-10 04:41:48 +02:00
|
|
|
#
|
2013-08-03 06:11:29 +02:00
|
|
|
# spec file for package re2c
|
2007-05-10 04:41:48 +02:00
|
|
|
#
|
2019-03-11 09:39:22 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-05-10 04:41:48 +02:00
|
|
|
#
|
2009-06-18 17:39:12 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-03-11 09:39:22 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-05-10 04:41:48 +02:00
|
|
|
#
|
|
|
|
|
2008-03-19 01:57:55 +01:00
|
|
|
|
2007-05-10 04:41:48 +02:00
|
|
|
Name: re2c
|
2019-03-11 09:39:22 +01:00
|
|
|
Version: 1.1.1
|
2013-08-03 06:11:29 +02:00
|
|
|
Release: 0
|
2007-05-10 04:41:48 +02:00
|
|
|
Summary: Tool for generating C-based recognizers from regular expressions
|
2013-08-03 06:11:29 +02:00
|
|
|
License: SUSE-Public-Domain
|
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-15 11:11:50 +01:00
|
|
|
URL: http://re2c.org/
|
2016-01-30 22:54:15 +01:00
|
|
|
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz
|
2016-01-08 12:18:32 +01:00
|
|
|
Patch0: re2c-nogenerationdatedefault.patch
|
2016-01-30 22:54:15 +01:00
|
|
|
BuildRequires: bison
|
2014-05-12 17:04:11 +02:00
|
|
|
BuildRequires: gcc-c++
|
2007-05-10 04:41:48 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
re2c is a tool for writing fast and flexible lexers. Unlike other such
|
|
|
|
tools, it concentrates solely on generating efficient code for matching
|
2011-09-09 22:20:16 +02:00
|
|
|
regular expressions. This makes it suitable for a wide variety of
|
2007-05-10 04:41:48 +02:00
|
|
|
applications. The generated scanners approach hand-crafted ones in
|
|
|
|
terms of size and speed.
|
|
|
|
|
|
|
|
%prep
|
2018-03-15 11:11:50 +01:00
|
|
|
%autosetup -p1
|
2007-05-10 04:41:48 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2016-01-30 22:54:15 +01:00
|
|
|
make %{?_smp_mflags} V=1
|
2008-03-19 01:57:55 +01:00
|
|
|
|
2007-05-10 04:41:48 +02:00
|
|
|
%install
|
2017-09-04 14:07:19 +02:00
|
|
|
%make_install
|
2007-05-10 04:41:48 +02:00
|
|
|
|
2018-03-15 11:11:50 +01:00
|
|
|
%check
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|
2007-05-10 04:41:48 +02:00
|
|
|
%files
|
2018-03-15 11:11:50 +01:00
|
|
|
%license README
|
2007-05-10 04:41:48 +02:00
|
|
|
%doc doc/*.ps doc/sample.bib
|
2018-03-15 11:11:50 +01:00
|
|
|
%doc CHANGELOG
|
2016-01-08 12:18:32 +01:00
|
|
|
%doc examples/
|
2017-09-04 14:07:19 +02:00
|
|
|
%{_bindir}/re2c
|
2018-03-15 11:11:50 +01:00
|
|
|
%{_mandir}/man1/re2c.1%{?ext_man}
|
2007-05-10 04:41:48 +02:00
|
|
|
|
|
|
|
%changelog
|