Accepting request 1172042 from home:urbic:java

Submitting a new package

OBS-URL: https://build.opensuse.org/request/show/1172042
OBS-URL: https://build.opensuse.org/package/show/Java:packages/htmlunit-cssparser?expand=0&rev=1
This commit is contained in:
2024-05-06 07:24:27 +00:00
committed by Git OBS Bridge
commit bc0c7eee91
5 changed files with 104 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Apr 3 00:47:24 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Initial packaging with v3.0.0
+73
View File
@@ -0,0 +1,73 @@
#
# spec file for package htmlunit-cssparser
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: htmlunit-cssparser
Version: 3.0.0
Release: 0
Summary: CSS parser used by HtmlUnit
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://www.htmlunit.org/
Source0: https://github.com/HtmlUnit/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
BuildArch: noarch
%description
For a long time HtmlUnit uses the CSSParser
(http://cssparser.sourceforge.net/). But as HtmlUnit has to support more and
more css related features a solution was required that offer more flexibility
regarding the resulting object model. This implementation starts based on
CSSParser 0.9.25; we removed the sac dependency and did some cleanup.
We will try to stay in sync with CSSParser regarding the features in the
future.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%setup -q
%pom_remove_plugin org.owasp:dependency-check-maven
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%{mvn_file} : htmlunit/%{name}
%build
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
+23
View File
@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+1
View File
@@ -0,0 +1 @@
.osc
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20c8147dc58dea8ee4564df5eda6d9c87bbe1813ab969985f6804a1ebfc84125
size 403550