forked from pool/jsoup
This commit is contained in:
parent
4aae9d00cb
commit
0e238df04d
3
jsoup-1.14.2.tar.gz
Normal file
3
jsoup-1.14.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:84e5bf69bd73e50fb348a0963a067e8306a77db6ffc54dac1aa16c9fb9cfb4e5
|
||||
size 299703
|
@ -11,7 +11,7 @@
|
||||
<property name="project.name" value="jsoup Java HTML Parser"/>
|
||||
<property name="project.groupId" value="org.jsoup"/>
|
||||
<property name="project.artifactId" value="jsoup"/>
|
||||
<property name="project.version" value="1.11.3"/>
|
||||
<property name="project.version" value="1.14.2"/>
|
||||
<property name="project.description" value="jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods. jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do."/>
|
||||
<property name="project.organization.name" value="Jonathan Hedley"/>
|
||||
<property name="project.build.sourceEncoding" value="UTF-8"/>
|
||||
@ -24,11 +24,21 @@
|
||||
<property name="build.resourceDir.0" value="src/main/java"/>
|
||||
<property name="build.resourceDir.1" value="."/>
|
||||
|
||||
<property name="compiler.source" value="1.7"/>
|
||||
<property name="compiler.source" value="1.8"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<fileset dir="lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
@ -56,6 +66,7 @@
|
||||
<src>
|
||||
<pathelement location="${build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${build.outputDir}">
|
||||
<fileset dir="${build.resourceDir.0}">
|
||||
@ -100,7 +111,9 @@
|
||||
overview="${build.javadocDir.0}/overview.html"
|
||||
doctitle="${project.name} ${project.version} API"
|
||||
windowtitle="${project.name} ${project.version} API"
|
||||
breakiterator="false"/>
|
||||
breakiterator="false">
|
||||
<classpath refid="build.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
@ -122,8 +135,8 @@
|
||||
<attribute name="Bundle-SymbolicName" value="org.jsoup"/>
|
||||
<attribute name="Bundle-Vendor" value="${project.organization.name}"/>
|
||||
<attribute name="Bundle-Version" value="${project.version}"/>
|
||||
<attribute name="Export-Package" value="org.jsoup;uses:="javax.net.ssl,org.jsoup.nodes,org.jsoup.parser,org.jsoup.safety";version="${project.version}",org.jsoup.nodes;uses:="org.jsoup,org.jsoup.parser,org.jsoup.select";version="${project.version}",org.jsoup.parser;uses:="org.jsoup.nodes";version="${project.version}",org.jsoup.helper;uses:="javax.net.ssl,javax.xml.parsers,org.jsoup,org.jsoup.nodes,org.jsoup.parser,org.jsoup.select,org.w3c.dom";version="${project.version}",org.jsoup.select;uses:="org.jsoup.nodes";version="${project.version}",org.jsoup.examples;uses:="org.jsoup.nodes";version="${project.version}",org.jsoup.safety;uses:="org.jsoup.nodes";version="${project.version}""/>
|
||||
<attribute name="Import-Package" value="javax.net.ssl,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,org.jsoup,org.w3c.dom"/>
|
||||
<attribute name="Export-Package" value="org.jsoup;version="${project.version}";uses:="javax.annotation,javax.net.ssl,org.jsoup.nodes,org.jsoup.parser,org.jsoup.safety",org.jsoup.examples;version="${project.version}";uses:="org.jsoup.nodes",org.jsoup.helper;version="${project.version}";uses:="javax.annotation,javax.net.ssl,javax.xml.parsers,org.jsoup,org.jsoup.nodes,org.jsoup.parser,org.jsoup.select,org.w3c.dom",org.jsoup.internal;version="${project.version}";uses:="javax.annotation,javax.annotation.meta",org.jsoup.nodes;version="${project.version}";uses:="javax.annotation,org.jsoup,org.jsoup.parser,org.jsoup.select",org.jsoup.parser;version="${project.version}";uses:="javax.annotation,org.jsoup.nodes",org.jsoup.safety;version="${project.version}";uses:="org.jsoup.nodes",org.jsoup.select;version="${project.version}";uses:="javax.annotation,org.jsoup.nodes""/>
|
||||
<attribute name="Import-Package" value="javax.annotation,javax.annotation.meta,javax.net.ssl,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,org.jsoup,org.jsoup.helper,org.jsoup.internal,org.jsoup.nodes,org.jsoup.parser,org.jsoup.safety,org.jsoup.select,org.w3c.dom"/>
|
||||
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
14
jsoup.spec
14
jsoup.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jsoup
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
Name: jsoup
|
||||
Version: 1.11.3
|
||||
Version: 1.14.2
|
||||
Release: 0
|
||||
Summary: Java library for working with HTML
|
||||
License: MIT
|
||||
Group: Development/Libraries/Java
|
||||
URL: http://jsoup.org/
|
||||
URL: https://jsoup.org/
|
||||
# ./generate-tarball.sh
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: %{name}-build.xml
|
||||
@ -32,6 +32,7 @@ BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.7
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: jsr-305
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -62,10 +63,13 @@ API documentation for %{name}.
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%pom_remove_plugin :animal-sniffer-maven-plugin
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
%pom_remove_plugin :japicmp-maven-plugin
|
||||
%pom_remove_plugin :maven-failsafe-plugin
|
||||
|
||||
%build
|
||||
%ant -f %{name}-build.xml jar javadoc
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib jsr-305
|
||||
%{ant} -f %{name}-build.xml jar javadoc
|
||||
|
||||
%install
|
||||
# jar
|
||||
|
Loading…
Reference in New Issue
Block a user