# - main.o(.text+0x976): In function `create_file_names':
# main.c: warning: the use of `mktemp' is dangerous, better use `mkstemp'
Summary: Parser Generator with Java Extension
+Summary(pl.UTF-8): Generator analizatorów rozszerzony o Javę
Name: byaccj
Version: 1.14
Release: 0.1
License: GPL
Group: Development/Languages/Java
-URL: http://byaccj.sourceforge.net/
Source0: http://dl.sourceforge.net/byaccj/%{name}%{version}_src.tar.gz
# Source0-md5: 23c7d0526a3794f06635f3ef3845a045
+URL: http://byaccj.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
LALR-grammar parser. This is useful for expression parsing,
interactive command parsing, and file reading. Many megabytes of YACC
code have been written over the years. This is the standard YACC tool
-that is in use every day to produce C/C++ parsers. I have added a "-J"
-flag which will cause BYACC to generate Java source code, instead. So
-there finally is a YACC for Java now!
+that is in use every day to produce C/C++ parsers, but it has added a
+"-J" flag which will cause BYACC to generate Java source code,
+instead. So there finally is a YACC for Java now!
+
+%description -l pl.UTF-8
+BYACC/J to rozszerzenie generatora analizatorów kompatybilnego z
+Berkeley YACC 1.8. Standardowy YACC pobiera plik źródłowy YAC i tworzy
+z niego jeden lub więcej plików C, które po skompilowaniu tworzą
+analizator gramatyki LALR. Jest on przydatny do analizy wyrażeń,
+analizy interaktywnych poleceń oraz czytania plików. Na przestrzeni
+lat powstało wiele megabajtów kodu YACC. Ten pakiet zawiera
+standardowe narzędzie YACC używane na co dzień do tworzenia
+analizatorów C/C++, ale ma dodaną flagę "-J", która powoduje
+generowanie kodu źródłowego w Javie zamiast C/C++. W ten sposób
+powstał YACC dla Javy.
%prep
%setup -q -n %{name}%{version}_src
%files
%defattr(644,root,root,755)
%doc docs/*
-%attr(755, root, root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}