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
|
|
|
#
|
2022-03-19 12:07:55 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2018-10-19 19:45:16 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-08-25 04:57:53 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: relaxngDatatype
|
2017-11-30 15:40:30 +01:00
|
|
|
Version: 2011.1
|
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
|
2018-12-18 09:14:41 +01:00
|
|
|
URL: https://sourceforge.net/projects/relaxng
|
2017-11-30 15:40:30 +01:00
|
|
|
Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/archive/relaxngDatatype-%{version}.tar.gz
|
|
|
|
# License is not available in the tarball, this copy fetched from the tarball on the old sourceforge.net site
|
|
|
|
Source1: copying.txt
|
2008-08-25 04:57:53 +02:00
|
|
|
BuildRequires: ant
|
2022-03-19 12:07:55 +01:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2018-10-19 19:45:16 +02:00
|
|
|
BuildRequires: javapackages-local
|
2017-06-09 12:35:17 +02:00
|
|
|
Obsoletes: %{name}-javadoc
|
2014-07-11 16:48:35 +02:00
|
|
|
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
|
2017-11-30 15:40:30 +01:00
|
|
|
%setup -q -n relaxng-datatype-java-relaxngDatatype-%{version}
|
|
|
|
cp -p %{SOURCE1} .
|
2008-08-25 04:57:53 +02:00
|
|
|
|
2019-04-08 13:29:20 +02:00
|
|
|
%pom_remove_parent .
|
|
|
|
|
2008-08-25 04:57:53 +02:00
|
|
|
%build
|
2017-06-09 12:46:38 +02:00
|
|
|
ant \
|
|
|
|
-Dbuild.sysclasspath=only \
|
2022-03-19 12:07:55 +01:00
|
|
|
-Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
|
2008-08-25 04:57:53 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
install -Dpm 644 %{name}.jar \
|
2019-04-08 13:29:20 +02:00
|
|
|
%{buildroot}%{_javadir}/%{name}.jar
|
2008-08-25 04:57:53 +02:00
|
|
|
|
2018-10-19 19:45:16 +02:00
|
|
|
# pom
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
2019-04-08 13:29:20 +02:00
|
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
|
|
|
%add_maven_depmap %{name}.pom %{name}.jar -a relaxngDatatype:relaxngDatatype
|
2018-10-19 19:45:16 +02:00
|
|
|
|
2019-04-08 13:29:20 +02:00
|
|
|
%files -f .mfiles
|
2018-12-18 09:14:41 +01:00
|
|
|
%license copying.txt
|
2008-08-25 04:57:53 +02:00
|
|
|
%{_javadir}/*.jar
|
|
|
|
|
|
|
|
%changelog
|