initial import (#1868017)

This commit is contained in:
Fabio Valentini 2020-08-18 23:06:46 +02:00
parent ba0eaf66d5
commit 3e0027e85a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
4 changed files with 82 additions and 3 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/results_*
/+.src.rpm
/jaxb-fi-1.2.18.tar.gz

View File

@ -1,3 +0,0 @@
# jaxb-fi
The jaxb-fi package

77
jaxb-fi.spec Normal file
View File

@ -0,0 +1,77 @@
Name: jaxb-fi
Version: 1.2.18
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
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(com.sun.xml.stream.buffer:streambuffer)
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.glassfish.jaxb:xsom)
# package renamed in fedora 33, remove in fedora 35
Provides: glassfish-fastinfoset = %{version}-%{release}
Obsoletes: glassfish-fastinfoset < 1.2.15-5
# javadoc subpackage is currently not built
Obsoletes: glassfish-fastinfoset-javadoc < 1.2.15-5
%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.
%prep
%setup -q
pushd code
# remove unnecessary dependency on parent POM
# org.eclipse.ee4j:project is not packaged and not required
%pom_remove_parent
# disable unnecessary submodules
%pom_disable_module roundtrip-tests
%pom_disable_module samples
# disable unnecessary plugins
%pom_remove_plugin :buildnumber-maven-plugin
%pom_remove_plugin :glassfish-copyright-maven-plugin
popd
%build
pushd code
# skip javadoc build due to https://github.com/fedora-java/xmvn/issues/58
%mvn_build -j -- -DbuildNumber=unknown
popd
%install
pushd code
%mvn_install
popd
%files -f code/.mfiles
%license LICENSE NOTICE.md
%doc README.md
%changelog
* Tue Aug 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.18-1
- Initial package renamed from glassfish-fastinfoset.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (jaxb-fi-1.2.18.tar.gz) = 2db5c363b7e4166b24e79e4b1b6e9b5b9016dfa62552b3807d9323baa3f6c459a04591c064f7acb4206756ae9f0653a27e926fa887462cd6902b9f989b17656a