Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6680fac59 | ||
|
|
b3ef75f97d | ||
|
|
53cbb13f34 | ||
|
|
15a509b073 | ||
|
|
1350a40401 | ||
|
|
490c0ae373 | ||
|
|
7254331b2f | ||
|
|
869d0803b7 | ||
|
|
d6af880696 | ||
|
|
4a269d6cb9 | ||
|
|
e67b421725 | ||
|
|
de1eb77155 | ||
|
|
9fcf2821d1 | ||
|
|
4bf57b60a8 |
6 changed files with 1 additions and 298 deletions
|
|
@ -1,4 +0,0 @@
|
|||
xjavadoc-src-1.1-RHCLEAN.tar.bz2
|
||||
xjavadoc
|
||||
noarch
|
||||
*.src.rpm
|
||||
6
Makefile
6
Makefile
|
|
@ -1,6 +0,0 @@
|
|||
# Makefile for source rpm: xjavadoc
|
||||
# $Id$
|
||||
NAME := xjavadoc
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
include ../common/Makefile.common
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Package is retired
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
b9ab69d0d30f49ee9824947ebac395e8 xjavadoc-src-1.1-RHCLEAN.tar.bz2
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
--- build.xml.orig 2004-06-29 11:23:25.332349000 +0200
|
||||
+++ build.xml 2004-06-29 15:29:29.879533000 +0200
|
||||
@@ -6,6 +6,8 @@
|
||||
<property name="jardir" location="${build.dir}"/>
|
||||
<property name="rootdir" location="${basedir}"/>
|
||||
<property name="javacchome" location="${basedir}/lib"/>
|
||||
+ <property name="javadocdir" value="dist/docs/api"/>
|
||||
+ <property name="final.name" value="xjavadoc-1.0.3"/>
|
||||
|
||||
<!-- =================================================================== -->
|
||||
<!-- Initialization target. -->
|
||||
@@ -83,6 +85,7 @@
|
||||
WE'RE USING THE OLD XDOCLET, THE ONE THAT USES SUN'S JAVADOC.
|
||||
IT'S TO SEE IF XJAVADOC DOES THE SAME JOB AS JAVADOC
|
||||
-->
|
||||
+<!-- OMIT TEST GENERATION AS SOURCES FOR OLD XDOCLET NOT AVAILABLE
|
||||
<taskdef
|
||||
name="xdoclet"
|
||||
classname="xdoclet.DocletTask"
|
||||
@@ -95,7 +98,6 @@
|
||||
classpathref="classpath"
|
||||
>
|
||||
<fileset dir="${build.dir}/src">
|
||||
- <!-- Just run it over the biggest classes -->
|
||||
<include name="xjavadoc/XJavaDoc.java"/>
|
||||
<include name="xjavadoc/AbstractClass.java"/>
|
||||
<include name="xjavadoc/XDoc.java"/>
|
||||
@@ -111,6 +113,7 @@
|
||||
subTaskClassName="xdoclet.NoInnerClassSubTask"
|
||||
/>
|
||||
</xdoclet>
|
||||
+-->
|
||||
|
||||
<mkdir dir="${build.dir}/test-classes"/>
|
||||
<javac
|
||||
@@ -235,4 +238,26 @@
|
||||
multi="false"
|
||||
/>
|
||||
</target>
|
||||
+ <target name="javadoc" description="o Generate javadoc" depends="jar">
|
||||
+ <mkdir dir="${javadocdir}">
|
||||
+ </mkdir>
|
||||
+ <tstamp>
|
||||
+ <format pattern="2002-yyyy" property="year">
|
||||
+ </format>
|
||||
+ </tstamp>
|
||||
+ <property name="copyright" value="Copyright &copy; XDoclet Team. All Rights Reserved.">
|
||||
+ </property>
|
||||
+ <property name="title" value="XJavaDoc 1.0.3 API">
|
||||
+ </property>
|
||||
+ <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="target/src" packagenames="xjavadoc.*">
|
||||
+ <classpath>
|
||||
+ <fileset dir="lib">
|
||||
+ <include name="*.jar">
|
||||
+ </include>
|
||||
+ </fileset>
|
||||
+ <pathelement location="target/${final.name}.jar">
|
||||
+ </pathelement>
|
||||
+ </classpath>
|
||||
+ </javadoc>
|
||||
+ </target>
|
||||
</project>
|
||||
225
xjavadoc.spec
225
xjavadoc.spec
|
|
@ -1,225 +0,0 @@
|
|||
# Copyright (c) 2000-2005, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name of the JPackage Project nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
%define _with_gcj_support 1
|
||||
|
||||
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
|
||||
|
||||
%define section free
|
||||
|
||||
Name: xjavadoc
|
||||
Version: 1.1
|
||||
Release: 4jpp.3%{?dist}
|
||||
Epoch: 0
|
||||
Summary: The XJavaDoc engine
|
||||
License: BSD Style
|
||||
URL: http://xdoclet.sourceforge.net/xjavadoc/
|
||||
Group: Development/Testing
|
||||
Source0: xjavadoc-src-1.1-RHCLEAN.tar.bz2
|
||||
# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xdoclet login
|
||||
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xdoclet export -r XJAVADOC_1_1 xjavadoc
|
||||
Patch0: %{name}-build_xml.patch
|
||||
BuildRequires: java
|
||||
BuildRequires: java-devel >= 0:1.4.2
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: junit
|
||||
BuildRequires: ant >= 0:1.6
|
||||
BuildRequires: ant-nodeps >= 0:1.6
|
||||
BuildRequires: ant-junit >= 0:1.6
|
||||
BuildRequires: jakarta-commons-logging
|
||||
BuildRequires: jakarta-commons-collections
|
||||
BuildRequires: xml-commons-apis
|
||||
BuildRequires: log4j
|
||||
BuildRequires: javacc
|
||||
BuildRequires: xalan-j2
|
||||
BuildRequires: jrefactory
|
||||
Requires: java
|
||||
Requires: jakarta-commons-logging
|
||||
Requires: jakarta-commons-collections
|
||||
Requires: xml-commons-apis
|
||||
Requires: log4j
|
||||
Requires: xalan-j2
|
||||
Requires: jrefactory
|
||||
%if ! %{gcj_support}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
|
||||
%if %{gcj_support}
|
||||
BuildRequires: java-gcj-compat-devel
|
||||
Requires(post): java-gcj-compat
|
||||
Requires(postun): java-gcj-compat
|
||||
%endif
|
||||
|
||||
%description
|
||||
The XJavaDoc engine is a complete rewrite of Sun's
|
||||
JavaDoc engine that is faster and more suited for
|
||||
XDoclet (although it is completely standalone). It
|
||||
scans java source code and makes information about
|
||||
a class available via special java beans that are
|
||||
part of the XJavaDoc core. These beans provide the
|
||||
same information about a class as Sun's JavaDoc API,
|
||||
and some nice extra features.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Development/Documentation
|
||||
Requires(post): /bin/rm,/bin/ln
|
||||
Requires(postun): /bin/rm
|
||||
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
find . -name "*.zip" -exec rm {} \;
|
||||
find . -name "*.jar" -exec rm {} \;
|
||||
|
||||
%patch0 -b .sav
|
||||
|
||||
%build
|
||||
build-jar-repository -s -p lib \
|
||||
xalan-j2 \
|
||||
junit \
|
||||
javacc \
|
||||
log4j \
|
||||
commons-logging \
|
||||
commons-collections \
|
||||
xml-commons-apis \
|
||||
jrefactory \
|
||||
ant \
|
||||
|
||||
|
||||
#Fix these binary deps
|
||||
#BINCLASSPATH=$PWD/lib/ConfigLog4j.jar
|
||||
|
||||
ant -Djavacchome=/usr/share/java javadoc
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}
|
||||
install -m 644 target/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}
|
||||
|
||||
# version less symlinks
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
||||
install -m 644 LICENSE.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
||||
install -m 644 docs/architecture.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
||||
|
||||
#javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
|
||||
|
||||
%if %{gcj_support}
|
||||
%{_bindir}/aot-compile-rpm
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post javadoc
|
||||
rm -f %{_javadocdir}/%{name}
|
||||
ln -s %{name}-%{version} %{_javadocdir}/%{name}
|
||||
|
||||
%postun javadoc
|
||||
if [ "$1" = "0" ]; then
|
||||
rm -f %{_javadocdir}/%{name}
|
||||
fi
|
||||
|
||||
%post
|
||||
%if %{gcj_support}
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if %{gcj_support}
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/*
|
||||
%{_docdir}/%{name}-%{version}
|
||||
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}
|
||||
%endif
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_javadocdir}/%{name}-%{version}
|
||||
%ghost %doc %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Sep 20 2007 Deepak Bhole <dbhole@redhat.com> 1.1-4jpp.3
|
||||
- Rebuild for ppc32 execmem issue and new build-id
|
||||
- Add %%{?dist} as per policy
|
||||
|
||||
* Mon Mar 26 2007 Deepak Bhole <dbhole@redhat.com> 1.1-4jpp.2
|
||||
- Fixed incorrect entry in the files section
|
||||
|
||||
* Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> 1.1-4jpp.1
|
||||
- Added missing postun section for javadoc.
|
||||
- Added missing requirements.
|
||||
|
||||
* Mon Jul 24 2006 Deepak Bhole <dbhole@redhat.com> 1.1-3jpp_1fc
|
||||
- Added conditional native compilation.
|
||||
- BR fixes.
|
||||
|
||||
* Thu Apr 06 2005 Ralph Apel <r.apel at r-apel.de> 1.1-2jpp
|
||||
- First JPP-1.7 release
|
||||
|
||||
* Tue Feb 15 2005 Ralph Apel <r.apel at r-apel.de> 1.1-1jpp
|
||||
- upgrade to 1.1
|
||||
- replace requirement of xml-commons by xml-commons-apis
|
||||
|
||||
* Thu Aug 26 2004 Ralph Apel <r.apel at r-apel.de> 1.0.3-2jpp
|
||||
- Build with ant-1.6.2
|
||||
|
||||
* Fri Jul 02 2004 Ralph Apel <r.apel at r-apel.de> 1.0.3-1jpp
|
||||
- upgrade to 1.0.3
|
||||
- just eliminate __GENERATED__ tests because no sources for old xdoclet
|
||||
- add xjavadoc javadoc subpackage
|
||||
|
||||
* Tue Dec 16 2003 Paul Nasrat <pauln at truemesh.com> 1.0-2jpp
|
||||
- fix non-versioned symlink typo
|
||||
|
||||
* Mon Dec 15 2003 Paul Nasrat <pauln at truemesh.com> 1.0-1jpp
|
||||
- Initial Release
|
||||
Loading…
Add table
Add a link
Reference in a new issue