byacc/byacc.spec

79 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: byacc
Version: 20130925
Release: 1mamba
Summary: an LALR parser generator.
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://invisible-island.net/byacc/byacc.html
Source: ftp://invisible-island.net/byacc/byacc-%{version}.tgz
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available.
In contrast to bison, it is written to avoid dependencies upon a particular compiler.
Byacc was written around 1990 by Robert Corbett who is the original author of bison.
Originally written in K&R C, I have modified it to conform to ANSI C, and
made other improvements.
See the changelog for details.
%prep
%setup -q
%build
%configure --disable-dependency-tracking
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# fix conflicts with file from package bison
mv yacc %{buildroot}%{_bindir}/byacc
mv yacc.1 %{buildroot}%{_mandir}/man1/byaccc.1
rm -rf %{buildroot}%{_mandir}/man1/yacc.1*
rm -rf %{buildroot}%{_bindir}/yacc
%check
make check
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/byacc
%{_mandir}/man1/byaccc.1.gz
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
%changelog
* Mon Sep 30 2013 Automatic Build System <autodist@mambasoft.it> 20130925-1mamba
- automatic update by autodist
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 20130304-1mamba
- automatic version update by autodist
* Tue Oct 09 2012 Automatic Build System <autodist@mambasoft.it> 20121003-1mamba
- automatic version update by autodist
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 20120526-1mamba
- automatic version update by autodist
* Sat Sep 10 2011 Automatic Build System <autodist@mambasoft.it> 20110908-1mamba
- automatic version update by autodist
* Fri Feb 04 2011 gil <puntogil@libero.it> 20101229-1mamba
- update to 20101229
* Wed Nov 10 2010 gil <puntogil@libero.it> 20100610-1mamba
- update to 20100610
* Mon Jan 12 2009 gil <puntogil@libero.it> 20080826-1mamba
- package created by autospec