[Tizen-submit] 2541: New package Tizen:2.1:Base/bison

noreply at tizen.org noreply at tizen.org
Tue Apr 23 10:24:41 GMT 2013


Hi,
Adding new package bison in project Tizen:2.1:Base. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/bison
Tag: submit/tizen_2.1/20130423.102455
Commit: c336b3b Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2541

  submit:       Tizen:2.1:Base:build/bison(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/bison
Tag: submit/tizen_2.1/20130423.102455
Commit: c336b3b Tizen 2.1 base

State:   new        2013-04-23T02:55:19 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- bison.changes
+++ bison.changes
@@ -0,0 +1,2 @@
+*Thu Jul 28 2011 Junfeng Dong <junfeng.dong at intel.com> - 2.4.1
+- Setup 2.4.1.

new:
----
  bison-2.4.1.tar.bz2
  bison.changes
  bison.manifest
  bison.spec

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

++++++ new spec file:
--- bison.spec
+++ bison.spec
@@ -0,0 +1,81 @@
+Name:           bison
+Version:        2.4.1
+Release:        1
+VCS:        toolchains/bison#2.1_release-0-gc336b3b
+License:        GPLv2+
+Summary:        A GNU general-purpose parser generator
+Url:            http://www.gnu.org/software/bison/
+Group:          Development/Tools
+Source:         ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2
+Source1001: packaging/bison.manifest 
+BuildRequires:  m4 >= 1.4
+Requires:       m4 >= 1.4
+
+%description
+Bison is a general purpose parser generator that converts a grammar
+description for an LALR(1) context-free grammar into a C program to
+parse that grammar. Bison can be used to develop a wide range of
+language parsers, from ones used in simple desk calculators to complex
+programming languages. Bison is upwardly compatible with Yacc, so any
+correctly written Yacc grammar should work with Bison without any
+changes. If you know Yacc, you shouldn't have any trouble using
+Bison. You do need to be very proficient in C programming to be able
+to use Bison. Bison is only needed on systems that are used for
+development.
+
+If your system will be used for C development, you should install
+Bison.
+
+%package devel
+Summary:        -ly library for development using Bison-generated parsers
+Group:          Development/Libraries
+
+%description devel
+The bison-devel package contains the -ly library sometimes used by
+programs using Bison-generated parsers.  If you are developing programs
+using Bison, you might want to link with this library.  This library
+is not required by all Bison-generated parsers, but may be employed by
+simple programs to supply minimal support for the generated parsers.
+
+# -ly is kept static.  It only contains two symbols: main and yyerror,
+# and both of these are extremely simple (couple lines of C total).
+# It doesn't really pay off to introduce a shared library for that.
+#
+# Therefore -devel subpackage could have been created as -static, but
+# the split was done in Jan 2005, which predates current guidelines.
+# Besides there is logic to that: the library is devel in the sense
+# that the generated parser could be distributed together with other
+# sources, and only bison-devel would be necessary to wrap the build.
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+%configure --disable-nls
+make
+
+%install
+%makeinstall
+
+# Remove unpackaged files.
+rm -f %{buildroot}/%{_bindir}/yacc

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list