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