Blame SPECS/jaxb-dtd-parser.spec

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