rpms/re2c/EL-4 re2c.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Thu Jun 28 09:43:43 UTC 2007


Author: thias

Update of /cvs/extras/rpms/re2c/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5108/EL-4

Modified Files:
	.cvsignore sources 
Added Files:
	re2c.spec 
Log Message:
Initial import.



--- NEW FILE re2c.spec ---
Summary: Tool for generating C-based recognizers from regular expressions
Name: re2c
Version: 0.12.1
Release: 2%{?dist}
License: Public Domain
Group: Development/Tools
URL: http://sourceforge.net/projects/re2c/
Source: http://downloads.sf.net/re2c/re2c-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
re2c is a tool for writing very fast and very flexible scanners. Unlike any
other such tool, re2c focuses on generating high efficient code for regular
expression matching. As a result this allows a much broader range of use than
any traditional lexer offers. And Last but not least re2c generates warning
free code that is equal to hand-written code in terms of size, speed and
quality.


%prep
%setup -q
# Fix all those executable files, set executable only the ones that need to be
find . -type f -exec chmod -x {} \;
%{__chmod} +x configure depcomp install-sh missing


%build
%configure
# Build re2c, then our own scanner.cc, then rebuild the final re2c with it
%{__make} %{?_smp_mflags}
./re2c -b -o scanner.cc scanner.re
%{__rm} -f re2c scanner.o
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
%{__install} -D -p -m 0755 re2c %{buildroot}%{_bindir}/re2c
%{__install} -D -p -m 0644 re2c.1 %{buildroot}%{_mandir}/man1/re2c.1


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc CHANGELOG README examples/ doc/* lessons/
%{_bindir}/re2c
%{_mandir}/man1/re2c.1*


%changelog
* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-2
- Fix license tag to "Public Domain".
- Update description with most recent text from the website.

* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-1
- Spec file changes.

* Wed May 23 2007 Dag Wieers <dag at wieers.com> - 0.12.1-1
- Updated to release 0.12.1.

* Thu May 03 2007 Dag Wieers <dag at wieers.com> - 0.12.0-1
- Initial version.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/re2c/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Jun 2007 19:40:34 -0000	1.1
+++ .cvsignore	28 Jun 2007 09:43:08 -0000	1.2
@@ -0,0 +1 @@
+re2c-0.12.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/re2c/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Jun 2007 19:40:34 -0000	1.1
+++ sources	28 Jun 2007 09:43:08 -0000	1.2
@@ -0,0 +1 @@
+6ac50ad6412e90b38d499a28df42af68  re2c-0.12.1.tar.gz




More information about the fedora-extras-commits mailing list