]>
Commit | Line | Data |
---|---|---|
dcc6af2d | 1 | Summary: re2c - a tool for writing very fast and very flexible scanners |
9e10e499 | 2 | Summary(pl.UTF-8): re2c - narzędzie do pisania bardzo szybkich i elastycznych skanerów |
8bceedb6 | 3 | Name: re2c |
2807eb7d AG |
4 | Version: 1.1.1 |
5 | Release: 1 | |
8bceedb6 | 6 | License: Public Domain |
11d77812 | 7 | Group: Applications/Text |
a4be96a9 JB |
8 | #Source0Download: https://github.com/skvadrik/re2c/releases |
9 | Source0: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz | |
2807eb7d | 10 | # Source0-md5: 7355fde733bd76cbc480cda10ef49e46 |
8bceedb6 | 11 | URL: http://re2c.org/ |
9716f383 | 12 | BuildRequires: autoconf >= 2.57 |
a4be96a9 | 13 | BuildRequires: automake >= 1:1.11 |
9e10e499 | 14 | BuildRequires: libstdc++-devel |
8bceedb6 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
9e10e499 JB |
18 | re2c is a tool for writing very fast and very flexible scanners. |
19 | Unlike any other such tool, re2c focuses on generating high efficient | |
20 | code for regular expression matching. As a result this allows a much | |
21 | broader range of use than any traditional lexer offers. And last but | |
22 | not least re2c generates warning free code that is equal to | |
23 | hand-written code in terms of size, speed and quality. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | re2c to narzędzie do pisania bardzo szybkich i bardzo elastycznych | |
27 | skanerów. W przeciwieństwie do innych podobnych narzędzi re2c skupia | |
28 | się na bardzo wydajnym kodzie do dopasowywania wyrażeń regularnych. W | |
29 | efekcie pozwala to na dużo szerszy zakres zastosowań niż oferują | |
30 | tradycyjne leksery. I wreszcie re2c generuje kod wolny od ostrzeżeń, | |
31 | równoważny kodowi pisanemu ręcznie pod kątem rozmiaru, szybkości i | |
32 | jakości. | |
8bceedb6 | 33 | |
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
8bceedb6 | 38 | %{__aclocal} |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
9716f383 | 41 | %{__automake} |
8bceedb6 | 42 | %configure |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
2807eb7d | 56 | %doc CHANGELOG README doc/* examples |
a4be96a9 JB |
57 | %attr(755,root,root) %{_bindir}/re2c |
58 | %{_mandir}/man1/re2c.1* |