Group :: Development/Java
RPM: jaxb-fi
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-11
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: jaxb-fi
Version: 1.2.18
Release: alt1_7jpp11
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: https://github.com/eclipse-ee4j/jaxb-fi/archive/%{version}/%{name}-%{version}.tar.gz
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
Source44: import.info
%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 -n FastInfoset
Group: Development/Java
Summary: FastInfoset
%description -n FastInfoset
%{summary}.
%package -n FastInfosetRoundTripTests
Group: Development/Java
Summary: FastInfoset Roundtrip Tests
%description -n FastInfosetRoundTripTests
%{summary}.
%package -n FastInfosetSamples
Group: Development/Java
Summary: FastInfoset Samples
%description -n FastInfosetSamples
%{summary}.
%package -n FastInfosetUtilities
Group: Development/Java
Summary: FastInfoset Utilities
%description -n FastInfosetUtilities
%{summary}.
%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 plugins
%pom_remove_plugin :buildnumber-maven-plugin
%pom_remove_plugin :glassfish-copyright-maven-plugin
# disable parent
%mvn_package :fastinfoset-project __noinstall
popd
%build
pushd code
%mvn_build -s -f -j -- -DbuildNumber=unknown
popd
%install
pushd code
%mvn_install
popd
%files -n FastInfoset -f code/.mfiles-FastInfoset
%doc --no-dereference LICENSE NOTICE.md
%doc README.md
%files -n FastInfosetRoundTripTests -f code/.mfiles-FastInfosetRoundTripTests
%doc --no-dereference LICENSE NOTICE.md
%files -n FastInfosetSamples -f code/.mfiles-FastInfosetSamples
%doc --no-dereference LICENSE NOTICE.md
%files -n FastInfosetUtilities -f code/.mfiles-FastInfosetUtilities
%doc --no-dereference LICENSE NOTICE.md
%changelog
…
Full changelog you can see here
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-11
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: jaxb-fi
Version: 1.2.18
Release: alt1_7jpp11
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: https://github.com/eclipse-ee4j/jaxb-fi/archive/%{version}/%{name}-%{version}.tar.gz
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
Source44: import.info
%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 -n FastInfoset
Group: Development/Java
Summary: FastInfoset
%description -n FastInfoset
%{summary}.
%package -n FastInfosetRoundTripTests
Group: Development/Java
Summary: FastInfoset Roundtrip Tests
%description -n FastInfosetRoundTripTests
%{summary}.
%package -n FastInfosetSamples
Group: Development/Java
Summary: FastInfoset Samples
%description -n FastInfosetSamples
%{summary}.
%package -n FastInfosetUtilities
Group: Development/Java
Summary: FastInfoset Utilities
%description -n FastInfosetUtilities
%{summary}.
%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 plugins
%pom_remove_plugin :buildnumber-maven-plugin
%pom_remove_plugin :glassfish-copyright-maven-plugin
# disable parent
%mvn_package :fastinfoset-project __noinstall
popd
%build
pushd code
%mvn_build -s -f -j -- -DbuildNumber=unknown
popd
%install
pushd code
%mvn_install
popd
%files -n FastInfoset -f code/.mfiles-FastInfoset
%doc --no-dereference LICENSE NOTICE.md
%doc README.md
%files -n FastInfosetRoundTripTests -f code/.mfiles-FastInfosetRoundTripTests
%doc --no-dereference LICENSE NOTICE.md
%files -n FastInfosetSamples -f code/.mfiles-FastInfosetSamples
%doc --no-dereference LICENSE NOTICE.md
%files -n FastInfosetUtilities -f code/.mfiles-FastInfosetUtilities
%doc --no-dereference LICENSE NOTICE.md
%changelog
…
Full changelog you can see here