rebuilt devel [release 2.0.05-2mamba;Sat Nov 27 2010]
This commit is contained in:
parent
67471fee0e
commit
15f718916e
@ -1,2 +1,6 @@
|
|||||||
# javahelp2
|
# javahelp2
|
||||||
|
|
||||||
|
JavaHelp software is a full-featured, platform-independent, extensible help system that enables developers and authors to incorporate online
|
||||||
|
help in applets, components, applications, operating systems, and devices. Authors can also use the JavaHelp software to deliver online
|
||||||
|
documentation for the Web and corporate Intranet.
|
||||||
|
|
||||||
|
31
javahelp2-jhindexer.sh
Normal file
31
javahelp2-jhindexer.sh
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# jhindexer script
|
||||||
|
# JPackage project (http://jpackage.sourceforge.net)
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
# Source functions library
|
||||||
|
. /usr/share/java-utils/java-functions
|
||||||
|
|
||||||
|
# Allow system prefs
|
||||||
|
if [ -f /etc/jhindexer.conf ] ; then
|
||||||
|
. /etc/jhindexer.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Allow user-defined prefs
|
||||||
|
if [ -f $HOME/.jhindexerrc ] ; then
|
||||||
|
. $HOME/.jhindexerrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
MAIN_CLASS=com.sun.java.help.search.Indexer
|
||||||
|
BASE_JARS=javahelp2
|
||||||
|
|
||||||
|
# Set parameters
|
||||||
|
set_jvm
|
||||||
|
set_classpath $BASE_JARS
|
||||||
|
set_flags $BASE_FLAGS
|
||||||
|
set_options $BASE_OPTIONS
|
||||||
|
|
||||||
|
# Let's start
|
||||||
|
run "$@"
|
31
javahelp2-jhsearch.sh
Normal file
31
javahelp2-jhsearch.sh
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# jhsearch script
|
||||||
|
# JPackage project (http://jpackage.sourceforge.net)
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
# Source functions library
|
||||||
|
. /usr/share/java-utils/java-functions
|
||||||
|
|
||||||
|
# Allow system prefs
|
||||||
|
if [ -f /etc/jhsearch.conf ] ; then
|
||||||
|
. /etc/jhsearch.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Allow user-defined prefs
|
||||||
|
if [ -f $HOME/.jhsearchrc ] ; then
|
||||||
|
. $HOME/.jhsearch
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
MAIN_CLASS=com.sun.java.help.search.QueryEngine
|
||||||
|
BASE_JARS=javahelp2
|
||||||
|
|
||||||
|
# Set parameters
|
||||||
|
set_jvm
|
||||||
|
set_classpath $BASE_JARS
|
||||||
|
set_flags $BASE_FLAGS
|
||||||
|
set_options $BASE_OPTIONS
|
||||||
|
|
||||||
|
# Let's start
|
||||||
|
run "$@"
|
124
javahelp2.spec
Normal file
124
javahelp2.spec
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
Name: javahelp2
|
||||||
|
Version: 2.0.05
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: The JavaHelp System
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: gil <puntogil@libero.it>
|
||||||
|
URL: https://javahelp.dev.java.net/
|
||||||
|
Source0: https://javahelp.dev.java.net/files/documents/5985/59373/javahelp2-src-%{version}.zip
|
||||||
|
Source1: javahelp2-jhindexer.sh
|
||||||
|
Source2: javahelp2-jhsearch.sh
|
||||||
|
License: GPL
|
||||||
|
BuildRequires: apache-ant
|
||||||
|
BuildRequires: apache-ant-nodeps
|
||||||
|
BuildRequires: apache-tomcat5-jsp20-api
|
||||||
|
BuildRequires: apache-tomcat5-servletapi5
|
||||||
|
BuildRequires: jpackage-utils
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
JavaHelp software is a full-featured, platform-independent, extensible help system that enables developers and authors to incorporate online
|
||||||
|
help in applets, components, applications, operating systems, and devices. Authors can also use the JavaHelp software to deliver online
|
||||||
|
documentation for the Web and corporate Intranet.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
JavaHelp software is a full-featured, platform-independent, extensible help system that enables developers and authors to incorporate online
|
||||||
|
help in applets, components, applications, operating systems, and devices. Authors can also use the JavaHelp software to deliver online
|
||||||
|
documentation for the Web and corporate Intranet.
|
||||||
|
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q
|
||||||
|
chmod -R go=u-w *
|
||||||
|
|
||||||
|
for file in `find . -type f -name .bat`; do
|
||||||
|
rm -f $file
|
||||||
|
done
|
||||||
|
|
||||||
|
#
|
||||||
|
# This class provides native browser integration and would require
|
||||||
|
# JDIC project (https://jdic.dev.java.net/) to be present. Currently there is no JDIC
|
||||||
|
# package, so deleting the class. When JDIC package is created,
|
||||||
|
# add BuildProvides and remove the "rm" call.
|
||||||
|
#
|
||||||
|
rm jhMaster/JavaHelp/src/new/javax/help/plaf/basic/BasicNativeContentViewerUI.java
|
||||||
|
|
||||||
|
mkdir javahelp_nbproject/lib
|
||||||
|
pushd javahelp_nbproject/lib
|
||||||
|
ln -sf $(build-classpath jsp-api20) jsp-api.jar
|
||||||
|
ln -sf $(build-classpath servletapi5) servlet-api.jar
|
||||||
|
popd
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
export CLASSPATH=$(build-classpath jsp-api20 servletapi5 ant/ant-nodeps junit-3.8.2)
|
||||||
|
ant -f javahelp_nbproject/build.xml \
|
||||||
|
-Djdic-jar-present=true -Djdic-zip-present=true \
|
||||||
|
-Dservlet-jar-present=true -Dtomcat-zip-present=true \
|
||||||
|
release javadoc
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_javadir}/%{name}/bin
|
||||||
|
install -m 644 javahelp_nbproject/dist/lib/jhall.jar \
|
||||||
|
%{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
|
|
||||||
|
install -m 644 javahelp_nbproject/dist/lib/jh*.jar \
|
||||||
|
%{buildroot}%{_javadir}/%{name}
|
||||||
|
install -m 644 javahelp_nbproject/dist/bin/jh*.jar \
|
||||||
|
%{buildroot}%{_javadir}/%{name}/bin
|
||||||
|
|
||||||
|
(
|
||||||
|
cd %{buildroot}%{_javadir}
|
||||||
|
for jar in *-%{version}*; do
|
||||||
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
||||||
|
done
|
||||||
|
)
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
install -m 755 %{S:1} %{buildroot}%{_bindir}/jh2indexer
|
||||||
|
install -m 755 %{S:2} %{buildroot}%{_bindir}/jh2search
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
|
cp -pr javahelp_nbproject/dist/lib/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/jh2indexer
|
||||||
|
%{_bindir}/jh2search
|
||||||
|
%{_javadir}/javahelp2-%{version}.jar
|
||||||
|
%{_javadir}/javahelp2.jar
|
||||||
|
%{_javadir}/javahelp2/bin/jhindexer.jar
|
||||||
|
%{_javadir}/javahelp2/bin/jhsearch.jar
|
||||||
|
%{_javadir}/javahelp2/jh-client.jar
|
||||||
|
%{_javadir}/javahelp2/jh.jar
|
||||||
|
%{_javadir}/javahelp2/jhall.jar
|
||||||
|
%{_javadir}/javahelp2/jhbasic.jar
|
||||||
|
%dir %{_datadir}/%{name}
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Nov 27 2010 gil <puntogil@libero.it> 2.0.05-2mamba
|
||||||
|
- rebuilt devel
|
||||||
|
|
||||||
|
* Wed Apr 08 2009 gil <puntogil@libero.it> 2.0.05-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user