]> git.pld-linux.org Git - packages/re2c.git/blob - re2c.spec
- updated to 1.2, BR: tar >= 1:1.22, xz
[packages/re2c.git] / re2c.spec
1 Summary:        re2c - a tool for writing very fast and very flexible scanners
2 Summary(pl.UTF-8):      re2c - narzędzie do pisania bardzo szybkich i elastycznych skanerów
3 Name:           re2c
4 Version:        1.2
5 Release:        1
6 License:        Public Domain
7 Group:          Applications/Text
8 #Source0Download: https://github.com/skvadrik/re2c/releases
9 Source0:        https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5:  478d6c2ae58fd6e49520fad48c3d60c4
11 URL:            http://re2c.org/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xz
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
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)
58 %doc CHANGELOG NO_WARRANTY README.md doc/* examples
59 %attr(755,root,root) %{_bindir}/re2c
60 %{_mandir}/man1/re2c.1*
This page took 0.057913 seconds and 4 git commands to generate.