Blame SPECS/jaxb-dtd-parser.spec

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