SHA256
1
0
forked from pool/jing-trang
Fridrich Strba 2017-12-15 08:31:45 +00:00 committed by Git OBS Bridge
parent 1da40f63a6
commit 976ed9c615
2 changed files with 8 additions and 11 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Fri Dec 1 09:33:20 UTC 2017 - thomas.schraitle@suse.com
- Fix bsc#1069796 to combine jing and trang into a single jing-trang
source package
-------------------------------------------------------------------
Wed Nov 15 13:50:44 UTC 2017 - thomas.schraitle@suse.com

View File

@ -21,8 +21,7 @@ Version: 20151127
Release: 0
Summary: Schema validation and conversion based on RELAX NG
License: BSD-3-Clause
Group: Productivity/Text/Utilities
Url: https://github.com/relaxng/jing-trang
URL: https://github.com/relaxng/jing-trang
Source0: https://github.com/relaxng/jing-trang/archive/V%{version}.tar.gz
Source1: dtdinst.1
#
@ -30,24 +29,23 @@ Patch0: 0001-Various-build-fixes.patch
Patch1: 0002-Use-Xalan-instead-of-Saxon-for-the-build-655601.patch
Patch2: %{name}-20091111-datatype-sample.patch
Patch3: %{name}-%{version}-notestng.patch
BuildRequires: ant >= 1.8.2
#
BuildRequires: bsh
BuildRequires: fdupes
BuildRequires: isorelax
BuildRequires: java-devel >= 1.6
BuildRequires: javacc
BuildRequires: jpackage-utils
BuildRequires: qdox
BuildRequires: qdox unzip
BuildRequires: relaxngDatatype >= 2011.1
BuildRequires: saxon9
BuildRequires: unzip
BuildRequires: xalan-j2
BuildRequires: xerces-j2-xml-apis
BuildRequires: xml-apis >= 2.0
BuildRequires: xml-commons-resolver
#!BuildIgnore: xml-commons-jaxp-1.3-apis
BuildRequires: fdupes
BuildArch: noarch
BuildRequires: ant >= 1.8.2
%description
%{summary}:
@ -55,6 +53,7 @@ BuildArch: noarch
jing: Schema validator
trang: Multi-format schema converter
%package -n jing
Summary: RELAX NG validator in Java
Group: Productivity/Text/Utilities
@ -132,6 +131,7 @@ sed -i -e 's|"\(copying\.txt\)"|"%{_licensedir}/dtdinst/\1"|' \
sed -i -e 's|"\(copying\.txt\)"|"%{_licensedir}/trang/\1"|' \
trang/doc/trang.html trang/doc/trang-manual.html
%build
CLASSPATH=$(build-classpath \
xalan-j2 xalan-j2-serializer xerces-j2 xml-commons-apis saxon9 relaxngDatatype) \
@ -140,6 +140,7 @@ CLASSPATH=$(build-classpath \
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
dist
%install
rm -rf %{buildroot} *-%{version}
@ -171,6 +172,7 @@ install -pm 644 dtdinst-%{version}/dtdinst.jar %{buildroot}%{_javadir}
install -D -m 0644 {dtdinst,jing,trang}.1 %{buildroot}%{_mandir}/man1/
sed -i 's/@VERSION@/%{version}/g' %{buildroot}%{_mandir}/man1/*.1
%fdupes %{buildroot}%{_javadocdir}
%files -n jing