Blame SPECS/jaxb-dtd-parser.spec

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