jsoup/jsoup.spec

95 lines
3.0 KiB
RPMSpec
Raw Normal View History

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