Blame SPECS/jaxb-fi.spec

62caac
Name:           jaxb-fi
62caac
Version:        2.1.0
62caac
Release:        1%{?dist}
62caac
Summary:        Implementation of the Fast Infoset Standard for Binary XML
62caac
# jaxb-fi is licensed ASL 2.0 and EDL-1.0 (BSD)
62caac
# bundled org.apache.xerces.util.XMLChar.java is licensed ASL 1.1
62caac
License:        ASL 2.0 and BSD and ASL 1.1
62caac
URL:            https://github.com/eclipse-ee4j/jaxb-fi
62caac
BuildArch:      noarch
62caac
62caac
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
62caac
62caac
BuildRequires:  maven-local
62caac
BuildRequires:  mvn(junit:junit)
62caac
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
62caac
BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
62caac
BuildRequires:  mvn(org.apache.maven.plugins:maven-dependency-plugin)
62caac
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
62caac
62caac
%description
62caac
Fast Infoset Project, an Open Source implementation of the Fast Infoset
62caac
Standard for Binary XML.
62caac
62caac
The Fast Infoset specification (ITU-T Rec. X.891 | ISO/IEC 24824-1)
62caac
describes an open, standards-based "binary XML" format that is based on
62caac
the XML Information Set.
62caac
62caac
%package tests
62caac
License:        ASL 2.0 and BSD
62caac
Summary:        FastInfoset Roundtrip Tests
62caac
%description tests
62caac
%{summary}.
62caac
62caac
%prep
62caac
%setup -q
62caac
62caac
find -name 'module-info.java' -type f -delete
62caac
62caac
%pom_remove_parent
62caac
62caac
%pom_disable_module samples
62caac
%pom_disable_module utilities
62caac
62caac
%pom_remove_plugin :buildnumber-maven-plugin
62caac
%pom_remove_plugin :glassfish-copyright-maven-plugin
62caac
%pom_remove_plugin :maven-enforcer-plugin
62caac
62caac
%mvn_package :FastInfosetRoundTripTests tests
62caac
62caac
%build
62caac
# Javadoc fails: error: too many module declarations found
62caac
%mvn_build -j
62caac
62caac
%install
62caac
%mvn_install
62caac
62caac
%files -f .mfiles
62caac
%license LICENSE NOTICE.md
62caac
%doc README.md
62caac
62caac
%files tests -f .mfiles-tests
62caac
%license LICENSE NOTICE.md
62caac
62caac
%changelog
62caac
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.0-1
62caac
- Initial build