[Tizen-submit] 3911: New package devel:upstream/re2c

noreply at tizen.org noreply at tizen.org
Fri May 3 23:20:47 GMT 2013


Hi,
Adding new package re2c in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.232328
Git project: platform/upstream/re2c
Tag: submit/tizen/20130503.232328
Commit: 6131942 cleanup packaging

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3911

  submit:       devel:upstream:build/re2c(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.232328
Git project: platform/upstream/re2c
Tag: submit/tizen/20130503.232328
Commit: 6131942 cleanup packaging

State:   new        2013-05-03T15:51:19 tizenrobot
Comment: <no comment>
new:
----
  re2c-0.13.5.tar.bz2
  re2c.spec

spec files:
-----------

++++++ new spec file:
--- re2c.spec
+++ re2c.spec
@@ -0,0 +1,45 @@
+Name:           re2c
+Version:        0.13.5
+Release:        37
+VCS:        platform/upstream/re2c#submit/tizen/20130503.232328-0-g6131942
+License:        SUSE-Public-Domain
+Summary:        Tool for generating C-based recognizers from regular expressions
+Url:            http://re2c.org/
+Group:          Development/Libraries/C and C++
+Source:         %{name}-%{version}.tar.bz2
+BuildRequires:  gcc-c++
+
+%description
+re2c is a tool for writing fast and flexible lexers. Unlike other such
+tools, it concentrates solely on generating efficient code for matching
+regular expressions. This makes it suitable for a wide variety of
+applications. The generated scanners approach hand-crafted ones in
+terms of size and speed.
+
+%prep
+%setup -q
+find -type d -name .svn -print0 | xargs -r0 rm -rf
+find CHANGELOG lessons examples -type f -print0 \
+    | xargs -r0 chmod -v a-x
+
+%build
+%configure
+make %{?_smp_mflags} re2c
+#regenerate file scanner.cc
+rm -f scanner.cc
+./re2c -g scanner.re > scanner.cc
+rm -f re2c scanner.o
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/re2c
+%{_mandir}/man1/re2c.1*
+
+%changelog

other changes:
--------------

++++++ re2c-0.13.5.tar.bz2 (new)


More information about the Tizen-submit mailing list