[1761] | 1 | Name: sinjdoc |
---|
| 2 | Summary: Documentation generator for Java source code |
---|
[9088] | 3 | Summary(ja): Java ソースコードからドキュメントを生成するためのツール |
---|
[1761] | 4 | Version: 0.5 |
---|
[9088] | 5 | Release: 12%{?_dist_release} |
---|
[1761] | 6 | |
---|
| 7 | # No version given. |
---|
| 8 | License: GPL+ |
---|
[9088] | 9 | Group: Development/Tools |
---|
[1761] | 10 | URL: http://cscott.net/Projects/GJ/sinjdoc-latest/ |
---|
[9088] | 11 | |
---|
[1761] | 12 | Source0: http://cscott.net/Projects/GJ/sinjdoc-latest/sinjdoc-0.5.tar.gz |
---|
| 13 | Patch0: sinjdoc-annotations.patch |
---|
| 14 | Patch1: sinjdoc-autotools-changes.patch |
---|
[9088] | 15 | |
---|
[1761] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9088] | 17 | BuildRequires: autoconf automake |
---|
[1761] | 18 | BuildRequires: ecj >= 3.2.1 |
---|
[9088] | 19 | # /usr/bin/fastjar |
---|
| 20 | BuildRequires: libgcj |
---|
[1761] | 21 | BuildRequires: gcc-java >= 4.0.2 |
---|
| 22 | BuildRequires: java-gcj-compat-devel >= 1.0.70 |
---|
| 23 | BuildRequires: java_cup >= 0.10 |
---|
| 24 | |
---|
| 25 | Requires: java_cup >= 0.10 |
---|
| 26 | Requires: libgcj >= 4.1.2 |
---|
| 27 | Requires(post): java-gcj-compat >= 1.0.70 |
---|
| 28 | Requires(postun): java-gcj-compat >= 1.0.70 |
---|
| 29 | |
---|
| 30 | Obsoletes: gjdoc <= 0.7.7-14.fc7 |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | This package contains Sinjdoc a tool for generating Javadoc-style |
---|
| 34 | documentation from Java source code |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | %patch0 -p0 |
---|
| 39 | %patch1 -p0 |
---|
| 40 | |
---|
| 41 | %build |
---|
[9088] | 42 | aclocal |
---|
| 43 | automake |
---|
[1761] | 44 | autoconf |
---|
[9088] | 45 | |
---|
[1761] | 46 | %configure |
---|
| 47 | make %{?_smp_mflags} |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | cat > sinjdoc << EOF |
---|
| 52 | #!/bin/sh |
---|
| 53 | %{_bindir}/gij -classpath \ |
---|
| 54 | %{_javadir}/java_cup-runtime.jar:%{_javadir}/sinjdoc.jar \ |
---|
| 55 | net.cscott.sinjdoc.Main "\$@" |
---|
| 56 | EOF |
---|
| 57 | install -d 755 $RPM_BUILD_ROOT%{_bindir} |
---|
| 58 | install -m 655 sinjdoc $RPM_BUILD_ROOT%{_bindir}/sinjdoc |
---|
| 59 | install -d 755 $RPM_BUILD_ROOT%{_javadir} |
---|
| 60 | install -D -m 644 sinjdoc.jar $RPM_BUILD_ROOT%{_javadir}/sinjdoc.jar |
---|
| 61 | |
---|
[9088] | 62 | #rm -rf aot-compile-rpm |
---|
| 63 | #aot-compile-rpm |
---|
[1761] | 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | %post |
---|
| 69 | if [ -x %{_bindir}/rebuild-gcj-db ]; then |
---|
| 70 | %{_bindir}/rebuild-gcj-db |
---|
| 71 | fi |
---|
| 72 | |
---|
| 73 | %postun |
---|
| 74 | if [ -x %{_bindir}/rebuild-gcj-db ]; then |
---|
| 75 | %{_bindir}/rebuild-gcj-db |
---|
| 76 | fi |
---|
| 77 | |
---|
| 78 | %files |
---|
| 79 | %defattr(-,root,root,-) |
---|
| 80 | %doc AUTHORS ChangeLog COPYING README |
---|
| 81 | %{_bindir}/sinjdoc |
---|
| 82 | %{_javadir}/sinjdoc.jar |
---|
[9088] | 83 | #{_libdir}/gcj/%{name} |
---|
[1761] | 84 | |
---|
| 85 | %changelog |
---|
[9088] | 86 | * Fri Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.5-12 |
---|
| 87 | - rebuilt on current VineSeed |
---|
| 88 | - BR: libgcj instead of fastjar |
---|
| 89 | - stopped to run aot-compile-rpm |
---|
| 90 | |
---|
| 91 | * Sat Jun 2 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5-11 |
---|
| 92 | - rebuilt with rpm-4.8.1-3 |
---|
| 93 | - added BR: fastjar |
---|
| 94 | |
---|
[1761] | 95 | * Sat Sep 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5-10 |
---|
| 96 | - Initial build for Vine Linux |
---|
| 97 | |
---|
| 98 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-9 |
---|
| 99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 100 | |
---|
| 101 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-8 |
---|
| 102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 103 | |
---|
| 104 | * Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5-7 |
---|
| 105 | - fix license tag |
---|
| 106 | |
---|
| 107 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5-6 |
---|
| 108 | - Autorebuild for GCC 4.3 |
---|
| 109 | |
---|
| 110 | * Thu Nov 29 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.5-5 |
---|
| 111 | - Fix URL field. |
---|
| 112 | - Fix Source0 field. |
---|
| 113 | - Own sinjdoc gcj directory. |
---|
| 114 | - Resolves: rhbz#246367 |
---|
| 115 | |
---|
| 116 | * Tue Apr 3 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.5-4 |
---|
| 117 | - Obsolete gjdoc. |
---|
| 118 | |
---|
| 119 | * Tue Mar 27 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.5-3 |
---|
| 120 | - Fix wrapper script argument quoting. |
---|
| 121 | |
---|
| 122 | * Mon Mar 19 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.5-2 |
---|
| 123 | - Initial build in Fedora Core. |
---|
| 124 | |
---|
| 125 | * Mon Mar 15 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.5-1 |
---|
| 126 | - Initial release. |
---|