Blame SPECS/jaxb-fi.spec

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