Name: sinjdoc Summary: Documentation generator for Java source code Summary(ja): Java ソースコードからドキュメントを生成するためのツール Version: 0.5 Release: 12%{?_dist_release} # No version given. License: GPL+ Group: Development/Tools URL: http://cscott.net/Projects/GJ/sinjdoc-latest/ Source0: http://cscott.net/Projects/GJ/sinjdoc-latest/sinjdoc-0.5.tar.gz Patch0: sinjdoc-annotations.patch Patch1: sinjdoc-autotools-changes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: autoconf automake BuildRequires: ecj >= 3.2.1 # /usr/bin/fastjar BuildRequires: libgcj BuildRequires: gcc-java >= 4.0.2 BuildRequires: java-gcj-compat-devel >= 1.0.70 BuildRequires: java_cup >= 0.10 Requires: java_cup >= 0.10 Requires: libgcj >= 4.1.2 Requires(post): java-gcj-compat >= 1.0.70 Requires(postun): java-gcj-compat >= 1.0.70 Obsoletes: gjdoc <= 0.7.7-14.fc7 %description This package contains Sinjdoc a tool for generating Javadoc-style documentation from Java source code %prep %setup -q %patch0 -p0 %patch1 -p0 %build aclocal automake autoconf %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT cat > sinjdoc << EOF #!/bin/sh %{_bindir}/gij -classpath \ %{_javadir}/java_cup-runtime.jar:%{_javadir}/sinjdoc.jar \ net.cscott.sinjdoc.Main "\$@" EOF install -d 755 $RPM_BUILD_ROOT%{_bindir} install -m 655 sinjdoc $RPM_BUILD_ROOT%{_bindir}/sinjdoc install -d 755 $RPM_BUILD_ROOT%{_javadir} install -D -m 644 sinjdoc.jar $RPM_BUILD_ROOT%{_javadir}/sinjdoc.jar #rm -rf aot-compile-rpm #aot-compile-rpm %clean rm -rf $RPM_BUILD_ROOT %post if [ -x %{_bindir}/rebuild-gcj-db ]; then %{_bindir}/rebuild-gcj-db fi %postun if [ -x %{_bindir}/rebuild-gcj-db ]; then %{_bindir}/rebuild-gcj-db fi %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README %{_bindir}/sinjdoc %{_javadir}/sinjdoc.jar #{_libdir}/gcj/%{name} %changelog * Fri Nov 14 2014 Ryoichi INAGAKI - 0.5-12 - rebuilt on current VineSeed - BR: libgcj instead of fastjar - stopped to run aot-compile-rpm * Sat Jun 2 2012 Ryoichi INAGAKI - 0.5-11 - rebuilt with rpm-4.8.1-3 - added BR: fastjar * Sat Sep 4 2010 Ryoichi INAGAKI - 0.5-10 - Initial build for Vine Linux * Sun Jul 26 2009 Fedora Release Engineering - 0.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Sep 4 2008 Tom "spot" Callaway - 0.5-7 - fix license tag * Mon Feb 18 2008 Fedora Release Engineering - 0.5-6 - Autorebuild for GCC 4.3 * Thu Nov 29 2007 Thomas Fitzsimmons - 0.5-5 - Fix URL field. - Fix Source0 field. - Own sinjdoc gcj directory. - Resolves: rhbz#246367 * Tue Apr 3 2007 Thomas Fitzsimmons - 0.5-4 - Obsolete gjdoc. * Tue Mar 27 2007 Thomas Fitzsimmons - 0.5-3 - Fix wrapper script argument quoting. * Mon Mar 19 2007 Thomas Fitzsimmons - 0.5-2 - Initial build in Fedora Core. * Mon Mar 15 2007 Thomas Fitzsimmons - 0.5-1 - Initial release.