Blame SPECS/re2c.spec

35a40d
Summary: Tool for generating C-based recognizers from regular expressions
35a40d
Name: re2c
35a40d
Version: 0.14.3
35a40d
Release: 2%{?dist}
35a40d
License: Public Domain
35a40d
Group: Development/Tools
35a40d
URL: http://re2c.org/
35a40d
Source: http://downloads.sf.net/re2c/re2c-%{version}.tar.gz
35a40d
35a40d
%description
35a40d
re2c is a tool for writing very fast and very flexible scanners. Unlike any
35a40d
other such tool, re2c focuses on generating high efficient code for regular
35a40d
expression matching. As a result this allows a much broader range of use than
35a40d
any traditional lexer offers. And Last but not least re2c generates warning
35a40d
free code that is equal to hand-written code in terms of size, speed and
35a40d
quality.
35a40d
35a40d
35a40d
%prep
35a40d
%setup -q
35a40d
# Fix all those executable files, set executable only the ones that need to be
35a40d
find . -type f -exec chmod -x {} \;
35a40d
%{__chmod} +x configure depcomp install-sh missing
35a40d
35a40d
35a40d
%build
35a40d
%configure
35a40d
# Build re2c, then our own scanner.cc, then rebuild the final re2c with it
35a40d
%{__make} %{?_smp_mflags} re2c
35a40d
%{__rm} -f scanner.cc
35a40d
./re2c -b -o scanner.cc scanner.re
35a40d
%{__rm} -f re2c scanner.o
35a40d
%{__make} %{?_smp_mflags}
35a40d
35a40d
35a40d
%install
35a40d
%{__rm} -rf %{buildroot}
35a40d
%{__install} -D -p -m 0755 re2c %{buildroot}%{_bindir}/re2c
35a40d
%{__install} -D -p -m 0644 re2c.1 %{buildroot}%{_mandir}/man1/re2c.1
35a40d
35a40d
35a40d
%files
35a40d
%doc CHANGELOG README examples/ doc/* lessons/
35a40d
%{_bindir}/re2c
35a40d
%{_mandir}/man1/re2c.1*
35a40d
35a40d
35a40d
%changelog
35a40d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
35a40d
35a40d
* Tue Oct 06 2015 Ben Boeckel <mathstuf@gmail.com> - 0.14.3-1
35a40d
- update to 0.14.3
35a40d
- clean out old and unnecessary bits
35a40d
35a40d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-11
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
35a40d
35a40d
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.13.5-10
35a40d
- Rebuilt for GCC 5 C++11 ABI change
35a40d
35a40d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-9
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
35a40d
35a40d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-8
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
35a40d
35a40d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-7
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
35a40d
35a40d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-6
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
35a40d
35a40d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-5
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
35a40d
35a40d
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-4
35a40d
- Rebuilt for c++ ABI breakage
35a40d
35a40d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-3
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
35a40d
35a40d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-2
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
35a40d
35a40d
* Mon Jul 12 2010 Matthias Saou <http://freshrpms.net/> 0.13.5-1
35a40d
- Update to 0.13.5.
35a40d
- Update URL to the one used in the included spec file.
35a40d
35a40d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-4
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
35a40d
35a40d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-3
35a40d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
35a40d
35a40d
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.3-2
35a40d
- Autorebuild for GCC 4.3
35a40d
35a40d
* Thu Sep 13 2007 Matthias Saou <http://freshrpms.net/> 0.12.3-1
35a40d
- Update to 0.12.3.
35a40d
35a40d
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.12.2-1
35a40d
- Update to 0.12.2.
35a40d
- Update URL location.
35a40d
35a40d
* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-2
35a40d
- Fix license tag to "Public Domain".
35a40d
- Update description with most recent text from the website.
35a40d
35a40d
* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-1
35a40d
- Spec file changes.
35a40d
35a40d
* Wed May 23 2007 Dag Wieers <dag@wieers.com> - 0.12.1-1
35a40d
- Updated to release 0.12.1.
35a40d
35a40d
* Thu May 03 2007 Dag Wieers <dag@wieers.com> - 0.12.0-1
35a40d
- Initial version.
35a40d