Blame SPECS/re2c.spec

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