From 95d06533fa119d9e3265a8a32359913706a8179966c8e5e5314760a2f03fc22a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 29 Sep 2024 20:29:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/relaxngDatatype?expand=0&rev=25 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + copying.txt | 30 ++++++++++++++++ relaxngDatatype-2011.1.tar.gz | 3 ++ relaxngDatatype.changes | 59 ++++++++++++++++++++++++++++++++ relaxngDatatype.spec | 64 +++++++++++++++++++++++++++++++++++ 6 files changed, 180 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 copying.txt create mode 100644 relaxngDatatype-2011.1.tar.gz create mode 100644 relaxngDatatype.changes create mode 100644 relaxngDatatype.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/copying.txt b/copying.txt new file mode 100644 index 0000000..2aa8ac1 --- /dev/null +++ b/copying.txt @@ -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. diff --git a/relaxngDatatype-2011.1.tar.gz b/relaxngDatatype-2011.1.tar.gz new file mode 100644 index 0000000..bad039d --- /dev/null +++ b/relaxngDatatype-2011.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bca3509ed30aacbb6bf6cbc5108d1f19fec40c0db7f01e22c38a3213ffc98167 +size 10147 diff --git a/relaxngDatatype.changes b/relaxngDatatype.changes new file mode 100644 index 0000000..fe2770c --- /dev/null +++ b/relaxngDatatype.changes @@ -0,0 +1,59 @@ +------------------------------------------------------------------- +Sat Mar 19 11:07:38 UTC 2022 - Fridrich Strba + +- Build with source/target levels 8 + +------------------------------------------------------------------- +Mon Apr 8 11:27:51 UTC 2019 - Fridrich Strba + +- Do not depend on the parent pom and remove its reference from the + pom.xml files, since we are not building using Maven. +- Install unversioned jar/pom files + +------------------------------------------------------------------- +Tue Dec 18 08:14:00 UTC 2018 - Fridrich Strba + +- Depend on sonatype-oss-parent to satisfy maven dependencies on + build time. + +------------------------------------------------------------------- +Fri Oct 19 17:44:43 UTC 2018 - Fridrich Strba + +- Install the provided pom file in order to generate correctly + the mvn(...) dependencies + +------------------------------------------------------------------- +Thu Nov 30 14:39:03 UTC 2017 - fstrba@suse.com + +- Update to version 2011.1 +- Removed patch: + * no-javadoc.patch + + not needed + +------------------------------------------------------------------- +Sun Sep 10 07:09:02 UTC 2017 - fstrba@suse.com + +- Specify java source and target levels 1.6 in order to allow + building with jdk9 + +------------------------------------------------------------------- +Fri Jun 9 10:36:56 UTC 2017 - tchvatal@suse.com + +- Obsolete javadoc to bootstrap using gcj +- Add patch no-javadoc.patch + +------------------------------------------------------------------- +Fri Jul 11 14:48:26 UTC 2014 - tchvatal@suse.com + +- Do not use versioned javadoc dir. + +------------------------------------------------------------------- +Mon Sep 9 11:06:18 UTC 2013 - tchvatal@suse.com + +- Move from jpackage-utils to javapackage-tools + +------------------------------------------------------------------- +Thu Aug 7 17:46:53 CEST 2008 - mvyskocil@suse.cz + +- First release of version 1.0 in Suse (based on spec from jpackage.org 1.7) + diff --git a/relaxngDatatype.spec b/relaxngDatatype.spec new file mode 100644 index 0000000..33b6b3e --- /dev/null +++ b/relaxngDatatype.spec @@ -0,0 +1,64 @@ +# +# spec file for package relaxngDatatype +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: relaxngDatatype +Version: 2011.1 +Release: 0 +Summary: RELAX NG Datatype API +License: BSD-3-Clause +Group: Development/Languages/Java +URL: https://sourceforge.net/projects/relaxng +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 +BuildRequires: ant +BuildRequires: java-devel >= 1.8 +BuildRequires: javapackages-local >= 6 +Obsoletes: %{name}-javadoc +BuildArch: noarch + +%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 +%setup -q -n relaxng-datatype-java-relaxngDatatype-%{version} +cp -p %{SOURCE1} . + +%pom_remove_parent . + +%build +ant \ + -Dbuild.sysclasspath=only \ + -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 + +%install +install -Dpm 644 %{name}.jar \ + %{buildroot}%{_javadir}/%{name}.jar + +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a relaxngDatatype:relaxngDatatype + +%files -f .mfiles +%license copying.txt +%{_javadir}/*.jar + +%changelog