File jing.spec of Package jing

#
# spec file for package jing (Version 20030619)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           jing
BuildRequires:  unzip
Summary:        Validator for RELAX NG in Java
Version:        20030619
Release:        95
Url:            http://www.thaiopensource.com/relaxng/jing.html
Source:         %{name}-%{version}.zip
Source1:        jing
License:        BSD 3-Clause
Group:          Productivity/Publishing/XML
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       jre
BuildArch:      noarch

%description
jing is an XML validator implemented in Java. It validates against the
RELAX NG schema language and implements the following features:

* RELAX NG 1.0 Specification

* RELAX NG Compact Syntax

* Parts of RELAX NG DTD Compatibility (checking of ID/IDREF/IDREFS)

It also comes with experimental support for schema languages other than
RELAX NG:

* W3C XML Schema (based on Xerces-J)

* Schematron

* Name Space Routing Language



Authors:
--------
    James Clark <jjc@jclark.com>

%prep
%setup -q

%build

%install
install -D -m 644 bin/jing.jar $RPM_BUILD_ROOT%{_javadir}/jing.jar
install -d $RPM_BUILD_ROOT%{_datadir}/jing
cp lib/* $RPM_BUILD_ROOT%{_datadir}/jing
install -D -m 755 %{S:1} $RPM_BUILD_ROOT%{_bindir}/jing

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc readme.html doc sample
%{_bindir}/jing
%{_javadir}/*
%dir %{_datadir}/jing
%{_datadir}/jing/*

%changelog
* Tue Feb 19 2008 prusnak@suse.cz
- fixed build
* Thu Mar 29 2007 rguenther@suse.de
- add unzip BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jun 06 2005 ke@suse.de
- Add wrapper script; proposed by Martin Vidner.
* Fri Jun 03 2005 ke@suse.de
- New package: jing version 20030619.
openSUSE Build Service is sponsored by