2011-09-03 17:16:17 +02:00
|
|
|
#
|
2011-09-05 16:28:33 +02:00
|
|
|
# spec file for package byacc
|
2011-09-03 17:16:17 +02:00
|
|
|
#
|
2024-03-18 08:39:50 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-09-03 17:16:17 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-06-17 16:52:43 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-09-03 17:16:17 +02:00
|
|
|
#
|
|
|
|
|
2011-09-05 16:28:33 +02:00
|
|
|
|
2011-09-03 17:16:17 +02:00
|
|
|
Name: byacc
|
2024-03-18 08:39:50 +01:00
|
|
|
Version: 20240109
|
2013-08-03 09:32:41 +02:00
|
|
|
Release: 0
|
2011-09-03 17:16:17 +02:00
|
|
|
Summary: LALR(1) parser generator
|
2013-08-03 09:32:41 +02:00
|
|
|
License: SUSE-Public-Domain
|
2011-09-03 17:16:17 +02:00
|
|
|
Group: Development/Languages/C and C++
|
2019-12-06 15:12:56 +01:00
|
|
|
URL: https://invisible-island.net/byacc/byacc.html
|
2021-08-03 09:23:19 +02:00
|
|
|
Source0: https://invisible-mirror.net/archives/byacc/byacc-%{version}.tgz
|
|
|
|
Source1: https://invisible-mirror.net/archives/byacc/byacc-%{version}.tgz.asc
|
2015-02-27 11:11:15 +01:00
|
|
|
Source2: %{name}.keyring
|
2011-09-03 17:16:17 +02:00
|
|
|
|
|
|
|
%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
|
2013-08-03 09:32:41 +02:00
|
|
|
%setup -q
|
2011-09-03 17:16:17 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
# without --with-warnings several functions will not be marked with gcc's
|
|
|
|
# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall
|
2015-02-27 11:11:15 +01:00
|
|
|
%configure \
|
2016-07-12 23:26:35 +02:00
|
|
|
--with-warnings \
|
2020-04-03 09:38:31 +02:00
|
|
|
--enable-btyacc \
|
2015-02-27 11:11:15 +01:00
|
|
|
--program-prefix=b
|
2019-12-06 15:12:56 +01:00
|
|
|
%make_build
|
2011-09-03 17:16:17 +02:00
|
|
|
|
|
|
|
%install
|
2016-07-12 23:26:35 +02:00
|
|
|
%make_install
|
2013-08-03 09:32:41 +02:00
|
|
|
|
|
|
|
%check
|
2020-04-03 09:38:31 +02:00
|
|
|
%make_build check
|
2011-09-03 17:16:17 +02:00
|
|
|
|
|
|
|
%files
|
2020-04-03 09:38:31 +02:00
|
|
|
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NO_WARRANTY NOTES README*
|
2011-09-03 17:16:17 +02:00
|
|
|
%{_bindir}/byacc
|
2018-07-11 09:51:33 +02:00
|
|
|
%{_mandir}/man1/byacc.1%{?ext_man}
|
2011-09-03 17:16:17 +02:00
|
|
|
|
|
|
|
%changelog
|