7
0
forked from pool/javahelp2
2022-04-01 08:47:56 +00:00
committed by Git OBS Bridge
parent fc73c5a4a7
commit 994bf0bb2e

View File

@@ -23,7 +23,7 @@ Release: 0
Summary: Java online help system
License: GPL-2.0-or-later
Group: Development/Libraries/Java
URL: https://javahelp.dev.java.net/
URL: https://github.com/javaee/javahelp
Source0: %{oname}-%{version}.tar.xz
BuildRequires: ant >= 1.6.5
BuildRequires: fdupes
@@ -31,7 +31,6 @@ BuildRequires: glassfish-jsp-api
BuildRequires: glassfish-servlet-api
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
Requires: glassfish-jsp-api
Requires: glassfish-servlet-api
BuildArch: noarch
@@ -67,17 +66,17 @@ documentation for the Web and corporate Intranet.
%prep
%setup -q -n %{oname}-%{version}
# fix files perms
chmod -R go=u-w *
# remove windows files
find . -type f -name .bat | xargs rm -f
#
# This class provides native browser integration and would require
# JDIC project to be present. Currently there is no such jpackage.org
# package, so deleting the class. When JDIC package is created,
# add BuildProvides and remove the "rm" call.
#
# JDIC project to be present.
rm jhMaster/JavaHelp/src/new/javax/help/plaf/basic/BasicNativeContentViewerUI.java
mkdir javahelp_nbproject/lib
ln -s $(build-classpath glassfish-jsp-api) javahelp_nbproject/lib/jsp-api.jar
ln -s $(build-classpath glassfish-servlet-api) javahelp_nbproject/lib/servlet-api.jar