Blame SPECS/jaxb-fi.spec

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