|
|
cfc5e7 |
Name: jsoup
|
|
|
cfc5e7 |
Version: 1.6.1
|
|
|
9b1504 |
Release: 10%{?dist}
|
|
|
cfc5e7 |
Summary: Java library for working with real-world HTML
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
License: MIT
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
URL: http://%{name}.org/
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
# git clone git://github.com/jhy/jsoup
|
|
|
cfc5e7 |
# git archive --prefix="jsoup-1.6.1/" --format=tar jsoup-1.6.1 | xz > jsoup-1.6.1.tar.xz
|
|
|
cfc5e7 |
Source0: %{name}-%{version}.tar.xz
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
BuildArch: noarch
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
cfc5e7 |
BuildRequires: maven-local
|
|
|
cfc5e7 |
BuildRequires: maven-source-plugin
|
|
|
cfc5e7 |
BuildRequires: maven-plugin-plugin
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%description
|
|
|
cfc5e7 |
jsoup is a Java library for working with real-world HTML.
|
|
|
cfc5e7 |
It provides a very convenient API for extracting and manipulating data,
|
|
|
cfc5e7 |
using the best of DOM, CSS, and jquery-like methods.
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
jsoup implements the WHATWG HTML5 specification,
|
|
|
cfc5e7 |
and parses HTML to the same DOM as modern browsers do.
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
- scrape and parse HTML from a URL, file, or string
|
|
|
cfc5e7 |
- find and extract data, using DOM traversal or CSS selectors
|
|
|
cfc5e7 |
- manipulate the HTML elements, attributes, and text
|
|
|
cfc5e7 |
- clean user-submitted content against a safe white-list,
|
|
|
cfc5e7 |
to prevent XSS attacks
|
|
|
cfc5e7 |
- output tidy HTML
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
jsoup is designed to deal with all varieties of HTML found in the wild;
|
|
|
cfc5e7 |
from pristine and validating, to invalid tag-soup;
|
|
|
cfc5e7 |
jsoup will create a sensible parse tree.
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%package javadoc
|
|
|
cfc5e7 |
Summary: Javadoc for %{name}
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%description javadoc
|
|
|
cfc5e7 |
API documentation for %{name}.
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%prep
|
|
|
cfc5e7 |
%setup -q
|
|
|
cfc5e7 |
%mvn_file : %{name}
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%build
|
|
|
cfc5e7 |
%mvn_build
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%install
|
|
|
cfc5e7 |
%mvn_install
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%files -f .mfiles
|
|
|
cfc5e7 |
%doc LICENSE README CHANGES
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%files javadoc -f .mfiles-javadoc
|
|
|
cfc5e7 |
%doc LICENSE
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
%changelog
|
|
|
9b1504 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.6.1-10
|
|
|
9b1504 |
- Mass rebuild 2013-12-27
|
|
|
9b1504 |
|
|
|
cfc5e7 |
* Fri Aug 16 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.6.1-9
|
|
|
cfc5e7 |
- Migrate away from mvn-rpmbuild (#997437)
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.1-8
|
|
|
cfc5e7 |
- Rebuild to regenerate API documentation
|
|
|
cfc5e7 |
- Resolves: CVE-2013-1571
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-7
|
|
|
cfc5e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.6.1-6
|
|
|
cfc5e7 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
cfc5e7 |
- Replace maven BuildRequires with maven-local
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
|
|
|
cfc5e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Wed Apr 04 2012 Jaromir Capik <jcapik@redhat.com> - 1.6.1-4
|
|
|
cfc5e7 |
- Removing maven from Requires
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
|
|
|
cfc5e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-2
|
|
|
cfc5e7 |
- Switching to sources from github
|
|
|
cfc5e7 |
|
|
|
cfc5e7 |
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-1
|
|
|
cfc5e7 |
- Initial package
|