Blame SPECS/jsoup.spec

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