forked from pool/bison
This commit is contained in:
parent
f1853c2eb4
commit
2838e978a0
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 24 13:31:57 CET 2007 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- use more $RPM_OPT_FLAGS
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 26 15:21:48 CEST 2006 - mmarek@suse.cz
|
Mon Jun 26 15:21:48 CEST 2006 - mmarek@suse.cz
|
||||||
|
|
||||||
|
26
bison.spec
26
bison.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bison (Version 2.3)
|
# spec file for package bison (Version 2.3)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
Name: bison
|
Name: bison
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
License: GPL
|
License: GNU General Public License (GPL)
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Requires: m4
|
Requires: m4
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 2
|
Release: 25
|
||||||
Summary: The GNU Parser Generator
|
Summary: The GNU Parser Generator
|
||||||
URL: http://www.gnu.org/software/bison/bison.html
|
URL: http://www.gnu.org/software/bison/bison.html
|
||||||
Source: bison-%{version}.tar.bz2
|
Source: bison-%{version}.tar.bz2
|
||||||
@ -32,17 +32,23 @@ Bison is a parser generator similar to yacc(1).
|
|||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
David J. MacKenzie <djm@gnu.ai.mit.edu>
|
David J. MacKenzie <djm@gnu.org>
|
||||||
Noah Friedman <friedman@ai.mit.edu>
|
Noah Friedman <friedman@gnu.org>
|
||||||
Richard Stallman <rms@ai.mit.edu>
|
Richard Stallman <rms@gnu.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
|
# CXXFLAGS is for c++ examples / test cases
|
||||||
--infodir=%{_infodir} --libdir=%{_libdir}
|
# these are not installed, but building them with $RPM_OPT_FLAGS could
|
||||||
|
# catch possible problems in bison-generated C++ sources
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--infodir=%{_infodir} \
|
||||||
|
--libdir=%{_libdir}
|
||||||
make
|
make
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -75,6 +81,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%changelog -n bison
|
%changelog -n bison
|
||||||
|
* Wed Jan 24 2007 - mmarek@suse.cz
|
||||||
|
- use more $RPM_OPT_FLAGS
|
||||||
* Mon Jun 26 2006 - mmarek@suse.cz
|
* Mon Jun 26 2006 - mmarek@suse.cz
|
||||||
- updated to 2.3
|
- updated to 2.3
|
||||||
* all generated scanners can be used in non-free programs
|
* all generated scanners can be used in non-free programs
|
||||||
@ -165,4 +173,4 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- yacc emulation removed, because of existing mid-age technology
|
- yacc emulation removed, because of existing mid-age technology
|
||||||
* Fri May 16 1997 - rj@suse.de
|
* Fri May 16 1997 - rj@suse.de
|
||||||
- version 1.25
|
- version 1.25
|
||||||
- yacc-functionality emulated thru script
|
- yacc-functionality emulated thru script
|
||||||
|
Loading…
Reference in New Issue
Block a user