File re2c.spec of Package nio-re2c
Name: re2c
Version: 2.0.3
Release: nio.1%{?dist}
Summary: Re2c is a free and open-source lexer generator for C, C++ and Go.
Group: Development/Tools
License: Public Domain
URL: http://re2c.org/
Source0: https://github.com/skvadrik/re2c/releases/download/%{version}/re2c-%{version}.tar.xz
%description
re2c is a tool for writing very fast and very flexible scanners. Unlike any
other such tool, re2c focuses on generating high efficient code for regular
expression matching. As a result this allows a much broader range of use than
any traditional lexer offers. And Last but not least re2c generates warning
free code that is equal to hand-written code in terms of size, speed and
quality.
%prep
%setup -q
find . -type f -exec chmod -x {} \;
%{__chmod} +x configure
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root,-)
%{_bindir}/re2c
%{_mandir}/man1/re2c.1.gz
%{_datadir}/re2c/stdlib/unicode_categories.re
%define _unpackaged_files_terminate_build 0
%changelog