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