2008-08-25 04:57:53 +02:00
|
|
|
#
|
2013-09-11 13:38:04 +02:00
|
|
|
# spec file for package relaxngDatatype
|
2008-08-25 04:57:53 +02:00
|
|
|
#
|
2017-06-09 12:35:17 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-08-25 04:57:53 +02:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: relaxngDatatype
|
|
|
|
Version: 1.0
|
2013-09-11 13:38:04 +02:00
|
|
|
Release: 0
|
2008-08-25 04:57:53 +02:00
|
|
|
Summary: RELAX NG Datatype API
|
2011-12-06 18:59:50 +01:00
|
|
|
License: BSD-3-Clause
|
2013-09-11 13:38:04 +02:00
|
|
|
Group: Development/Languages/Java
|
2008-08-25 04:57:53 +02:00
|
|
|
Url: https://sourceforge.net/projects/relaxng
|
|
|
|
Source0: relaxngDatatype-1.0.tar.bz2
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: java-devel
|
2013-09-11 13:38:04 +02:00
|
|
|
BuildRequires: javapackages-tools
|
2017-06-09 12:35:17 +02:00
|
|
|
Obsoletes: %{name}-javadoc
|
2014-07-11 16:48:35 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2008-08-25 04:57:53 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
RELAX NG is a public space for test cases and other ancillary software
|
|
|
|
related to the construction of the RELAX NG language and its
|
|
|
|
implementations.
|
|
|
|
|
|
|
|
%prep
|
2014-07-11 16:48:35 +02:00
|
|
|
%setup -q
|
2008-08-25 04:57:53 +02:00
|
|
|
# wrong end of line necoding
|
|
|
|
sed -i -e 's/.$//' copying.txt
|
|
|
|
|
|
|
|
%build
|
|
|
|
ant -Dbuild.sysclasspath=only -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.5
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -Dpm 644 %{name}.jar \
|
2014-07-11 16:48:35 +02:00
|
|
|
%{buildroot}%{_javadir}/%{name}-%{version}.jar
|
|
|
|
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
2008-08-25 04:57:53 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc copying.txt
|
|
|
|
%{_javadir}/*.jar
|
|
|
|
|
|
|
|
%changelog
|