diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d6eef1a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jsoup-1.6.1.tar.xz diff --git a/.rh-java-common-jsoup.metadata b/.rh-java-common-jsoup.metadata new file mode 100644 index 0000000..501bc73 --- /dev/null +++ b/.rh-java-common-jsoup.metadata @@ -0,0 +1 @@ +e3d86009d4bd54c0f5a609c1ac483af9194708bc SOURCES/jsoup-1.6.1.tar.xz 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..e818bc4 --- /dev/null +++ b/SPECS/jsoup.spec @@ -0,0 +1,137 @@ +%global pkg_name jsoup +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.6.1 +Release: 10.10%{?dist} +Summary: Java library for working with real-world HTML + +License: MIT + +URL: http://%{pkg_name}.org/ + +# git clone git://github.com/jhy/jsoup +# git archive --prefix="jsoup-1.6.1/" --format=tar jsoup-1.6.1 | xz > jsoup-1.6.1.tar.xz +Source0: %{pkg_name}-%{version}.tar.xz + +BuildArch: noarch + +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix_maven}maven-source-plugin +BuildRequires: %{?scl_prefix_maven}maven-plugin-plugin + + +%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 %{pkg_name} + +%description javadoc +API documentation for %{pkg_name}. + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +%mvn_file : %{pkg_name} +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +%mvn_build +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +%mvn_install +%{?scl:EOF} + +%files -f .mfiles +%doc LICENSE README CHANGES + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Tue Jan 13 2015 Michael Simacek - 1.6.1-10.10 +- Mass rebuild 2015-01-13 + +* Fri Jan 09 2015 Michal Srb - 1.6.1-10.9 +- Mass rebuild 2015-01-09 + +* Tue Dec 16 2014 Mikolaj Izdebski - 1.6.1-10.8 +- Migrate requires and build-requires to rh-java-common + +* Mon Dec 15 2014 Mikolaj Izdebski - 1.6.1-10.7 +- Mass rebuild 2014-12-15 + +* Mon Dec 15 2014 Mikolaj Izdebski - 1.6.1-10.6 +- Rebuild for rh-java-common collection + +* Mon May 26 2014 Mikolaj Izdebski - 1.6.1-10.5 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.6.1-10.4 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.6.1-10.3 +- Mass rebuild 2014-02-18 + +* Thu Feb 13 2014 Mikolaj Izdebski - 1.6.1-10.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1.6.1-10.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1.6.1-10 +- Mass rebuild 2013-12-27 + +* Fri Aug 16 2013 Stanislav Ochotnicky - 1.6.1-9 +- Migrate away from mvn-rpmbuild (#997437) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.6.1-8 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.6.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 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 - 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