bison/bison.spec
Ismail Dönmez cf2ae47823 Accepting request 185694 from home:elvigia:branches:devel:tools:compiler
- Update to bision 3.0
* deep overhaul/improvements of the diagnostics
* more versatile means to describe semantic value types, 
including the ability to store genuine C++ objects in C++ parsers
* push-parser interface extended to Java
* parse-time semantic predicates for GLR parsers.
* This is a major update, please see https://lwn.net/Articles/561990/
  for all details and backward incompatible changes.

OBS-URL: https://build.opensuse.org/request/show/185694
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=30
2013-09-05 11:03:51 +00:00

79 lines
2.1 KiB
RPMSpec

#
# spec file for package bison
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: bison
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: xz
Requires(pre): %install_info_prereq
# bug437293
%ifarch ppc64
Obsoletes: bison-64bit
%endif
Version: 3.0
Release: 0
Summary: The GNU Parser Generator
License: GPL-3.0+
Group: Development/Languages/C and C++
Url: http://www.gnu.org/software/bison/bison.html
Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
Source2: baselibs.conf
Requires: m4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bison is a parser generator similar to yacc(1).
%prep
%setup -q
%build
%configure --disable-silent-rules --disable-rpath \
gl_cv_func_printf_directive_n=yes \
gl_cv_func_printf_infinite_long_double=yes
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check
%install
%makeinstall
%find_lang %{name} --all-name
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS README
%dir %{_datadir}/aclocal
%{_bindir}/bison
%{_bindir}/yacc
%{_libdir}/liby.a
%{_datadir}/bison
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/bison-i18n.m4
%doc %{_infodir}/bison.info*.gz
%doc %{_mandir}/man1/bison.1.gz
%doc %{_mandir}/man1/yacc.1.gz
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%changelog