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