source: projects/specs/trunk/r/re2c/re2c-vl.spec @ 10288

Revision 10288, 3.7 KB checked in by Takemikaduchi, 8 years ago (diff)

task-all-codecs: remove xine-lib-esd
others: new upstream release

Line 
1Summary: Tool for generating C-based recognizers from regular expressions
2Name: re2c
3Version: 0.16
4Release: 1%{?_dist_release}
5License: Public Domain
6Group: Development/Tools
7URL: http://re2c.org/
8Source: http://downloads.sf.net/re2c/re2c-%{version}.tar.gz
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10
11%description
12re2c is a tool for writing very fast and very flexible scanners. Unlike any
13other such tool, re2c focuses on generating high efficient code for regular
14expression matching. As a result this allows a much broader range of use than
15any traditional lexer offers. And Last but not least re2c generates warning
16free code that is equal to hand-written code in terms of size, speed and
17quality.
18
19
20%prep
21%setup -q
22# Fix all those executable files, set executable only the ones that need to be
23find . -type f -exec chmod -x {} \;
24%{__chmod} +x configure depcomp install-sh missing
25
26%build
27%configure
28# Build re2c, then our own scanner.cc, then rebuild the final re2c with it
29#%{__make} %{?_smp_mflags} re2c
30#%{__rm} -f scanner.cc
31#./re2c -b -o scanner.cc scanner.re
32#%{__rm} -f re2c scanner.o
33%{__make} %{?_smp_mflags}
34
35
36%install
37%{__rm} -rf %{buildroot}
38%{__make} install DESTDIR=%{buildroot}
39#%{__install} -D -p -m 0755 re2c %{buildroot}%{_bindir}/re2c
40#%{__install} -D -p -m 0644 re2c.1 %{buildroot}%{_mandir}/man1/re2c.1
41
42
43%clean
44%{__rm} -rf %{buildroot}
45
46
47%files
48%defattr(-,root,root,-)
49%doc CHANGELOG README examples/ doc/* lessons/
50%{_bindir}/re2c
51%{_mandir}/man1/re2c.1*
52
53
54%changelog
55* Sat May 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16-1
56- new upstream release
57
58* Thu Jun 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.5-1
59- initial build for Vine Linux
60
61
62* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-7
63- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
64
65* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-6
66- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
67
68* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-5
69- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
70
71* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-4
72- Rebuilt for c++ ABI breakage
73
74* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-3
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
76
77* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-2
78- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79
80* Mon Jul 12 2010 Matthias Saou <http://freshrpms.net/> 0.13.5-1
81- Update to 0.13.5.
82- Update URL to the one used in the included spec file.
83
84* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-4
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
86
87* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-3
88- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
89
90* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.3-2
91- Autorebuild for GCC 4.3
92
93* Thu Sep 13 2007 Matthias Saou <http://freshrpms.net/> 0.12.3-1
94- Update to 0.12.3.
95
96* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.12.2-1
97- Update to 0.12.2.
98- Update URL location.
99
100* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-2
101- Fix license tag to "Public Domain".
102- Update description with most recent text from the website.
103
104* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-1
105- Spec file changes.
106
107* Wed May 23 2007 Dag Wieers <dag@wieers.com> - 0.12.1-1
108- Updated to release 0.12.1.
109
110* Thu May 03 2007 Dag Wieers <dag@wieers.com> - 0.12.0-1
111- Initial version.
112
Note: See TracBrowser for help on using the repository browser.