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