Name: jlint Version: 3.1.2 Release: 1%{?dist} Summary: Static analyzer for Java byte-code License: GPLv2+ URL: http://jlint.sourceforge.net/ Source0: http://downloads.sourceforge.net/jlint/%{name}-%{version}.tar.gz # Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=9470855 BuildRequires: texi2html # texinfo-tex BuildRequires: %{_bindir}/texi2pdf BuildRequires: zlib-devel %description Jlint will check your Java code and find bugs, inconsistencies and synchronization problems by doing data flow analysis on the code and building the lock graph. Jlint is fast, easy to learn, and requires no changes in the class files to be checked. %prep %setup -q # https://sourceforge.net/p/jlint/bugs/17/ sed -i "s,675 Mass Ave,51 Franklin Street,;s,Cambridge,Boston,;s,MA 02139,MA 02110-1301," COPYING %build make %{?_smp_mflags} clean make %{?_smp_mflags} CFLAGS="-c -DNDEBUG %{optflags}" LFLAGS="%{optflags} -lz -fPIC" make %{?_smp_mflags} doc %install mkdir -p %{buildroot}%{_bindir} make INSTALL_DIR=%{buildroot}%{_bindir} install %files %{_bindir}/antic %{_bindir}/jlint %{_bindir}/jlint.sh %license COPYING %doc BUGS CHANGELOG README TODO %doc manual.html manual.pdf %changelog * Mon Apr 13 2015 gil cattaneo 3.1.2-1 - initial rpm