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

Revision 8558, 3.6 KB checked in by Takemikaduchi, 10 years ago (diff)

NEW PACKAGE

Line 
1Summary: Tool for generating C-based recognizers from regular expressions
2Name: re2c
3Version: 0.13.5
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
27%build
28%configure
29# Build re2c, then our own scanner.cc, then rebuild the final re2c with it
30%{__make} %{?_smp_mflags} re2c
31%{__rm} -f scanner.cc
32./re2c -b -o scanner.cc scanner.re
33%{__rm} -f re2c scanner.o
34%{__make} %{?_smp_mflags}
35
36
37%install
38%{__rm} -rf %{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* Thu Jun 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.5-1
56- initial build for Vine Linux
57
58
59* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-7
60- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
61
62* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-6
63- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
64
65* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-5
66- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
67
68* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-4
69- Rebuilt for c++ ABI breakage
70
71* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-3
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73
74* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-2
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
76
77* Mon Jul 12 2010 Matthias Saou <http://freshrpms.net/> 0.13.5-1
78- Update to 0.13.5.
79- Update URL to the one used in the included spec file.
80
81* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-4
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
83
84* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-3
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
86
87* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.3-2
88- Autorebuild for GCC 4.3
89
90* Thu Sep 13 2007 Matthias Saou <http://freshrpms.net/> 0.12.3-1
91- Update to 0.12.3.
92
93* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.12.2-1
94- Update to 0.12.2.
95- Update URL location.
96
97* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-2
98- Fix license tag to "Public Domain".
99- Update description with most recent text from the website.
100
101* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-1
102- Spec file changes.
103
104* Wed May 23 2007 Dag Wieers <dag@wieers.com> - 0.12.1-1
105- Updated to release 0.12.1.
106
107* Thu May 03 2007 Dag Wieers <dag@wieers.com> - 0.12.0-1
108- Initial version.
109
Note: See TracBrowser for help on using the repository browser.