forked from pool/byacc
b54c7add5c
* reader.c: fix two loop-limits found by clang 3.3 --analyze * configure: regen * aclocal.m4: tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses * package/mingw-byacc.spec: RCS_BASE * regenerate various test files * skeleton.c: Increase default stack-size to match FreeBSD version noted as from "BSD 4.4 Lite Usr.bin Sources". * config.sub: update to 2013-09-15 * config.guess: update to 2013-06-10 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=7
58 lines
1.8 KiB
RPMSpec
58 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package byacc
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2010 Guido Berhoerster.
|
|
#
|
|
# 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: byacc
|
|
Version: 20130925
|
|
Release: 0
|
|
Summary: LALR(1) parser generator
|
|
License: SUSE-Public-Domain
|
|
Group: Development/Languages/C and C++
|
|
Url: http://invisible-island.net/byacc/byacc.html
|
|
Source: ftp://invisible-island.net/byacc/byacc-%{version}.tgz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Berkeley Yacc is a LALR(1) parser generator. It has been made as compatible as
|
|
possible with AT&T Yacc and it accepts any input specification that conforms to
|
|
the AT&T Yacc documentation. In contrast to bison, it is written to avoid
|
|
dependencies upon a particular compiler.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
# without --with-warnings several functions will not be marked with gcc's
|
|
# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall
|
|
%configure --with-warnings --program-prefix=b
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%check
|
|
make check
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NO_WARRANTY NOTES README
|
|
%{_mandir}/man1/byacc.1*
|
|
%{_bindir}/byacc
|
|
|
|
%changelog
|