byacc/byacc.spec

97 lines
3.0 KiB
RPMSpec

Name: byacc
Version: 20150711
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
* Tue Jul 28 2015 Automatic Build System <autodist@mambasoft.it> 20150711-1mamba
- automatic version update by autodist
* Sun Dec 21 2014 Automatic Build System <autodist@mambasoft.it> 20141128-1mamba
- automatic update by autodist
* Sat Oct 18 2014 Automatic Build System <autodist@mambasoft.it> 20141006-1mamba
- automatic update by autodist
* Wed Jul 23 2014 Automatic Build System <autodist@mambasoft.it> 20140715-1mamba
- automatic update by autodist
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 20140527-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 20140422-1mamba
- automatic update by autodist
* 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