Accepting request 1123324 from home:urbic:java
Submitting a new package OBS-URL: https://build.opensuse.org/request/show/1123324 OBS-URL: https://build.opensuse.org/package/show/Java:packages/openhtmltopdf?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 6 11:10:10 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Initial packaging with v1.0.10
|
||||
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# spec file for package openhtmltopdf
|
||||
#
|
||||
# Copyright (c) 2023 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: openhtmltopdf
|
||||
Version: 1.0.10
|
||||
Release: 0
|
||||
Summary: An HTML to PDF library for the JVM
|
||||
License: LGPL-2.1-only OR LGPL-3.0-only
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://danfickle.github.io/pdf-templates/index.html
|
||||
Source0: https://github.com/danfickle/%{name}/archive/refs/tags/%{name}-parent-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(com.google.zxing:javase)
|
||||
BuildRequires: mvn(com.ibm.icu:icu4j)
|
||||
BuildRequires: mvn(de.rototor.pdfbox:graphics2d)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.xmlgraphics:batik-i18n)
|
||||
BuildRequires: mvn(org.jfree:jfreechart)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Open HTML to PDF is a pure-Java library for rendering a reasonable subset of
|
||||
well-formed XML/XHTML (and even some HTML5) using CSS 2.1 (and later standards)
|
||||
for layout and formatting, outputting to PDF or images.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-parent-%{version}
|
||||
|
||||
%pom_disable_module %{name}-mathml-support
|
||||
%pom_disable_module %{name}-latex-support
|
||||
%pom_disable_module %{name}-examples
|
||||
%pom_disable_module %{name}-pdfa-testing
|
||||
%pom_disable_module %{name}-templates
|
||||
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
|
||||
%pom_add_dep org.apache.xmlgraphics:batik-i18n %{name}-svg-support
|
||||
|
||||
%build
|
||||
%{mvn_build} -f -- \
|
||||
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE*
|
||||
%doc {CHANGELOG,README}.md
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE*
|
||||
|
||||
%changelog
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
.osc
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dda506bc4f4d242aee97c10da1a80d8046ca4685ef4415a255680921584cf852
|
||||
size 16750855
|
||||
Reference in New Issue
Block a user