package created using the webbuild interface [release 20220510-1mamba;Mon Dec 09 2024]

This commit is contained in:
Silvan Calarco 2024-12-10 20:09:40 +01:00
parent 01837e1dc4
commit e34563de9a
3 changed files with 48 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# jing # jing
Schema validation and conversion based on RELAX NG.

2
jing.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/java -jar /usr/share/java/jing/jing.jar "$@"

44
jing.spec Normal file
View File

@ -0,0 +1,44 @@
Name: jing
Version: 20220510
Release: 1mamba
Summary: Schema validation and conversion based on RELAX NG
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.thaiopensource.com/relaxng/
Source: https://github.com/relaxng/jing-trang/releases/download/V%{version}/jing-%{version}.zip
Source1: jing.sh
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: java-runtime
%description
Schema validation and conversion based on RELAX NG.
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m644 bin/jing.jar %{buildroot}%{_javadir}/jing/jing.jar
ln -s jing.jar %{buildroot}%{_javadir}/jing/jing-%{version}.jar
install -D -m755 %{SOURCE1} %{buildroot}%{_bindir}/jing
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/jing
%{_javadir}/jing/jing-%{version}.jar
%{_javadir}/jing/jing.jar
%changelog
* Mon Dec 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 20220510-1mamba
- package created using the webbuild interface