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