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