Import manpage from Debian's jflex 1.4.1-3

This commit is contained in:
Mikolaj Izdebski 2012-05-02 11:05:09 +02:00
parent c554166127
commit 8a0afca470
2 changed files with 64 additions and 0 deletions

57
jflex.1 Normal file
View File

@ -0,0 +1,57 @@
.TH JFLEX "1" "October 2005"
.SH NAME
jflex \- a lexical analyzer generator (also known as scanner generator) for Java
.SH SYNOPSIS
.B jflex
\fI<options> <input-files>\fR
.SH DESCRIPTION
JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm). It is also a rewrite of the very useful tool JLex. JFlex is designed to work together with the LALR parser generator CUP, and the Java modification of Berkeley Yacc BYacc/J. It can also be used together with other parser generators like ANTLR or as a standalone tool.
.SH OPTIONS
.TP
\fB\-d\fR <directory>
write generated file to <directory>
.TP
\fB\-\-skel\fR <file>
use external skeleton <file>
.TP
\fB\-\-switch\fR, \fB\-\-table\fR, \fB\-\-pack\fR
set default code generation method
.TP
\fB\-\-jlex\fR
strict JLex compatibility
.TP
\fB\-\-nomin\fR
skip minimization step
.TP
\fB\-\-nobak\fR
don't create backup files
.TP
\fB\-\-dump\fR
display transition tables
.TP
\fB\-\-dot\fR
write graphviz .dot files for the generated automata (alpha)
.TP
\fB\-\-verbose\fR, \fB\-v\fR
display generation progress messages (default)
.TP
\fB\-\-quiet\fR, \fB\-q\fR
display errors only
.TP
\fB\-\-time\fR
display generation time statistics
.TP
\fB\-\-version\fR
print the version number of this copy of jflex
.TP
\fB\-\-info\fR
print system + JDK information
.TP
\fB\-\-help\fR, \fB\-h\fR
print this message
.PP
.SH AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>,
for the Debian project (but may be used by others).

View File

@ -40,6 +40,7 @@ Source0: http://jflex.de/%{name}-%{version}.tar.gz
Source1: http://repo2.maven.org/maven2/de/jflex/jflex/1.4.3/jflex-1.4.3.pom
Source2: %{name}.desktop
Source3: %{name}.png
Source4: %{name}.1
Patch0: jflex-build_xml.patch
Patch1: jflex-junit-incompatibility.patch
@ -122,6 +123,10 @@ cp -p COPYRIGHT %{buildroot}%{_docdir}/%{name}-%{version}
# wrapper script for direct execution
%jpackage_script JFlex.Main "" "" jflex:java_cup jflex true
# manpage
install -dm 755 %{buildroot}%{_mandir}/man1
install -pm 644 %{SOURCE4} %{buildroot}%{_mandir}/man1
# .desktop + icons
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
install -Dpm 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
@ -138,6 +143,7 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
@ -148,6 +154,7 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%changelog
* Wed May 2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.4.3-9
- Fix license tag
- Import manpage from Debian's jflex 1.4.1-3 (GPL+)
* Thu Apr 19 2012 Jaromir Capik <jcapik@redhat.com> - 0:1.4.3-8
- Desktop file generated