Blame SPECS/jaxb-dtd-parser.spec

f91183
Name:           jaxb-dtd-parser
f91183
Version:        1.5.0
f91183
Release:        1%{?dist}
f91183
Summary:        SAX-like API for parsing XML DTDs
f91183
License:        BSD
f91183
URL:            https://github.com/eclipse-ee4j/jaxb-dtd-parser
f91183
BuildArch:      noarch
f91183
f91183
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
f91183
f91183
BuildRequires:  maven-local
f91183
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
f91183
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
f91183
f91183
%description
f91183
SAX-like API for parsing XML DTDs.
f91183
f91183
%package javadoc
f91183
Summary:        API documentation for %{name}
f91183
f91183
%description javadoc
f91183
API documentation for %{name}.
f91183
f91183
%prep
f91183
%setup -q
f91183
f91183
pushd dtd-parser
f91183
f91183
find -name 'module-info.java' -type f -delete
f91183
f91183
%pom_remove_parent
f91183
f91183
%pom_remove_plugin :buildnumber-maven-plugin
f91183
%pom_remove_plugin :glassfish-copyright-maven-plugin
f91183
%pom_remove_plugin :maven-enforcer-plugin
f91183
popd
f91183
f91183
%build
f91183
pushd dtd-parser
f91183
%mvn_build
f91183
popd
f91183
f91183
%install
f91183
pushd dtd-parser
f91183
%mvn_install
f91183
popd
f91183
f91183
%files -f dtd-parser/.mfiles
f91183
%license LICENSE.md NOTICE.md
f91183
%doc README.md
f91183
f91183
%files javadoc -f dtd-parser/.mfiles-javadoc
f91183
%license LICENSE.md NOTICE.md
f91183
f91183
%changelog
f91183
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 1.5.0-1
f91183
- Initial build