Blame SPECS/jsoup.spec

673828
%{?scl:%scl_package jsoup}
673828
%{!?scl:%global pkg_name %{name}}
f16a1f
%{?java_common_find_provides_and_requires}
673828
673828
Name:           %{?scl_prefix}jsoup
673828
Version:        1.7.2
f16a1f
Release:        2%{?dist}
673828
Summary:        Java library for working with real-world HTML
673828
673828
Group:          Development/Libraries
673828
License:        MIT
673828
URL:            http://%{pkg_name}.org/
673828
BuildArch:      noarch
673828
673828
# https://github.com/jhy/jsoup/archive/jsoup-1.7.2.tar.gz
673828
Source0:        %{pkg_name}-%{pkg_name}-%{version}.tar.gz
673828
f16a1f
BuildRequires:  %{?scl_prefix_java_common}maven-local
f16a1f
BuildRequires:  %{?scl_prefix_java_common}junit
f16a1f
BuildRequires:  %{?scl_prefix_maven}maven-plugin-bundle
f16a1f
BuildRequires:  %{?scl_prefix_maven}maven-source-plugin
673828
%{?scl:Requires: %scl_runtime}
673828
673828
%description
673828
jsoup is a Java library for working with real-world HTML.
673828
It provides a very convenient API for extracting and manipulating data,
673828
using the best of DOM, CSS, and jquery-like methods.
673828
673828
jsoup implements the WHATWG HTML5 specification,
673828
and parses HTML to the same DOM as modern browsers do.
673828
673828
 - scrape and parse HTML from a URL, file, or string
673828
 - find and extract data, using DOM traversal or CSS selectors
673828
 - manipulate the HTML elements, attributes, and text
673828
 - clean user-submitted content against a safe white-list,
673828
   to prevent XSS attacks
673828
 - output tidy HTML
673828
673828
jsoup is designed to deal with all varieties of HTML found in the wild;
673828
from pristine and validating, to invalid tag-soup;
673828
jsoup will create a sensible parse tree.
673828
673828
673828
%package javadoc
673828
Summary:        Javadoc for %{name}
673828
673828
%description javadoc
673828
API documentation for %{name}.
673828
673828
%prep
673828
%setup -q -n %{pkg_name}-%{pkg_name}-%{version}
673828
673828
%build
f16a1f
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
673828
%mvn_build
f16a1f
%{?scl:EOF}
673828
673828
%install
f16a1f
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
673828
%mvn_install
f16a1f
%{?scl:EOF}
673828
673828
%files -f .mfiles
673828
%doc LICENSE README CHANGES
673828
673828
%files javadoc -f .mfiles-javadoc
673828
%doc LICENSE
673828
673828
%changelog
f16a1f
* Mon May 11 2015 Mat Booth <mat.booth@redhat.com> - 1.7.2-2
f16a1f
- Resolves: rhbz#1219013 - Fails to build from source
f16a1f
673828
* Mon May 26 2014 Sami Wagiaalla <swagiaal@redhat.com> 1.7.2-1
673828
- Build for DTS 3
673828
- import new sources from rawhide.
673828
673828
* Thu Apr 4 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.6.1-7
673828
- Drop javadoc subpackage.
673828
- Drop runtime dependency to java 7.
673828
673828
* Tue Feb 19 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.6.1-6
673828
- Initial contribution to SCL.
673828
673828
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
673828
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
673828
673828
* Wed Apr 04 2012 Jaromir Capik <jcapik@redhat.com> - 1.6.1-4
673828
- Removing maven from Requires
673828
673828
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
673828
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
673828
673828
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-2
673828
- Switching to sources from github
673828
673828
* Fri Jul 22 2011 Jaromir Capik <jcapik@redhat.com> - 1.6.1-1
673828
- Initial package