4a612a
Name:           jsoup
4a612a
Version:        1.11.3
4a612a
Release:        3%{?dist}
4a612a
Summary:        Java library for working with real-world HTML
4a612a
License:        MIT
4a612a
URL:            http://jsoup.org/
4a612a
BuildArch:      noarch
4a612a
4a612a
# ./generate-tarball.sh
4a612a
Source0:        %{name}-%{version}.tar.gz
4a612a
# The sources contain non-free scraped web pages as test data
4a612a
Source1:        generate-tarball.sh
4a612a
4a612a
BuildRequires:  maven-local
4a612a
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
4a612a
4a612a
%description
4a612a
jsoup is a Java library for working with real-world HTML.
4a612a
It provides a very convenient API for extracting and manipulating data,
4a612a
using the best of DOM, CSS, and jquery-like methods.
4a612a
4a612a
jsoup implements the WHATWG HTML5 specification,
4a612a
and parses HTML to the same DOM as modern browsers do.
4a612a
4a612a
 - scrape and parse HTML from a URL, file, or string
4a612a
 - find and extract data, using DOM traversal or CSS selectors
4a612a
 - manipulate the HTML elements, attributes, and text
4a612a
 - clean user-submitted content against a safe white-list,
4a612a
   to prevent XSS attacks
4a612a
 - output tidy HTML
4a612a
4a612a
jsoup is designed to deal with all varieties of HTML found in the wild;
4a612a
from pristine and validating, to invalid tag-soup;
4a612a
jsoup will create a sensible parse tree.
4a612a
4a612a
4a612a
%package javadoc
4a612a
Summary:        Javadoc for %{name}
4a612a
4a612a
%description javadoc
4a612a
API documentation for %{name}.
4a612a
4a612a
%prep
4a612a
%setup -q -n %{name}-%{name}-%{version}
4a612a
4a612a
%pom_remove_plugin :animal-sniffer-maven-plugin
4a612a
%pom_remove_plugin :maven-javadoc-plugin
4a612a
4a612a
%build
4a612a
%mvn_build -f
4a612a
4a612a
%install
4a612a
%mvn_install
4a612a
4a612a
%files -f .mfiles
4a612a
%doc README.md CHANGES
4a612a
%license LICENSE
4a612a
4a612a
%files javadoc -f .mfiles-javadoc
4a612a
%license LICENSE
4a612a
4a612a
%changelog
4a612a
* Wed Jul 18 2018 Michael Simacek <msimacek@redhat.com> - 1.11.3-3
4a612a
- Remove non-free scraped web pages from SRPM
4a612a
4a612a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-2
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4a612a
4a612a
* Thu Apr 19 2018 Michael Simacek <msimacek@redhat.com> - 1.11.3-1
4a612a
- Update to upstream version 1.11.3
4a612a
4a612a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4a612a
4a612a
* Mon Nov 27 2017 Michael Simacek <msimacek@redhat.com> - 1.11.2-1
4a612a
- Update to upstream version 1.11.2
4a612a
4a612a
* Mon Nov 06 2017 Michael Simacek <msimacek@redhat.com> - 1.11.1-1
4a612a
- Update to upstream version 1.11.1
4a612a
4a612a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.3-2
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4a612a
4a612a
* Thu Jun 15 2017 Michael Simacek <msimacek@redhat.com> - 1.10.3-1
4a612a
- Update to upstream version 1.10.3
4a612a
4a612a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.2-2
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4a612a
4a612a
* Wed Jan 04 2017 Michael Simacek <msimacek@redhat.com> - 1.10.2-1
4a612a
- Update to upstream version 1.10.2
4a612a
4a612a
* Wed Nov 02 2016 Michael Simacek <msimacek@redhat.com> - 1.10.1-1
4a612a
- Update to upstream version 1.10.1
4a612a
4a612a
* Tue May 24 2016 Michael Simacek <msimacek@redhat.com> - 1.9.2-1
4a612a
- Update to upstream version 1.9.2
4a612a
4a612a
* Mon Apr 18 2016 Michael Simacek <msimacek@redhat.com> - 1.9.1-1
4a612a
- Update to upstream version 1.9.1
4a612a
4a612a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-2
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4a612a
4a612a
* Tue Aug 04 2015 Michael Simacek <msimacek@redhat.com> - 1.8.3-1
4a612a
- Update to upstream version 1.8.3
4a612a
4a612a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-2
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4a612a
4a612a
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.2-1
4a612a
- Update to upstream version 1.8.2
4a612a
4a612a
* Mon Sep 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.1-1
4a612a
- Update to upstream version 1.8.1
4a612a
4a612a
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-4
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4a612a
4a612a
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.2-3
4a612a
- Update to current packaging guidelines
4a612a
4a612a
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7.2-2
4a612a
- Use Requires: java-headless rebuild (#1067528)
4a612a
4a612a
* Mon Aug 12 2013 Alexander Kurtakov <akurtako@redhat.com> 1.7.2-1
4a612a
- Update to latest upstream.
4a612a
4a612a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-8
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4a612a
4a612a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-7
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4a612a
4a612a
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.6.1-6
4a612a
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
4a612a
- Replace maven BuildRequires with maven-local
4a612a
4a612a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4a612a
4a612a
* Wed Apr 04 2012 Jaromir Capik <jcapik@redhat.com> - 1.6.1-4
4a612a
- Removing maven from Requires
4a612a
4a612a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
4a612a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4a612a
4a612a
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-2
4a612a
- Switching to sources from github
4a612a
4a612a
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-1
4a612a
- Initial package