From 533c513a8a30d8f014c878f34f1d721362c13c11 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Wed, 19 Apr 2023 15:14:10 +0000 Subject: [PATCH] Import rpm: c8s --- .gitignore | 2 ++ .jaxb-fi.metadata | 1 + jaxb-fi.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 .jaxb-fi.metadata create mode 100644 jaxb-fi.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48faa29 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/jaxb-fi-2.1.0.tar.gz +/jaxb-fi-2.1.0.tar.gz diff --git a/.jaxb-fi.metadata b/.jaxb-fi.metadata new file mode 100644 index 0000000..141e841 --- /dev/null +++ b/.jaxb-fi.metadata @@ -0,0 +1 @@ +4c23ccc1ef727c00a26036a69c0871ba2d2db9e8 jaxb-fi-2.1.0.tar.gz diff --git a/jaxb-fi.spec b/jaxb-fi.spec new file mode 100644 index 0000000..b8baa9d --- /dev/null +++ b/jaxb-fi.spec @@ -0,0 +1,66 @@ +Name: jaxb-fi +Version: 2.1.0 +Release: 1%{?dist} +Summary: Implementation of the Fast Infoset Standard for Binary XML +# jaxb-fi is licensed ASL 2.0 and EDL-1.0 (BSD) +# bundled org.apache.xerces.util.XMLChar.java is licensed ASL 1.1 +License: ASL 2.0 and BSD and ASL 1.1 +URL: https://github.com/eclipse-ee4j/jaxb-fi +BuildArch: noarch + +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +%description +Fast Infoset Project, an Open Source implementation of the Fast Infoset +Standard for Binary XML. + +The Fast Infoset specification (ITU-T Rec. X.891 | ISO/IEC 24824-1) +describes an open, standards-based "binary XML" format that is based on +the XML Information Set. + +%package tests +License: ASL 2.0 and BSD +Summary: FastInfoset Roundtrip Tests +%description tests +%{summary}. + +%prep +%setup -q + +find -name 'module-info.java' -type f -delete + +%pom_remove_parent + +%pom_disable_module samples +%pom_disable_module utilities + +%pom_remove_plugin :buildnumber-maven-plugin +%pom_remove_plugin :glassfish-copyright-maven-plugin +%pom_remove_plugin :maven-enforcer-plugin + +%mvn_package :FastInfosetRoundTripTests tests + +%build +# Javadoc fails: error: too many module declarations found +%mvn_build -j + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE NOTICE.md +%doc README.md + +%files tests -f .mfiles-tests +%license LICENSE NOTICE.md + +%changelog +* Tue Jan 17 2023 Marian Koncek - 2.1.0-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..a10177b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jaxb-fi-2.1.0.tar.gz) = 807926fe90f97a72e5d6f8abcbad8639b424d7938ab2afc7dc8107070db216167aada859acd041ba17566a33e277330d9ee51bdc10d16aa19a6ea07d4ae858aa