]> git.pld-linux.org Git - packages/re2c.git/blame - re2c.spec
- updated to 1.2, BR: tar >= 1:1.22, xz
[packages/re2c.git] / re2c.spec
CommitLineData
dcc6af2d 1Summary: re2c - a tool for writing very fast and very flexible scanners
9e10e499 2Summary(pl.UTF-8): re2c - narzędzie do pisania bardzo szybkich i elastycznych skanerów
8bceedb6 3Name: re2c
7b1bac0a 4Version: 1.2
2807eb7d 5Release: 1
8bceedb6 6License: Public Domain
11d77812 7Group: Applications/Text
a4be96a9 8#Source0Download: https://github.com/skvadrik/re2c/releases
7b1bac0a
AG
9Source0: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz
10# Source0-md5: 478d6c2ae58fd6e49520fad48c3d60c4
8bceedb6 11URL: http://re2c.org/
9716f383 12BuildRequires: autoconf >= 2.57
a4be96a9 13BuildRequires: automake >= 1:1.11
9e10e499 14BuildRequires: libstdc++-devel
7b1bac0a
AG
15BuildRequires: tar >= 1:1.22
16BuildRequires: xz
8bceedb6 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
9e10e499
JB
20re2c is a tool for writing very fast and very flexible scanners.
21Unlike any other such tool, re2c focuses on generating high efficient
22code for regular expression matching. As a result this allows a much
23broader range of use than any traditional lexer offers. And last but
24not least re2c generates warning free code that is equal to
25hand-written code in terms of size, speed and quality.
26
27%description -l pl.UTF-8
28re2c to narzędzie do pisania bardzo szybkich i bardzo elastycznych
29skanerów. W przeciwieństwie do innych podobnych narzędzi re2c skupia
30się na bardzo wydajnym kodzie do dopasowywania wyrażeń regularnych. W
31efekcie pozwala to na dużo szerszy zakres zastosowań niż oferują
32tradycyjne leksery. I wreszcie re2c generuje kod wolny od ostrzeżeń,
33równoważny kodowi pisanemu ręcznie pod kątem rozmiaru, szybkości i
34jakoś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
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -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*
This page took 0.073272 seconds and 4 git commands to generate.