Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:linux4humans:qt_5.15
bison
bison.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bison.spec of Package bison
# # spec file for package bison # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %{!?make_build: %define make_build make %{?_smp_mflags}} Name: bison Version: 3.8.2 Release: 0 Summary: The GNU Parser Generator License: GPL-3.0-or-later Group: Development/Languages/C and C++ URL: https://www.gnu.org/software/bison/bison.html Source0: https://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz.sig Source2: %{name}.keyring Source3: baselibs.conf BuildRequires: flex %if 0%{?suse_version} < 1310 BuildRequires: gcc48-c++ %else BuildRequires: gcc-c++ %endif Requires: m4 BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bison is a parser generator similar to yacc(1). %lang_package %prep %setup -q %build %if 0%{?suse_version} < 1310 export CC=gcc-4.8 export CXX=g++-4.8 %endif %global _lto_cflags %{_lto_cflags} -ffat-lto-objects %configure \ --disable-silent-rules \ --disable-rpath \ --enable-nls \ --docdir=%{_docdir}/%{name} \ gl_cv_func_printf_directive_n=yes \ gl_cv_func_printf_infinite_long_double=yes %ifarch armv6hl %define do_profiling 0 %endif %if 0%{?do_profiling} make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" make %{?_smp_mflags} CFLAGS="%{optflags}" check make %{?_smp_mflags} clean make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" %else make %{?_smp_mflags} CFLAGS="%{optflags}" %endif %check %if 0%{?suse_version} < 1310 export CC=gcc-4.8 export CXX=g++-4.8 %endif %ifnarch armv6hl make check %endif %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -f %{buildroot}%{_docdir}/bison/examples/README.md %find_lang %{name} --all-name %files lang -f %{name}.lang %defattr(-,root,root) %files %defattr(-,root,root) %if 0%{?suse_version} >= 1500 || ( 0%{?sle_version} >= 120200 && 0%{?is_opensuse} ) %license COPYING %doc AUTHORS NEWS README THANKS TODO %exclude %{_docdir}/%{name}/COPYING %doc %{_docdir}/%{name}/examples %else %{_docdir}/%{name} %endif %dir %{_datadir}/aclocal %{_bindir}/bison %{_bindir}/yacc %{_libdir}/liby.a %{_datadir}/bison %dir %{_datadir}/aclocal %{_datadir}/aclocal/bison-i18n.m4 %{_infodir}/bison.info*.gz %{_mandir}/man1/bison.1%{?ext_man} %{_mandir}/man1/yacc.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor