source: projects/specs/branches/6/s/sinjdoc/sinjdoc-vl.spec @ 6266

Revision 6266, 3.1 KB checked in by inagaki, 12 years ago (diff)

update: java_cup, sinjdoc

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