Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 58b73fcd7d72a4572e3bf816452d1a89 > files > 3

jlint-3.0-6mdv2008.0.src.rpm

%bcond_with     doc

Name:           jlint
Version:        3.0
Release:        %mkrel 6
Epoch:          0
Summary:        Java program checker
Group:          Development/Java
License:        GPL
URL:            http://jlint.sourceforge.net/
Source0:        http://osdn.dl.sourceforge.net/jlint/jlint-3.0.tar.bz2
Patch0:         %{name}-build.patch
%if %with doc
BuildRequires:  tetex-latex
BuildRequires:  texi2html
BuildRequires:  texinfo
%endif
BuildRequires:	zlib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Jlint will check your Java code and find bugs, inconsistencies and
synchronization problems by doing data flow analysis and building
lock graph.

%prep
%setup -q
%patch0 -p1
%if %with doc
%{__rm} -f manual.pdf
%endif

%build
%{make} CFLAGS="-c -DNDEBUG %{optflags}"
%if %with doc
%{__make} doc
%endif

%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{_bindir}
%{makeinstall} INSTALL_DIR="%{buildroot}%{_bindir}"
%{__mv} %{buildroot}%{_bindir}/%{name}.sh %{buildroot}%{_bindir}/%{name}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%doc BUGS README TODO manual.pdf
%attr(0755,root,root) %{_bindir}/antic
%attr(0755,root,root) %{_bindir}/%{name}


%changelog
* Sun Sep 09 2007 David Walluck <walluck@mandriva.org> 3.0-6mdv2008.0
+ Revision: 83143
- rebuild, without doc
- Import jlint



* Mon Sep 04 2006 David Walluck <walluck@mandriva.org> 0:3.0-5mdv2007.0
- BuildRequires:  tetex-latex

* Sun Jul 23 2006 David Walluck <walluck@mandriva.org> 0:3.0-4mdv2007.0
- rebuild

* Tue Feb 14 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0:3.0-3mdk
- Fix BuildRequires

* Mon Feb 13 2006 David Walluck <walluck@mandriva.org> 0:3.0-2mdk
- BuildRequires: zlib-devel

* Fri Feb 10 2006 David Walluck <walluck@mandriva.org> 0:3.0-1mdk
- 3.0

* Mon Jan 16 2006 David Walluck <walluck@mandriva.org> 0:1.21-1mdk
- release