Blame SPECS/jsoup.spec

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