2006-12-19 00:15:24 +01:00
|
|
|
#
|
2011-06-16 17:21:35 +02:00
|
|
|
# spec file for package bison
|
2006-12-19 00:15:24 +01:00
|
|
|
#
|
2012-01-09 11:01:56 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:15:24 +01:00
|
|
|
#
|
2008-11-02 15:34:45 +01:00
|
|
|
# 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.
|
|
|
|
|
2006-12-19 00:15:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-08-02 13:30:16 +02:00
|
|
|
|
2006-12-19 00:15:24 +01:00
|
|
|
Name: bison
|
|
|
|
BuildRequires: gcc-c++
|
2011-12-22 17:03:52 +01:00
|
|
|
Requires(pre): %install_info_prereq
|
2008-11-02 15:34:45 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: bison-64bit
|
|
|
|
%endif
|
2011-06-16 17:21:24 +02:00
|
|
|
Version: 2.5
|
2011-12-22 17:03:52 +01:00
|
|
|
Release: 0
|
2006-12-19 00:15:24 +01:00
|
|
|
Summary: The GNU Parser Generator
|
2011-12-22 17:03:52 +01:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Languages/C and C++
|
2008-04-10 13:08:53 +02:00
|
|
|
Url: http://www.gnu.org/software/bison/bison.html
|
2006-12-19 00:15:24 +01:00
|
|
|
Source: bison-%{version}.tar.bz2
|
2010-02-11 19:13:12 +01:00
|
|
|
Source2: baselibs.conf
|
2012-08-02 13:30:16 +02:00
|
|
|
Patch1: bison-stdio.in.patch
|
2011-12-22 17:03:52 +01:00
|
|
|
#
|
|
|
|
Requires: m4
|
2006-12-19 00:15:24 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Bison is a parser generator similar to yacc(1).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-08-02 13:30:16 +02:00
|
|
|
%patch1 -p1
|
2006-12-19 00:15:24 +01:00
|
|
|
|
|
|
|
%build
|
2011-12-22 17:03:52 +01:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2011-06-16 17:21:24 +02:00
|
|
|
|
|
|
|
%check
|
2011-12-22 17:03:52 +01:00
|
|
|
make %{?_smp_mflags} check
|
2006-12-19 00:15:24 +01:00
|
|
|
|
|
|
|
%install
|
2011-12-22 17:03:52 +01:00
|
|
|
%makeinstall
|
2011-06-16 17:21:24 +02:00
|
|
|
%find_lang %{name} --all-name
|
2006-12-19 00:15:24 +01:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING ChangeLog NEWS README
|
2011-12-22 17:03:52 +01:00
|
|
|
%dir %{_datadir}/aclocal
|
2006-12-19 00:15:24 +01:00
|
|
|
%{_bindir}/bison
|
|
|
|
%{_bindir}/yacc
|
|
|
|
%{_libdir}/liby.a
|
2011-12-22 17:03:52 +01:00
|
|
|
%{_datadir}/bison
|
2012-01-09 11:01:56 +01:00
|
|
|
%dir %{_datadir}/aclocal
|
2011-12-22 17:03:52 +01:00
|
|
|
%{_datadir}/aclocal/bison-i18n.m4
|
2006-12-19 00:15:24 +01:00
|
|
|
%doc %{_infodir}/bison.info*.gz
|
|
|
|
%doc %{_mandir}/man1/bison.1.gz
|
2010-02-11 19:13:12 +01:00
|
|
|
%doc %{_mandir}/man1/yacc.1.gz
|
2006-12-19 00:15:24 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2008-04-10 13:08:53 +02:00
|
|
|
%changelog
|