Blame SPECS/jsoup.spec

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