commit b91598c48e13a191b50fa7849d79a23c1aa855c1 Author: CentOS Sources Date: Tue Mar 28 11:11:17 2023 +0000 import jaxb-dtd-parser-1.5.0-1.module+el8.8.0+18042+89a504d5 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5108146 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaxb-dtd-parser-1.5.0.tar.gz diff --git a/.jaxb-dtd-parser.metadata b/.jaxb-dtd-parser.metadata new file mode 100644 index 0000000..72a938b --- /dev/null +++ b/.jaxb-dtd-parser.metadata @@ -0,0 +1 @@ +dbb6737eb19bf2878a4c40a786b610f75adeec7b SOURCES/jaxb-dtd-parser-1.5.0.tar.gz diff --git a/SPECS/jaxb-dtd-parser.spec b/SPECS/jaxb-dtd-parser.spec new file mode 100644 index 0000000..35312d2 --- /dev/null +++ b/SPECS/jaxb-dtd-parser.spec @@ -0,0 +1,57 @@ +Name: jaxb-dtd-parser +Version: 1.5.0 +Release: 1%{?dist} +Summary: SAX-like API for parsing XML DTDs +License: BSD +URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser +BuildArch: noarch + +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +%description +SAX-like API for parsing XML DTDs. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q + +pushd dtd-parser + +find -name 'module-info.java' -type f -delete + +%pom_remove_parent + +%pom_remove_plugin :buildnumber-maven-plugin +%pom_remove_plugin :glassfish-copyright-maven-plugin +%pom_remove_plugin :maven-enforcer-plugin +popd + +%build +pushd dtd-parser +%mvn_build +popd + +%install +pushd dtd-parser +%mvn_install +popd + +%files -f dtd-parser/.mfiles +%license LICENSE.md NOTICE.md +%doc README.md + +%files javadoc -f dtd-parser/.mfiles-javadoc +%license LICENSE.md NOTICE.md + +%changelog +* Tue Jan 17 2023 Marian Koncek - 1.5.0-1 +- Initial build