byacc/byacc.spec

65 lines
1.7 KiB
RPMSpec
Raw Normal View History

2021-12-25 10:55:00 +08:00
%define byaccdate 20210808
2019-12-14 18:53:01 +08:00
Name: byacc
2021-12-25 10:55:00 +08:00
Version: 2.0.%{byaccdate}
2020-07-25 15:22:48 +08:00
Release: 1
2019-12-14 18:53:01 +08:00
Summary: A parser generator
License: public domain
URL: https://invisible-island.net/byacc/byacc.html
2021-12-25 10:55:00 +08:00
Source0: https://invisible-island.net/datafiles/release/byacc-%{byaccdate}.tgz
2019-12-14 18:53:01 +08:00
BuildRequires: gcc
%description
Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has been made
as compatible as possible with AT&T Yacc. Berkeley Yacc can accept any input
specification that conforms to the AT&T Yacc documentation. Specifications
that take advantage of undocumented features of AT&T Yacc will probably be
rejected.
%package_help
%prep
2021-12-25 10:55:00 +08:00
%autosetup -n byacc-20210808 -p1
2019-12-14 18:53:01 +08:00
find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
%build
%configure --disable-dependency-tracking
%make_build
%install
%make_install
ln -s yacc %{buildroot}%{_bindir}/byacc
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
%check
2020-01-22 11:03:44 +08:00
#make check
2019-12-14 18:53:01 +08:00
%files
%doc ACKNOWLEDGEMENTS README* NO_WARRANTY
%license AUTHORS
%{_bindir}/*
%files help
%doc CHANGES NOTES
%{_mandir}/man1/*
%changelog
2021-12-25 10:55:00 +08:00
* Sat Dec 25 2021 tianwei<tianwei12@huawei.com> - 2.0.20210808
- DESC:upgrade to 2.0.20210808
2021-01-30 18:01:12 +08:00
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 2.0.20210109
- DESC:upgrade 2.0.20210109
2020-07-25 15:22:48 +08:00
* Sta Jul 25 2020 xinghe <xinghe1@huawei.com> - 1.9.20200330-1
- update version to 1.9.20200330
2020-01-22 11:03:44 +08:00
* Wed Jan 22 2020 gulining<gulining1@huawei.com> - 1.9.20170709-9
- Disable test
2019-12-14 18:53:01 +08:00
* Fri Dec 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.20170709-8
- Add help package
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.20170709-7
- Package init