2021-05-17 16:01:44 +00:00
|
|
|
%bcond_with bootstrap
|
2021-04-16 13:33:12 +00:00
|
|
|
|
2011-07-26 13:38:15 +00:00
|
|
|
Name: jsoup
|
2020-05-14 11:32:36 +00:00
|
|
|
Version: 1.13.1
|
2021-05-17 13:49:55 +00:00
|
|
|
Release: 6%{?dist}
|
2011-07-26 13:38:15 +00:00
|
|
|
Summary: Java library for working with real-world HTML
|
|
|
|
License: MIT
|
2016-04-18 12:26:07 +00:00
|
|
|
URL: http://jsoup.org/
|
2014-05-21 16:11:55 +00:00
|
|
|
BuildArch: noarch
|
2011-07-26 13:38:15 +00:00
|
|
|
|
2018-07-18 14:05:51 +00:00
|
|
|
# ./generate-tarball.sh
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
# The sources contain non-free scraped web pages as test data
|
|
|
|
Source1: generate-tarball.sh
|
2011-07-26 13:38:15 +00:00
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
BuildRequires: maven-local-openjdk8
|
2021-04-16 13:33:12 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2014-05-21 16:11:55 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2021-04-16 13:33:12 +00:00
|
|
|
%endif
|
2011-07-26 13:38:15 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
- scrape and parse HTML from a URL, file, or string
|
|
|
|
- find and extract data, using DOM traversal or CSS selectors
|
|
|
|
- manipulate the HTML elements, attributes, and text
|
|
|
|
- clean user-submitted content against a safe white-list,
|
|
|
|
to prevent XSS attacks
|
|
|
|
- output tidy HTML
|
|
|
|
|
|
|
|
jsoup is designed to deal with all varieties of HTML found in the wild;
|
|
|
|
from pristine and validating, to invalid tag-soup;
|
|
|
|
jsoup will create a sensible parse tree.
|
|
|
|
|
2019-06-28 09:13:58 +00:00
|
|
|
%{?module_package}
|
2019-06-28 09:13:35 +00:00
|
|
|
%{?javadoc_package}
|
2011-07-26 13:38:15 +00:00
|
|
|
|
|
|
|
%prep
|
2016-04-18 12:26:07 +00:00
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
|
2015-02-18 13:12:56 +00:00
|
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
2020-05-14 11:32:36 +00:00
|
|
|
%pom_remove_plugin :maven-failsafe-plugin
|
2016-04-18 12:26:07 +00:00
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
2011-07-26 13:38:15 +00:00
|
|
|
|
2020-08-28 12:53:22 +00:00
|
|
|
# Expose internal packages in the OSGi metadata, clearly marking them as such
|
|
|
|
# using the x-internal attribute
|
|
|
|
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \
|
|
|
|
"<_exportcontents>*.internal;x-internal:=true,*</_exportcontents>"
|
|
|
|
|
2011-07-26 13:38:15 +00:00
|
|
|
%build
|
2017-11-06 12:09:18 +00:00
|
|
|
%mvn_build -f
|
2011-07-26 13:38:15 +00:00
|
|
|
|
|
|
|
%install
|
2014-05-21 16:11:55 +00:00
|
|
|
%mvn_install
|
2011-07-26 13:38:15 +00:00
|
|
|
|
2019-06-28 09:13:58 +00:00
|
|
|
%files -n %{?module_prefix}%{name} -f .mfiles
|
2017-06-15 10:24:13 +00:00
|
|
|
%doc README.md CHANGES
|
2015-04-14 18:47:10 +00:00
|
|
|
%license LICENSE
|
2011-07-26 13:38:15 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-05-17 13:49:55 +00:00
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-6
|
|
|
|
- Bootstrap build
|
2021-05-17 16:01:44 +00:00
|
|
|
- Non-bootstrap build
|
2021-05-17 13:49:55 +00:00
|
|
|
|
2021-01-26 15:04:42 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-28 12:53:22 +00:00
|
|
|
* Fri Aug 28 2020 Mat Booth <mat.booth@redhat.com> - 1.13.1-4
|
|
|
|
- Expose internal packages in the OSGi metadata
|
|
|
|
|
2020-08-25 07:29:24 +00:00
|
|
|
* Tue Aug 25 2020 Marian Koncek <mkoncek@redhat.com> - 1.13.1-1
|
|
|
|
- Update to upstream version 1.13.1
|
|
|
|
|
2020-07-28 02:36:04 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 23:17:59 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.13.1-2
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-05-14 11:32:36 +00:00
|
|
|
* Thu May 14 2020 Fabio Valentini <decathorpe@gmail.com> - 1.13.1-1
|
|
|
|
- Update to version 1.13.1.
|
|
|
|
|
2020-01-29 06:29:42 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-3
|
|
|
|
- Build with OpenJDK 8
|
|
|
|
|
2019-11-05 16:29:28 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-2
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-10-20 14:32:27 +00:00
|
|
|
* Sun Oct 20 2019 Fabio Valentini <decathorpe@gmail.com> - 1.12.1-1
|
|
|
|
- Update to version 1.12.1.
|
|
|
|
|
2019-07-25 10:53:11 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-04 08:08:31 +00:00
|
|
|
* Thu Jul 04 2019 Marian Koncek <mkoncek@redhat.com> - 1.12.1-1
|
|
|
|
- Update to upstream version 1.12.1
|
|
|
|
|
2019-05-24 15:00:53 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.3-4
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-02-01 04:50:14 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-18 14:05:51 +00:00
|
|
|
* Wed Jul 18 2018 Michael Simacek <msimacek@redhat.com> - 1.11.3-3
|
|
|
|
- Remove non-free scraped web pages from SRPM
|
|
|
|
|
2018-07-13 06:42:38 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-19 13:46:07 +00:00
|
|
|
* Thu Apr 19 2018 Michael Simacek <msimacek@redhat.com> - 1.11.3-1
|
|
|
|
- Update to upstream version 1.11.3
|
|
|
|
|
2018-02-07 19:19:07 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-27 13:53:47 +00:00
|
|
|
* Mon Nov 27 2017 Michael Simacek <msimacek@redhat.com> - 1.11.2-1
|
|
|
|
- Update to upstream version 1.11.2
|
|
|
|
|
2017-11-06 11:09:11 +00:00
|
|
|
* Mon Nov 06 2017 Michael Simacek <msimacek@redhat.com> - 1.11.1-1
|
|
|
|
- Update to upstream version 1.11.1
|
|
|
|
|
2017-07-26 14:45:08 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-15 10:24:13 +00:00
|
|
|
* Thu Jun 15 2017 Michael Simacek <msimacek@redhat.com> - 1.10.3-1
|
|
|
|
- Update to upstream version 1.10.3
|
|
|
|
|
2017-02-10 17:28:13 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-04 11:40:54 +00:00
|
|
|
* Wed Jan 04 2017 Michael Simacek <msimacek@redhat.com> - 1.10.2-1
|
|
|
|
- Update to upstream version 1.10.2
|
|
|
|
|
2016-11-02 13:24:01 +00:00
|
|
|
* Wed Nov 02 2016 Michael Simacek <msimacek@redhat.com> - 1.10.1-1
|
|
|
|
- Update to upstream version 1.10.1
|
|
|
|
|
2016-05-24 08:56:20 +00:00
|
|
|
* Tue May 24 2016 Michael Simacek <msimacek@redhat.com> - 1.9.2-1
|
|
|
|
- Update to upstream version 1.9.2
|
|
|
|
|
2016-04-18 12:26:07 +00:00
|
|
|
* Mon Apr 18 2016 Michael Simacek <msimacek@redhat.com> - 1.9.1-1
|
|
|
|
- Update to upstream version 1.9.1
|
|
|
|
|
2016-02-04 01:29:05 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-04 08:57:35 +00:00
|
|
|
* Tue Aug 04 2015 Michael Simacek <msimacek@redhat.com> - 1.8.3-1
|
|
|
|
- Update to upstream version 1.8.3
|
|
|
|
|
2015-06-17 12:38:16 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-14 18:47:10 +00:00
|
|
|
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.2-1
|
|
|
|
- Update to upstream version 1.8.2
|
|
|
|
|
2015-02-18 13:12:56 +00:00
|
|
|
* Mon Sep 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.1-1
|
|
|
|
- Update to upstream version 1.8.1
|
|
|
|
|
2014-06-08 01:11:42 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-21 16:11:55 +00:00
|
|
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.2-3
|
|
|
|
- Update to current packaging guidelines
|
|
|
|
|
2014-03-04 08:04:36 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7.2-2
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-12 11:47:29 +00:00
|
|
|
* Mon Aug 12 2013 Alexander Kurtakov <akurtako@redhat.com> 1.7.2-1
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
2013-08-03 21:47:31 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 03:03:00 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 19:14:15 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.6.1-6
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2012-07-19 16:43:22 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-04 11:19:19 +00:00
|
|
|
* Wed Apr 04 2012 Jaromir Capik <jcapik@redhat.com> - 1.6.1-4
|
|
|
|
- Removing maven from Requires
|
|
|
|
|
2012-01-13 06:35:28 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-26 13:38:15 +00:00
|
|
|
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-2
|
|
|
|
- Switching to sources from github
|
|
|
|
|
|
|
|
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-1
|
|
|
|
- Initial package
|