Blame SPECS/jaxb-dtd-parser.spec

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