From 673828a0b50864b8b37913b991497aede87a62e0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2014 09:37:36 +0000 Subject: import devtoolset-3-jsoup-1.7.2-1.el7 --- diff --git a/.devtoolset-3-jsoup.metadata b/.devtoolset-3-jsoup.metadata new file mode 100644 index 0000000..0a95dd1 --- /dev/null +++ b/.devtoolset-3-jsoup.metadata @@ -0,0 +1 @@ +5fe4a1ae67af0113ee3def3dd1b098748a04e53e SOURCES/jsoup-jsoup-1.7.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bae59c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jsoup-jsoup-1.7.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/jsoup.spec b/SPECS/jsoup.spec new file mode 100644 index 0000000..6c543fb --- /dev/null +++ b/SPECS/jsoup.spec @@ -0,0 +1,94 @@ +%{?scl:%scl_package jsoup} +%{!?scl:%global pkg_name %{name}} +%{!?maven_scl:%global maven_scl_prefix %{nil}} + +Name: %{?scl_prefix}jsoup +Version: 1.7.2 +Release: 1%{?dist} +Summary: Java library for working with real-world HTML + +Group: Development/Libraries +License: MIT +URL: http://%{pkg_name}.org/ +BuildArch: noarch + +# https://github.com/jhy/jsoup/archive/jsoup-1.7.2.tar.gz +Source0: %{pkg_name}-%{pkg_name}-%{version}.tar.gz + +BuildRequires: %{maven_scl_prefix}maven-local +BuildRequires: junit +BuildRequires: %{maven_scl_prefix}maven-plugin-bundle +BuildRequires: %{maven_scl_prefix}maven-source-plugin +%{?scl:Requires: %scl_runtime} + +%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 +%setup -q -n %{pkg_name}-%{pkg_name}-%{version} + +%build +scl enable %{scl} - <<"EOF" +%mvn_build +EOF + +%install +scl enable %{scl} - <<"EOF" +%mvn_install +EOF + +%files -f .mfiles +%doc LICENSE README CHANGES + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Mon May 26 2014 Sami Wagiaalla 1.7.2-1 +- Build for DTS 3 +- import new sources from rawhide. + +* Thu Apr 4 2013 Krzysztof Daniel 1.6.1-7 +- Drop javadoc subpackage. +- Drop runtime dependency to java 7. + +* Tue Feb 19 2013 Krzysztof Daniel 1.6.1-6 +- Initial contribution to SCL. + +* Thu Jul 19 2012 Fedora Release Engineering - 1.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Apr 04 2012 Jaromir Capik - 1.6.1-4 +- Removing maven from Requires + +* Fri Jan 13 2012 Fedora Release Engineering - 1.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jul 22 2011 Jaromir Capik - 1.6.1-2 +- Switching to sources from github + +* Fri Jul 22 2011 Jaromir Capik - 1.6.1-1 +- Initial package