Initial build
This commit is contained in:
parent
5416f4d077
commit
92aa473ec0
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/relaxngDatatype-2011.1.tar.gz
|
30
copying.txt
Normal file
30
copying.txt
Normal file
@ -0,0 +1,30 @@
|
||||
Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun Microsystems.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
Neither the names of the copyright holders nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
51
relaxng-datatype-java.spec
Normal file
51
relaxng-datatype-java.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: relaxng-datatype-java
|
||||
Version: 2011.1
|
||||
Release: 1%{?dist}
|
||||
Summary: The relaxng datatype library for Java
|
||||
# License file is not present in the source repository, the file was retrieved
|
||||
# from SourceForge where the previous version is hosted
|
||||
# https://sourceforge.net/projects/relaxng/files/datatype%20%28java%29/Ver.1.0/relaxngDatatype-1.0.zip/download
|
||||
License: BSD-3-Clause
|
||||
URL: https://relaxng.org/
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
|
||||
Source0: https://github.com/java-schema-utilities/%{name}/archive/refs/tags/relaxngDatatype-%{version}.tar.gz
|
||||
Source1: copying.txt
|
||||
|
||||
BuildRequires: maven-local
|
||||
|
||||
%description
|
||||
Interface between RELAX NG validators and datatype libraries.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package provides %{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-relaxngDatatype-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%pom_remove_parent
|
||||
|
||||
%pom_xpath_remove 'pom:build/pom:extensions'
|
||||
|
||||
%mvn_alias com.github.relaxng:relaxngDatatype relaxngDatatype:relaxngDatatype
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dmaven.compiler.release=8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license copying.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license copying.txt
|
||||
|
||||
%changelog
|
||||
* Mon Aug 07 2023 Marian Koncek <mkoncek@redhat.com> - 2011.1-1
|
||||
- Initial build
|
Loading…
Reference in New Issue
Block a user