jsoup/jsoup.spec

50 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:56:20 +08:00
Name: jsoup
Version: 1.14.2
2024-03-04 17:13:05 +08:00
Release: 2
2019-12-14 18:56:20 +08:00
Summary: Java HTML Parser
License: MIT
URL: http://jsoup.org/
Source0: https://github.com/jhy/jsoup/archive/refs/tags/jsoup-%{version}.tar.gz
2024-03-04 17:13:05 +08:00
# https://github.com/jhy/jsoup/commit/4ea768d96b3d232e63edef9594766d44597b3882
Patch0: CVE-2022-36033.patch
2019-12-14 18:56:20 +08:00
BuildArch: noarch
BuildRequires: maven-local, mvn(org.apache.felix:maven-bundle-plugin)
2021-08-30 20:38:05 +08:00
Provides: %{name}-javadoc%{?_isa} %{name}-javadoc
2019-12-14 18:56:20 +08:00
Obsoletes: %{name}-javadoc
%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.
%prep
%autosetup -n %{name}-%{name}-%{version} -p1
%pom_remove_plugin :animal-sniffer-maven-plugin
2021-08-30 20:38:05 +08:00
%pom_remove_plugin :japicmp-maven-plugin
%pom_remove_plugin :maven-failsafe-plugin
2019-12-14 18:56:20 +08:00
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE
%{_javadocdir}/%{name}/*
%changelog
2024-03-04 17:13:05 +08:00
* Mon Mar 04 2024 yaoxin <yao_xin001@hoperun.com> - 1.14.2-2
- Fix CVE-2022-36033
2021-08-30 20:38:05 +08:00
* Fri Sep 3 2021 houyingchao <houyingchao@huawei.com> - 1.14.2-1
- Upgrade to 1.14.2
2020-03-04 10:21:21 +08:00
* Wed Mar 4 2020 chenli <chenli147@huawei.com> - 1.11.3-5
- Modify Spec.
2019-12-14 18:56:20 +08:00
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11.3-4
- Package init